mirror of https://github.com/ericonr/dotfiles.git
Add LaTeX template.
Initial basic script + super basic article template. Useful for exercise lists, at least.
This commit is contained in:
parent
bfe2d677a5
commit
b38841d348
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
n="$1"
|
||||
cp ~/.local/share/template.tex "$n"
|
|
@ -0,0 +1,24 @@
|
|||
\documentclass[11pt,a4paper]{article}
|
||||
% https://guides.nyu.edu/c.php?g=601858&p=4168138
|
||||
|
||||
%\title{Title}
|
||||
%\author{Érico Nogueira Rolim}
|
||||
%\date{}
|
||||
|
||||
\usepackage[margin=2cm]{geometry}
|
||||
%\usepackage{amsmath}
|
||||
|
||||
% https://guides.nyu.edu/c.php?g=601858&p=4168138
|
||||
\newcommand{\question}[2][]{\begin{flushleft}
|
||||
\textbf{Questão #1}: #2
|
||||
\end{flushleft}}
|
||||
\newcommand{\sol}{\textbf{Solução}:\newline}
|
||||
|
||||
\begin{document}
|
||||
|
||||
%\maketitle
|
||||
%\tableofcontents
|
||||
|
||||
|
||||
|
||||
\end{document}
|
Loading…
Reference in New Issue