Skip to content

Instantly share code, notes, and snippets.

@fabiofortkamp
Created October 8, 2020 13:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save fabiofortkamp/69a9fefe0ef8ec41cac447f1fcf8ddca to your computer and use it in GitHub Desktop.
LaTeX template for college problem sets
\documentclass[english,brazil,shortlabels,article]{techreport}
%% see https://github.com/fabiofortkamp/techreport
%% I honestly cannot remember where I got this from
\newenvironment{problem}[2][Problem]{\begin{trivlist}
\item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}
\usepackage{siunitx}
\usepackage{enumitem}
\usepackage{pdfpages}
\sisetup{
output-decimal-marker = {,},
per-mode = symbol, }
%% see https://github.com/fabiofortkamp/engsymbols
\usepackage{engsymbols}
\begin{document}
\pretextual
\titulo{Final Exam}
\autor{Prof. Fábio Pinto Fortkamp}
{\ABNTEXchapterfont\large University ...}
\par
{\ABNTEXchapterfont\large Departament of ...}
\par
\begin{center}
\vspace{\baselineskip}
{\ABNTEXchapterfont\LARGE\imprimirtitulo}
\par
\vspace{\baselineskip}
\ABNTEXchapterfont\large\imprimirautor
\par
\vspace{\baselineskip}
\end{center}
\textual
\begin{center}
\vspace{\baselineskip}
{\ABNTEXchapterfont\large\bfseries Basic Instructions:}
\par
\vspace{\baselineskip}
\end{center}
\begin{itemize}
\item Be explicit in every calculation
\item ...
\end{itemize}
\begin{center}
\vspace{\baselineskip}
{\ABNTEXchapterfont\large\bfseries Problems:}
\par
\vspace{\baselineskip}
\end{center}
Some introductory text.
\begin{problem}{1 (2,0 points)}
Calculate something.
\end{problem}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment