Or login with:
and which mark out a block of text for special processing. In the following subsections, different block structures are investigatesint fn(int a, double b) { \\ do something here return a+b; }
\begin{tabular} a & b & c \\ d & e & f \\ g & h & i \\ \end{tabular}To give:
\begin{quote} The quick brown fox jumps over the lazy dog \end{quote}
\begin{yellow} The quick brown fox jumps over the lazy dog \end{yellow}
\begin{center} The quick brown fox jumps over the lazy dog \end{center}
\begin{right} The quick brown fox jumps over the lazy dog \end{right} This is the normal text
\begin{equation} e=mc^2 \end{equation}
\[e=mc^2\]which gives To avoid numbering the equations, use round brackets, as in
\(v^2=u^2+2as\)which gives
For equations that you want to appear on the same line as the text, we use dollar symbols:
The first greek letter, $\alpha$ over the second, $\beta$, is $\frac{\alpha}{\beta}$.The first greek letter,
The first greek letter, $\alpha$ over the second, $\beta$, is $\displaystyle \frac{\alpha}{\beta}$.The first greek letter,
\[f=ma\]#42 \[v=u+2 a s\]#43 Newton wrote equation #42 all by himself. Equation (#43) helps you find the final velocity of an object given its starting speed, acceleration and time of acceleration.Newton wrote equation 3 all by himself. Equation (4) helps you find the final velocity of an object given its starting speed, acceleration and time of acceleration.
You must login to leave a messge