Senin, 07 Oktober 2024

Latex Document Class Standalone 2

Exercise 1

  1. Open the Latex editor.
  2. 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}
  3. run the Typeset command or similar other command with pdfLatex
  4. 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
\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



Bibliography

https://www.tcd.ie/ ( university )
https://en.wikibooks.org/

latex document typeset, typesetting

Related Post

Tidak ada komentar:

Posting Komentar

Various Other Posts