Created
February 4, 2021 22:22
-
-
Save s-newman/c7e2f428fd1eb734cbb47d74c790bba8 to your computer and use it in GitHub Desktop.
Custom formatting for LaTeX documents, with a focus on class reports.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% This file has been adapted from the Pomona Linguistics Latex Paper template on Overleaf. | |
% More sane margins | |
\usepackage[margin=1in]{geometry} | |
% Gives some extra formatting options, e.g. underlining/strikeout | |
\usepackage{ulem} | |
% For putting links into papers, also helps make cross-references in the paper smart references | |
\usepackage[colorlinks = true, | |
linkcolor = blue, | |
urlcolor = blue, | |
citecolor = blue, | |
anchorcolor = blue]{hyperref} %smarter cross-references, these options turn links blue | |
% Don't indent paragraphs, and add spacing in between paragraphs. Also make titles look a bit nicer. | |
\usepackage[parfill]{parskip} | |
% Changes the \maketitle command to be smaller and take up less space on a page. Looks much better for most reports. | |
\makeatletter | |
\def\@maketitle{ % custom maketitle | |
\noindent {\Large \bfseries \color{black} \@title} \\ \hrule \noindent \@author \\ \@date | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This probably doesn't work very well if you have a lab report that has lots of screenshots - it'll work best if your report is mostly or entirely text. I haven't tried tables or figures.