Just a test for LaTeX on this forum.

Jun 2014
27
6
Britain
Hi

This is only for my own use to make sure my LaTeX comes out right.

I don't want to make a mess of any maths layout I submit in my posts.

\(\displaystyle \frac{dy}{dx}(2x^2+6) = 4x\)

Regards
 
Jun 2014
27
6
Britain
Test Post :

\(\displaystyle
\frac{dy}{dx}(2x^2+6) = 4x
\)

Layout ok ?
 
Jun 2014
27
6
Britain
Test Post :

\(\displaystyle \frac{dy}{dx}(2x^2+6) = 4x \\ \log_{5} 25=2\)

\(\displaystyle \sqrt[3]{2}\)

\(\displaystyle \arctan 45\)

\(\displaystyle \sum x_i\)

\(\displaystyle 178 \pm 5\)

\(\displaystyle this \Leftrightarrow \\ this\)



\(\displaystyle \begin{array}{l|cr|}4&1&2\\-4&-1&-2\\\hline\end{array} \)

\(\displaystyle f(x)=\left\{\begin{array}{cc}0,&\mbox{ if }x\leq 0\\1, & \mbox{ if } x>0\end{array}\right.\)

\(\displaystyle \left(\begin{array}{cc}1&9\\7&1\end{array}\right) \)

\(\displaystyle \begin{array}{cc}1&0\\0&1\end{array} \)


\(\displaystyle \begin{array}{lcr}4&1&2\\-4&-1&-2 \\-4&-1&-2 \end{array} \)
 
Last edited:

Soroban

MHF Hall of Honor
May 2006
12,028
6,341
Lexington, MA (USA)
Hello, guinster!

You're doing great!


Personally I dislike those long minus-signs.

To me, \(\displaystyle \begin{pmatrix} 3 & -1 \\ -2 & 0 \end{pmatrix}\) looks awkward.

I prefer: .\(\displaystyle \begin{pmatrix}3 & \text{-}1 \\ \text{-}2 & 0 \end{pmatrix}\)

where I replace - with \text{-}.

 
  • Like
Reactions: 2 people

Prove It

MHF Helper
Aug 2008
12,897
5,001
If you put \phantom{-} before the positive terms they end up lined up properly :)
 
  • Like
Reactions: 3 people

topsquark

Forum Staff
Jan 2006
11,578
3,454
Wellsville, NY
\(\displaystyle \begin{matrix} \phantom{-} 1 & -3 \\ -2 & \phantom{-} 4 \end{matrix}\)

Cooooool! (Bow)

-Dan
 
Jun 2014
27
6
Britain
Hi

I really appreciate the tips.

Regards
 

Prove It

MHF Helper
Aug 2008
12,897
5,001
Also it's common practice to write the d's in a different font when they're used for differentials.

\frac{\mathrm{d}y}{\mathrm{d}x} gives $\displaystyle \begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} \end{align*}$ :)

In fact, the mathrm font is used when your letter is used for something other than a variable, such as a predefined constant like $\displaystyle \begin{align*} \mathrm{e} \end{align*}$ or $\displaystyle \begin{align*} \mathrm{i} \end{align*}$ as well :)
 
  • Like
Reactions: 2 people
Jun 2014
27
6
Britain
Thanks Prove It

Those differentials look 'the business'.

Cheers
 
Similar Math Discussions Math Forum Date
LaTeX
LaTeX
LaTeX
LaTeX