-
Notifications
You must be signed in to change notification settings - Fork 0
/
gemplate-example.tex
58 lines (35 loc) · 1.7 KB
/
gemplate-example.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
\documentclass[12pt]{article}
\usepackage{gemplate}
\usepackage{lipsum} % fill in random text
\title{\textbf{This is an Example using the Gemplate Package}}
\author{Author 1\thanks{\protect\linespread{1}\protect\selectfont Thank you for taking a look at this simple \LaTeX \ article template!} \hspace{15ex}
Author 2\thanks{\protect\linespread{1}\protect\selectfont Hi! I am Author 2.}}
\date{\today}
\addbibresource{}
\begin{document}
\maketitle
\begin{abstract}
To use the template, add \texttt{\textbackslash usepackage\{gemplate\}} to the preamble. This template has only been tested for the \texttt{article} document class. It uses the \texttt{Crimson} font style, the \texttt{eulervm} math style, as well as other configurations such as citations using the \texttt{biblatex} engine \& tables using the very flexible \texttt{tblr} envrionment.
\end{abstract}
\newpage
\section{Introduction}
\textbf{Hello! I am using the \texttt{lipsum} package to generate some random text to fill in.} ~\\
But before that, let's type up some math notations:
$$
y = \alpha + \beta_1x_1 + \beta_2x_2 + \varepsilon
$$
\lipsum[2-3]
\begin{table}[h]
\centering
\caption{\textbf{Summary statistics} \newline This table is for illustration purposes only. The table is generated using the \texttt{tblr} environment from the \texttt{tabularray} package.}
\label{tab:lable}
\begin{tblr}
{colspec={X[3,l,m] *{6}{X[c,m]}},width=\textwidth}
\toprule
Variable & N & Mean & Std & P25 & Median & P75 \\ \midrule
X & 10000 & a & b & c & d & e \\
Y & 10000 & f & g & h & i & j \\
Z & 10000 & k & l & m & n & o \\ \bottomrule
\end{tblr}
\end{table}
\end{document}