-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Steal (then rewrite half of) progcomp formatting
- Loading branch information
1 parent
dbc8edd
commit bd4f7eb
Showing
5 changed files
with
120 additions
and
62 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
/.vscode | ||
|
||
*.aux | ||
*.log | ||
*.out | ||
*.synctex.gz |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
\usepackage[a4paper, left=25mm, right=25mm, top=25mm, bottom=28mm]{geometry} | ||
\usepackage[english]{babel} | ||
\usepackage{titling} | ||
|
||
\usepackage[colorlinks=true, allcolors=blue]{hyperref} | ||
\usepackage{graphicx} | ||
|
||
\usepackage[defaultfam,tabular]{montserrat} | ||
\usepackage[scaled]{beramono} | ||
\usepackage[T1]{fontenc} | ||
\usepackage{enumitem} | ||
|
||
\setlength{\droptitle}{-1.5cm} | ||
\setlist[enumerate]{after={\medskip}} | ||
|
||
% Custom numbering format | ||
\renewcommand{\labelenumi}{\arabic{section}.\arabic{enumi}} | ||
\renewcommand{\labelenumii}{\arabic{section}.\arabic{enumi}.\arabic{enumii}} | ||
\renewcommand{\labelenumiii}{\arabic{section}.\arabic{enumi}.\arabic{enumii}.\alph{enumiii}} | ||
|
||
\makeatletter | ||
% Subsection-like list items | ||
\newcommand*\itemb[1]{{\large\bfseries \item #1}} | ||
\newcommand*\itembb[1]{{\bfseries \item #1}} | ||
|
||
% Role environment, avoids line breaking between title and list | ||
\newenvironment{role}[1]{ | ||
\itemb{#1}\nolinebreak | ||
\begin{enumerate} | ||
}{\end{enumerate}\penalty-100} | ||
|
||
% Adjust spacing around non list item | ||
\newcommand*\listbreak[1]{ | ||
\vspace{-2\medskipamount} | ||
\vspace{-\baselineskip} | ||
#1 | ||
\vspace{-\medskipamount} | ||
\vspace{-\baselineskip} | ||
} | ||
|
||
% Include UWCS logo in title | ||
\renewcommand\maketitle{ | ||
\noindent\begin{minipage}{0.2\textwidth} | ||
\includegraphics[width=\linewidth]{logo.png} | ||
\end{minipage}% | ||
\hfill% | ||
\begin{minipage}{0.79\textwidth} | ||
\begin{center} | ||
{\Huge \bfseries \sffamily \@title }\\[1ex] | ||
Date Renewed \@date\\[4ex] | ||
\end{center} | ||
\end{minipage} | ||
} | ||
\makeatother | ||
|
||
\graphicspath{{common/}} | ||
\pagestyle{empty} | ||
\setkomafont{section}{\usefont{T1}{fvs}{b}{n}\Large} | ||
|
||
\renewcommand{\arraystretch}{1.5} | ||
|
||
% Custom logo footer | ||
\usepackage{fancyhdr} | ||
\pagestyle{fancy} | ||
\fancyhf{} | ||
\renewcommand{\headrulewidth}{0pt} | ||
|
||
\usepackage{adjustbox} | ||
\fancyfoot[C]{\adjincludegraphics[width=0.2\textwidth,valign=c]{logo_wide.png}} | ||
\fancyfoot[R]{\thepage} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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