\usepackage{algorithm}\usepackage{algorithmic} Here is an exemple: \begin{algorithm}\caption{Calculate$y=x^n$}\begin{algorithmic}\REQUIRE$n\geq0\veex\neq0$\ENSURE$y=x^n$\STATE$y\leftarrow1$\IF{$n <0$}\STATE$X\leftarrow1/x$\STATE$N\leftarrow-n$...
pmatrix, bmatrix, vmatrix, Vmatrix are Latex environments: -* p for parentheses -* b for brackets -* v for verts -* B for braces -* V for double verts. How to write an m x n matrix in LaTeX How to write an m x n matrix with big parentheses \begin{equation*...
How to write a vector in LatexTo write a vector in Latex, we can use \vec function$\vec{AB} = 0_E$AB→=0E or\overrightarrow function$\overrightarrow{AB} = 0_E$AB→=0E Note: as {Keyboard warrior} said in the comments \overrightarrow function looks more like the ...
To write underscore symbole in LateX, you must use backslash to protect it like follows $$\_$$$a\_b$$$a\_b\_c$$ which gives \[\_\] \[a\_b\] \[a\_b\_c\]
How to write table in Latex ? begin{tabular}...end{tabular} Environment You must use thetabularenvironment. Description of columns Description of the columns is done by the lettersr, lorc rright-justified column lleft-justified column ccentered column...
How to write angle in latex langle, rangle, wedge, angle, measuredangle, sphericalangle Angles
To write a vector in Latex, we can use\vecfunction $\vec{AB}=0_E$ \[\vec{AB} = 0_E\] or\overrightarrowfunction $\overrightarrow{AB}=0_E$ \[\overrightarrow{AB} = 0_E\] Note: as {Keyboard warrior} said in the comments\overrightarrowfunction looks more like the vec...
How to write number sets R Z Q N with Latex ? In old books, classic mathematical number sets are marked in bold as follows $\mathbf{R}$is the set of real numbers. So we use the\ mathbfcommand. Which give: $\mathbf{R}$ is the set of reals. ...
latex how to write bar: \bar versus \overline. \overline is more adjusted to the length of the letter, the subscript or the superscript than \bar
To define dots in Latex, use: \ ldotsfor horizontal dots on the line \ cdotsfor horizontal dots above the line \ vdotsfor vertical dots \ ddotsfor diagonal dots Here are some examples: \[\Sigma=\left[ \begin{array}{ccc} \sigma_{11} & \cdots & \sigma_{1n} \\ \...