1. Open your Latex editor.
2. Type this following Latex code in the Latex editor:
% !TEX TS-program = pdflatex
% Distributed under the LaTeX Project Public License
% https://www.latex-project.org/lppl.txt
\documentclass{standalone}
\usepackage{array}
%% create margin border around standalone environment
\standaloneconfig{border=5mm}
\standaloneenv{minipage}
%% change default font to bold format
\renewcommand{\seriesdefault}{bx}
%% change default font in math mode to bold format
\boldmath
%% define command to include tabular in an item. Using a common p column type, all such tabulars can be properly aligned.
\newcommand{\tr}[1]{\item \begin{tabular}{*{3}{>{\bfseries}p{7cm}}} #1 \end{tabular}}
\begin{document}
\begin{minipage}{1.8\linewidth}
\Huge
%% Alignment left
\begin{flushleft}
Find the missing parts in the following triangles.
\end{flushleft}\par
\begin{enumerate}
%% Numbering List none
\renewcommand{\labelenumi}{}
\tr{ First Angle & Second Angle & Side Length }
%% set the counter to one
\setcounter{enumi}{0}
%% Numbering List Using Alphabet In Uppercase
\renewcommand{\labelenumi}{\Alph{enumi}.}
\tr{ $A=34^\circ$ & $C=7^\circ$ & $c=6$ }
\tr{ $A=121^\circ$ & $C=30^\circ$ & $a=6$ }
\tr{ $B=50^\circ$ & $C=80^\circ$ & $a=9$ }
\tr{ $B=38^\circ$ & $C=111^\circ$ & $b=8$ }
\tr{ $A=74^\circ$ & $B=74^\circ$ & $b=15$ }
\end{enumerate}
\end{minipage}
\end{document}
3. Save file as enumerateTabularStandalone1.tex
4. Compile source code Latex.
Output
<< Back to Learning Latex RoadMap
Bibliography
https://tex.stackexchange.com/
https://www.abdn.ac.uk/ ( university )
http://www.mnstate.edu/ ( university )
https://www.york.ac.uk/ ( university )
https://www.overleaf.com/
Tidak ada komentar:
Posting Komentar