3. Decimals booklet LaTeXο
3.1. Bookletsο
3.1.1. Sample decimals booklets by processο
3.1.2. Latex templatesο
1\documentclass[leqno, 12pt]{article}
2\usepackage[a4paper, portrait, margin=2cm]{geometry}
3\usepackage{amsmath}
4\usepackage{multicol}
5\usepackage{siunitx}
6\usepackage{fancyhdr}
7
8
9\sisetup{output-decimal-marker={.}}
10
11
12\def \HeadingQuestions {\section*{\Large Name: \underline{\hspace{8cm}} \hfill Date: \underline{\hspace{3cm}}} \vspace{-3mm}
13{<<title>> of decimals: Questions} \vspace{1pt}\hrule}
14
15% raise footer with page number
16\fancypagestyle{myfancypagestyle}{
17 \fancyhf{} % clear all header and footer fields
18 \renewcommand{\headrulewidth}{0pt} % no rule under header
19 \fancyfoot[R] {\thepage} % place page number at the bottom right
20 \setlength{\footskip}{14.5pt} % raise page number
21}
22\pagestyle{myfancypagestyle} % apply myfancypagestyle
23
24%
25\begin{document}
26\HeadingQuestions
27\vspace{-5mm}
28\begin{multicols}{3}
29<<diagrams>>
30\end{multicols}
31\end{document}
1\documentclass[leqno, 12pt]{article}
2\usepackage[a4paper, portrait, margin=2cm]{geometry}
3\usepackage{amsmath}
4\usepackage{multicol}
5\usepackage{siunitx}
6\usepackage{fancyhdr}
7
8
9\sisetup{output-decimal-marker={.}}
10
11\def \HeadingAnswers {\section*{\Large Name: \underline{\hspace{8cm}} \hfill Date: \underline{\hspace{3cm}}} \vspace{-3mm}
12{<<title>> of decimals: Answers} \vspace{1pt}\hrule}
13
14\fancypagestyle{myfancypagestyle}{
15 \fancyhf{} % clear all header and footer fields
16 \renewcommand{\headrulewidth}{0pt} % no rule under header
17 \fancyfoot[R] {\thepage} % place page number at the bottom right
18 \setlength{\footskip}{14.5pt} % raise page number
19}
20\pagestyle{myfancypagestyle} % apply myfancypagestyle
21
22
23%
24\begin{document}
25\HeadingAnswers
26\vspace{-5mm}
27\begin{multicols}{3}
28<<diagrams>>
29\end{multicols}
30\end{document}
1% diagram template
2\begin{equation}
3 \raisebox{-0.8cm}{
4 \begin{tabular}{c S[table-format=<<numip>>.<<numdp>>]}
5 &<<num1>> \tabularnewline
6 $<<process>>$&<<num2>> \tabularnewline
7 \hline
8 &<<answer>> \tabularnewline
9 \hline
10 \end{tabular}}
11\end{equation}
Line |
Explanation |
|---|---|
|
Begins the equation environment, which is used for displaying mathematical equations. |
|
Lowers the content inside the braces by 1.0 cm. |
|
Begins a tabular environment with two columns: the first column is centered ( |
|
Inserts the value of |
|
Inserts the value of |
|
Adds a horizontal line across the table. |
|
Inserts the value of |
|
Adds another horizontal line across the table. |
|
Ends the tabular environment and the |
|
Ends the equation environment. |