[Wiki] Escritura de fórmulas
- Consulta de la sintaxis: Mathpublish plugin syntax
Anotaciones
Tamaño de las fórmulas
- Tamaño letra. Podemos hacer que la fórmula se escriba más o menos grande escogiendo el tamaño de su letra. Para ello se añade un número tras la
mtal como se indica. Cuanto mayor sea el número mayor será el tamaño de la letra.<m 15>...</m>
- Longitud. Puede ocurrir que la fórmula sea demasiado larga. En ese caso, y en el momento de escribir estas lineas, la solución sería trocearla en tramos más pequeños poniendo como siempre en cada tramo:
<m>...</m> <m>...</m> <m>...</m>
Si no la troceamos se saldrá fuera del campo de visión del navegador.
Alineado de las fórmulas
- A la izquierda. Se escriben así por defecto, sin usar espacio antes ni después de la fórmula.
<m>F=...</m>
- A la derecha. Añadir un espacio a la izquierda de la fórmula la alinea a la derecha.
<m> F=...</m>
- Centrada. Añadir un espacio a cada lado de la fórmula: Uno al principio y otro al final.
<m> F=... </m>
Espacios entre caracteres
Cuando escribimos variables negadas individualmente pero contiguas en la fórmula no se aprecia una separación entre ellas y semeja una negación conjunta, lo que confunde. Para evitar este efecto podemos insertar un espacio visible entre las dos variables con el símbolo ~. Dicho símbolo podemos introducirlo en la fórmula de varias maneras:
- Usando su código ASCII: Alt+126, tecleando los números desde el teclado numérico, situado a la derecha del teclado.
- Usando la combinación de teclas AltGr+4. Esta combinación ya la especifican algunos teclados en la serigrafía de las teclas, sin embargo hay modelos que no.
En las fórmulas puede ser necesario añadir espacios con [AltGr + 4] y luego espacio para que aparezca la ~. Esto es así porque al multiplicar →
Resumen comandos
To toggle to the math mode, you must use the <m>...</m> tag. The math commands must be separated by a space character or surrounded by {}.
<m>x in bbR \ { 1; 2 }</m>
Typical commands
x+y : <m>x+y</m>
x-y : <m>x-y</m>
x*y : <m>x*y</m>
x/y : <m>x/y</m>
x^y : <m>x^y</m>
x_y : <m>x_y</m>
x<>y : <m>x<>y</m>
x>y : <m>x>y</m>
x>=y : <m>x>=y</m>
x<y : <m>x<y</m>
x⇐y : <m>x⇐y</m>
(x) : <m>(x)</m>
{x} : <m>{x}</m>
Space
a~b : <m>a~b</m>
Greek:
alpha : <m>alpha</m>
beta : <m>beta</m>
gamma : <m>gamma</m>
delta : <m>delta</m>
epsilon : <m>epsilon</m>
varepsilon : <m>varepsilon</m>
zeta : <m>zeta</m>
eta : <m>eta</m>
theta : <m>theta</m>
vartheta : <m>vartheta</m>
iota : <m>iota</m>
kappa : <m>kappa</m>
lambda : <m>lambda</m>
mu : <m>mu</m>
nu : <m>nu</m>
xi : <m>xi</m>
pi : <m>pi</m>
varpi : <m>varpi</m>
rho : <m>rho</m>
varrho : <m>varrho</m>
sigma : <m>sigma</m>
varsigma : <m>varsigma</m>
tau : <m>tau</m>
upsilon : <m>upsilon</m>
phi : <m>phi</m>
varphi : <m>varphi</m>
chi : <m>chi</m>
psi : <m>psi</m>
omega : <m>omega</m>
Gamma : <m>Gamma</m>
Lambda : <m>Lambda</m>
Sigma : <m>Sigma</m>
Psi : <m>Psi</m>
Delta : <m>Delta</m>
Xi : <m>Xi</m>
Upsilon : <m>Upsilon</m>
Omega : <m>Omega</m>
Theta : <m>Theta</m>
Pi : <m>Pi</m>
Phi : <m>Phi</m>
Symbols:
infty : <m>infty</m>
in : <m>in</m>
notin : <m>notin</m>
forall : <m>forall</m>
exists : <m>exists</m>
notexists : <m>notexists</m>
partial : <m>partial</m>
approx : <m>approx</m>
pm : <m>pm</m>
inter : <m>inter</m>
union : <m>union</m>
ortho : <m>ortho</m>
parallel : <m>parallel</m>
backslash : <m>backslash</m>
prime : <m>prime</m>
wedge : <m>wedge</m>
vert : <m>vert</m>
lbrace : <m>{</m>
rbrace : <m>}</m>
circ : <m>circ</m>
varnothing : <m>varnothing</m>
subset : <m>subset</m>
notsubset : <m>notsubset</m>
cdots : <m>cdots</m>
vdots : <m>vdots</m>
ddots : <m>ddots</m>
Arrows:
left : <m>left</m>
right : <m>right</m>
leftright : <m>leftright</m>
doubleleft : <m>doubleleft</m>
doubleright : <m>doubleright</m>
doubleleftright : <m>doubleleftright</m>
nearrow : <m>nearrow</m>
searrow : <m>searrow</m>
Sets:
bbR : <m>bbR</m>
bbN : <m>bbN</m>
bbZ : <m>bbZ</m>
bbC : <m>bbC</m>
Roots and Limits:
sqrt{a} : <m>sqrt{a}</m>
root{n}{a} : <m>root{n}{a}</m>
lim{a}{x} : <m>lim{a}{x}</m>
Big Operators:
int{a}{b}{x} : <m>int{a}{b}{x}</m>
doubleint{a}{b}{x} : <m>doubleint{a}{b}{x}</m>
tripleint{a}{b}{x} : <m>tripleint{a}{b}{x}</m>
oint{a}{b}{x} : <m>oint{a}{b}{x}</m>
sum{a}{b}{x} : <m>sum{a}{b}{x}</m>
prod{a}{b}{x} : <m>prod{a}{b}{x}</m>
bigcup{a}{b}{x} : <m>bigcup{a}{b}{x}</m>
bigcap{a}{b}{x} : <m>bigcap{a}{b}{x}</m>
Delimiters:
delim{[}{x}{]} : <m>delim{[}{x}{]}</m>
delim{]}{x}{]} : <m>delim{]}{x}{]}</m>
delim{[}{x}{[} : <m>delim{[}{x}{[}</m>
delim{]}{x}{[} : <m>delim{]}{x}{[}</m>
delim{lbrace}{x}{rbrace} : <m>delim{lbrace}{x}{rbrace}</m>
delim{|}{x}{|} : <m>delim{|}{x}{|}</m>
delim{vert}{x}{vert} : <m>delim{vert}{x}{vert}</m>
Matrix:
Syntax : matrix{num of lines}{num of columns}{first_element … last_element}
matrix{2}{3}{a b c d e f g} : <m>matrix{2}{3}{a b c d e f g}</m>
Tabular:
Syntax : tabular{lines description}{columns description}{first_element … last_element}
lines : sequence of 1 (draw the horizontal line) or 0 (don't draw the horizontal line) - the length of the sequence=num of lines+1
columns : sequence of 1 (draw the vertical line) or 0 (don't draw the vertical line) - the length of the sequence=num of columns+1
tabular{111}{1111}{a b c d e f g} : <m>tabular{111}{1111}{a b c d e f g}</m>
tabular{1001}{101}{1 2 3 4 5 6} : <m>tabular{1001}{101}{1 2 3 4 5 6}</m>
Constructions:
vec{express} : <m>vec{express}</m>
{express}under{foo} : <m>{express}under{foo}</m>
{express}over{foo} : <m>{express}over{foo}</m>
overline{express} : <m>overline{express}</m>
underline{express} : <m>underline{express}</m>
hat{express} : <m>hat{express}</m>