-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesign.tex
69 lines (53 loc) · 986 Bytes
/
design.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
% Typography (https://material.io/design/typography/the-type-system.html)
\newcommand{\headlineSix}[1]{
{\LARGE #1}
}
\newcommand{\subtitleOne}[1]{
{\Large #1}
}
\newcommand{\subtitleTwo}[1]{
{\large #1}
}
% Iconography
\newcommand{\icon}[2][20pt]{
\raisebox{-.25\height}{
\includesvg[height=#1]{#2}
}
}
% Table
\newcommand{\rowend}{
\\[12pt]
}
\newcommand{\lineend}{
\\[4pt]
}
\newcommand{\tabListItem}[1]{
\textendash \hspace{4pt} #1
}
% Section
\newcommand{\sectionTitle}[2]{
\raisebox{-.1\height}{
\includesvg[height=20pt]{#2}
}
\headlineSix{\textbf{#1}}
}
\newcommand{\subsectionTitle}[2]{
\subtitleOne{#1} \hfill #2
}
\newenvironment{sectionBody}{
\vspace{-16pt}
\begin{tabbing}
\hspace{5mm} \= \\
}
{
\end{tabbing}
\vspace{-25pt}
}
\newenvironment{subsec}[2]{
\subsectionTitle{#1}{#2}
\begin{sectionBody}
}
{
\end{sectionBody}
\vspace{\subSectionSpace}
}