Exercise 1
- Open the Latex editor.
- type this following Latex code in the Latex editor:
%! TEX TS-program = pdflatex
%Typeset/Build program
\documentclass{standalone}
\usepackage{amsmath}
\begin{document}
\begin{minipage}{0.25\linewidth}
\begin{align*}
a &= 1 \\
b &= 2 \\
\end{align*}
\end{minipage}
\end{document} - run the Typeset command or similar other command with pdfLatex
- to see the output, look at the below picture:
Exercise 2
The other following source code to practice is same as steps with the previous example:
%Typeset/Build program
%!TEX TS-program = pdflatex
%!TEX TS-program = pdflatex
\documentclass[varwidth,preview,margin=5]{standalone}
\usepackage{amsmath}
\begin{document}
\section{matrix / matrices}
\begin{minipage}{0.5\textwidth}
\begin{align*}
\left( \begin{array}{ccc}
a & b & c \\
d & e & f \\
g & h & i \\
\end{array} \right)
\end{align*}
\end{minipage}
\end{document}
Output
< Previous Latex Document Class Standalone 1
Bibliography
https://www.tcd.ie/ ( university )
https://en.wikibooks.org/
latex document typeset, typesetting
Tidak ada komentar:
Posting Komentar