Published using Google Docs
Published using Google Docs
The best way to learn LaTeX is through examples and by using online resources like
LaTeX Symbols
Note the last item is a Psychic Project specific tool that will help you convert math to
proper LaTeX format required in this project.
Display LaTeX
Markdown
A basic
fact from
trig is
\(\sin(\pi/2
) = 1\).
A famous
formula in
Physics is
\[
E = mc^2\,.
\]
Math
Punctuation
Mode Example
Rule
Style
Punctuation If \(x=2\)
Inline
→ OUTSIDE then
math
\(x^2 =
4\).
Delimiter Warning
DO NOT USE $...$ or $$...$$ in this project – they are not permitted
as they confuse with the dollar symbol.
Required Style for Multiple Steps Equations
Often you will need to write math that consists of a series of equalities or a series of steps. In
this project, there is a specific way this needs to be done. The allowed and a few not
allowed options are shown below:
\[ Uses the
\begin{aligned aligned
} environment
f(x) &= x^2 + which is the
Good 5x + 7 -6x -9 \\ required
& = x^2 -x-2\\ style for this
&= (x+1)(x-2) project.
\end{aligned}
\]
\[ Uses the
aligned
\begin{aligned environment
} for systems
of
z &= 3x-5y+w equations.
\\
Good
z &= x+y+w\\
z &= 2x+2y+2w
\end{aligned}
\]
When using the aligned environment note the following crucial details:
The symbol ‘&’ is a special symbol here which lines up the ‘=’ signs for us.
Δ, θ, π, λ
Although most of the time, the LaTeX code is just the symbol name, please
consult the links at the top of this document for complete documentation on
this. For example
Display LaTeX
Markdown
\[
\alpha\sin(\thet
a + \delta) =
\beta
\]
Symbol Warning
Never copy/paste rendered math symbols like the ones shown above directly into
LaTeX. Instead use the appropriate command – it is not only easier but right!
You
can
also
use
variant
Division s of
this like
\dfrac
for
displayi
ng
larger
fraction
s
Use ‘/’
only
when
the
fraction
s are
simple
as
shown
here.
\(e^{i\theta}
Use the
\)
symbol
\( 2^{2^2} \)
^
\(x^y\)
Note
that we
need
curly
bracket
s { } if
Exponents the
expone
nt is
more
than
one
symbol
DO
NOT
use **
DO
NOT
use
\appro
x
directly
after an
operato
r (e.g.
\(10
\times
\appro
x 5\)).
When writing any mathematical function like cos(x) or sqrt(x) or ln(x) they require ‘\’ to
be rendered correctly.
If you want to write plain text inside math mode then use \text{} or \textrm{}.
\( Correct
\sqrt{x^2-1 usage with
} \) ‘\’
Good \( \cos(\pi)
\)
\(\ln e =
1\)
\( \cos(x)} Improper,
and\sin(x)\ as ‘and’
) are trig was
Bad functions. incorrectly
interpreted
as math
Lists
Bulleted Lists
Numbered Lists
Units
Default
Always use metric and SI values unless the prompt specifically requests
imperial units.
Formatting
Plaintext
Units must be rendered in plaintext a space between the value and the
unit
Ex:
Spacing
Units should be separated from the numerical value using thin spaces (\,)
in \mathrm{} or a space within \text{}
In display mode only, there should be a thin space between the unit and the
end-of-sentence punctuation.
There should be no spaces before degrees (°), angular minutes (‘), or angular
seconds (“).
Capitalization
Multiplication of Units
Division of Units
Ex: \(2\mathrm{\,m/s}\)
Exponents
Ex: \(2\mathrm{\,m/s^2}\)
Final Answers
Rounding