**LaTex** is a mathematics presentation language that can be used on this forum.

It is used in many other places as well.

This can be very confusing when you first use it but if you start with little things like using it to write fractions then it is easy to build your knowledge from there.

**If you are interested in learning say so in a new post and we will be very pleased to help you. **

I was looking for some early LaTex coding examples that were supposed to be in the sticky notes but they are displaying.

Some of the coding does not work in this new version of the forum but I still want to be able to find these posts,

So.. I'm putting them here

This first one I am only including for historical value, it was posted before we had LaTex here at all

http://web2.0calc.com/questions/test_6 dated 5th March 2014

Now for the real ones

(1) This is a big one dated from dated 28th April 2014

https://web2.0calc.com/questions/latex

(2) This has good information to help get you started.

It was written by MaxWong dated 7th July 16

Thanks Max

https://web2.0calc.com/questions/a-post-of-latex

(3) Another by MaxWong dated 10th July 2016

Melody Sep 21, 2017

#1**+2 **

Here is one, by GingerAle and Hectictar, that Hectictar just asked me to include. Thanks Girls :)

This is the original thread but I will includ most of the salient coding underneath.

https://web2.0calc.com/questions/1-84-1-56-8

\(\boxed{3x\stackrel{?}{=}7}\)

\boxed{3x\stackrel{?}{=}7}

---------------------------------

\(\begin{array}{|rcll|} \hline \angle {ABC} &=& 27° \\ \measuredangle{ABC} &=& 27° \\ \stackrel {\; \frown} {ABC} &=& 27° \\ \stackrel { \hspace{.1em} \wedge} {AC} &=& 27° \\ \stackrel {\, \hspace{.1em} \frown} {AC} &=& 27° \\ \hline \end{array}\\\ \overset{\; \frown}{AC} = 27° \\\)

Coding

\begin{array}{|rcll|}

\hline

\angle {ABC} &=& 27° \\

\measuredangle{ABC} &=& 27° \\

\stackrel {\; \frown} {ABC} &=& 27° \\

\stackrel { \hspace{.1em} \wedge} {AC} &=& 27° \\

\stackrel {\, \hspace{.1em} \frown} {AC} &=& 27° \\

\hline \end{array}\\\

\overset{\; \frown}{AC} = 27° \\

I only just realised that Ginger has not used the \boxed command.

I wonder how she got the vertical side lines on her box?? I'll have to work it out ://

Arr got it, it is a part of the array command.

Thanks Ginger :)

-----------------------------------------------------------------------------------

Oh Hectictar also mentioned that there is a number of ways to get the **degree sign**.

These are Hectictars words:

"I have noticed that there are actually two signs that look like degree signs in the "special character" selection. One of them is a masculine ordinal indicator: º and the other is the degree sign: ° . (If you hover over the symbol it tells the name of it.)

I just use the command ^\circ Like this 5^\circ displays as \(5^\circ\)

.Melody Sep 25, 2017

#2**+2 **

Courtesy of Heureka :)

\(\begin{array}{|rcll|} \hline && \mathbf{(t-1)^3 + 6(t-1)^2 + 12(t-1) + 8 } \\ &=& (t-1)^3 + 3(t-1)^2+3(t-1) +1 \\ && \quad + 3(t-1)^2+9(t-1)+7 \\ &=& t^3 + 3(t-1)^2+9(t-1)+7 \\ &=& t^3 + 3(t^2-2t+1)+9t-9+7 \\ &=& t^3 + 3t^2-6t+3+9t-9+7 \\ &=& t^3 + 3t^2+3t+1 \quad & | \quad (1+t)^3 = t^3+3t^2+3t+1 \\ &\mathbf{=}& \mathbf{(1+t)^3} \\ \hline \end{array}\)

\begin{array}{|rcll|} \hline && \mathbf{(t-1)^3 + 6(t-1)^2 + 12(t-1) + 8 } \\

&=& (t-1)^3 + 3(t-1)^2+3(t-1) +1\\

&& \quad + 3(t-1)^2+9(t-1)+7 \\

&=& t^3 + 3(t-1)^2+9(t-1)+7 \\

&=& t^3 + 3(t^2-2t+1)+9t-9+7 \\

&=& t^3 + 3t^2-6t+3+9t-9+7 \\

&=& t^3 + 3t^2+3t+1 \quad & | \quad (1+t)^3 = t^3+3t^2+3t+1\\

&\mathbf{=}& \mathbf{(1+t)^3} \\

\hline \end{array}

Melody Oct 26, 2017

#4**0 **

Some interesting coding by GingerAle and Heureka: Thanks to both of you :)

It is from this question:

https://web2.0calc.com/questions/modular-math_8

\(\begin{array}{rcll} n &=& {\color{red}3331} \cdot {\color{green}1247} \cdot \underbrace{ \underbrace{ \underbrace{ \underbrace{ [ {\color{green}1247}^{\varphi({\color{green}231})-1} \pmod {{\color{green}231}} ] }_{=\text{modulo inverse 1247 mod 231} } }_{=1247^{230-1} \mod {231} }}_{=1247^{229} \mod {231}}}_{=113} + {\color{red}1361} \cdot {\color{green}231} \cdot \underbrace{ \underbrace{ \underbrace{ \underbrace{ [ {\color{green}231}^{\varphi({\color{green}1247})-1} \pmod {{\color{green}1247}} ] }_{=\text{modulo inverse 231 mod 1247} } }_{=231^{1246-1} \mod {1247} }}_{=231^{1245} \mod {1247}}}_{=637}\\\\ n &=& {\color{red}3331} \cdot {\color{green}1247} \cdot [ 113] + {\color{red}1361} \cdot {\color{green}231} \cdot [637] \\ n &=& 469374541 + 200267067 \\ n &=& 669641608 \\\\ && n\pmod {m}\\ &=& 669641608 \pmod {288057} \\ &=& 197140 \\\\ n &=& 197140 + k\cdot 288057 \qquad k \in Z\\\\ \mathbf{n_{min}} & \mathbf{=}& \mathbf{197140 } \end{array}\)

**CODING:**

\begin{array}{rcll} n &=& {\color{red}3331} \cdot {\color{green}1247} \cdot \underbrace{ \underbrace{ \underbrace{ \underbrace{ [ {\color{green}1247}^{\varphi({\color{green}231})-1} \pmod {{\color{green}231}} ] }_{=\text{modulo inverse 1247 mod 231} } }_{=1247^{230-1} \mod {231} }}_{=1247^{229} \mod {231}}}_{=113} + {\color{red}1361} \cdot {\color{green}231} \cdot \underbrace{ \underbrace{ \underbrace{ \underbrace{ [ {\color{green}231}^{\varphi({\color{green}1247})-1} \pmod {{\color{green}1247}} ] }_{=\text{modulo inverse 231 mod 1247} } }_{=231^{1246-1} \mod {1247} }}_{=231^{1245} \mod {1247}}}_{=637}\\\\

n &=& {\color{red}3331} \cdot {\color{green}1247} \cdot [ 113] + {\color{red}1361} \cdot {\color{green}231} \cdot [637] \\

n &=& 469374541 + 200267067 \\ n &=& 669641608 \\\\ && n\pmod {m}\\ &=& 669641608 \pmod {288057} \\

&=& 197140 \\\\

n &=& 197140 + k\cdot 288057 \qquad k \in Z\\\\

\mathbf{n_{min}} & \mathbf{=}& \mathbf{197140 }

\end{array}

Melody Nov 24, 2017

#5**+1 **

You can also visit the Wikibooks article on how to code LaTeX: https://en.wikibooks.org/wiki/LaTeX/Mathematics

SpaceModo Nov 30, 2017

#8**0 **

Here is a cool website: http://detexify.kirelabs.org/classify.html

If you are trying to find the code for a certain symbol, draw it in the box and it will give you a list of symbols and their codes that look like what you drew!

Also, you can click the "symbols" button to see a list of LaTeX symbols.

hectictar Jan 12, 2018

#9**0 **

Here is a knew one I just saw

\[ x^2 + \dfrac{5}{3}x + \boxed{\phantom{000}}. \]

this is really interestig because I did not go into LaTex to do this.

I just opened it with \[

then the code

**x^2 + \dfrac{5}{3}x + \boxed{\phantom{000}}. **

and closed it with the close ] command.

I think it would have worked almost as good If I had opened it with a dollar sign and closed it with a dollar sign

.Melody Jan 17, 2018