Scientific Computing
.tex
extension..tex
file generates a PDF document.\begin{document}
and `\end{document}```- These commands mark the beginning and end of your document’s content.\begin{document}
is called the preamble, where you set up document-wide settings.\maketitle
in the document
environment to display this information.\usepackage{packagename}
.graphicx
lets you include images, and amsmath
provides advanced math features.\textbf{}
or {\bfseries}
to make text bold.\textit{}
or {\itshape}
to italicize text.\underline{}
to underline text.$
and use ^
or _
\text{}
%
for comments and &
for table alignment.$
delimiters for inline mathematical expressions.$$
delimiters or \[ \]
for standalone, centered equations.equation
environment to automatically number equations.align
environment for multiple aligned equations.&
matters!itemize
environment for bulleted lists.enumerate
environment for numbered lists.\section
, \subsection
, etc., to structure your document.#
and ##
.tabular
environment to create tables.|
creates vertical lines, h
for horizontal lines, l
, c
, r
for column alignment.table
environment with \caption
to add a caption and label.graphicx
package and \includegraphics
to add images.figure
environment with \caption
and \label
for proper referencing.\ref{}
.