initial setup

This commit is contained in:
Alexander Bocken 2020-04-25 23:02:00 +02:00
parent 676748867d
commit 6d55a02256
6 changed files with 280 additions and 0 deletions

63
a4_manifesto.tex Normal file
View File

@ -0,0 +1,63 @@
%%% PAGE LAYOUT
\documentclass[a4paper, 10pt, twocolumn, twoside, english]{article}
\usepackage{geometry}
\geometry{a4paper, inner=1cm, outer=1cm, top=2cm, bottom=2cm,headheight=1cm}
%%% FONT AND ADDITIONAL MATH SYMBOLS
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fourier}
\usepackage{ebgaramond}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\renewcommand*{\sfdefault}{pag}
\usepackage{extarrows}
\usepackage{mathrsfs}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{wasysym}
\usepackage{subcaption}
\usepackage{hyperref}
\usepackage[english]{cleveref}
%\usepackage{multicol}
\usepackage[english]{babel}
\usepackage{blindtext}
\input{commands}
%%% TITLE
\title{\textsc{<++>}}
\author{\textit{<++>}}
\date{<++>}
\addto\captionsenglish{\def\contentsname{\textsc{Contents}}}
%%% HEAD- AND FOOTLINES
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearscrheadfoot
\ihead{}
\chead{}
\ohead{}
\ifoot{}
\cfoot{\pagemark}
\ofoot{}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\fontsize{16}{19}\selectfont}{\thesection}{1em}{}
\titleformat{\section}
{\normalfont\fontsize{14}{17}\selectfont}{\thesection}{1em}{}
\titleformat{\subsection}
{\normalfont\fontsize{14}{17}\selectfont}{\thesubsection}{1em}{}
\begin{document}
\begin{titlepage}
\maketitle
\end{titlepage}
\tableofcontents
<++>
\end{document}

63
a5_booklet.tex Normal file
View File

@ -0,0 +1,63 @@
%%% PAGE LAYOUT
\documentclass[a5paper, 10pt, twocolumn, twoside, english]{article}
\usepackage{geometry}
\geometry{a5paper, inner=2cm, outer=1cm, top=1.5cm, bottom=1.5cm, headheight=1cm, headsep=0.5cm}
%%% FONT AND ADDITIONAL MATH SYMBOLS
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fourier}
\usepackage{ebgaramond}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\renewcommand*{\sfdefault}{pag}
\usepackage{extarrows}
\usepackage{mathrsfs}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{wasysym}
\usepackage{subcaption}
\usepackage{hyperref}
\usepackage[english]{cleveref}
%\usepackage{multicol}
\usepackage[english]{babel}
\usepackage{blindtext}
\input{commands}
%%% TITLE
\title{\textsc{<++>}}
\author{\textit{<++>}}
\date{<++>}
\addto\captionsenglish{\def\contentsname{\textsc{Contents}}}
%%% HEAD- AND FOOTLINES
\usepackage{scrlayer-scrpage}
\pagestyle{scrheadings}
\clearscrheadfoot
\ihead{}
\chead{}
\ohead{}
\ifoot{}
\cfoot{\pagemark}
\ofoot{}
\usepackage{titlesec}
\titleformat{\section}
{\normalfont\fontsize{16}{19}\selectfont}{\thesection}{1em}{}
\titleformat{\section}
{\normalfont\fontsize{14}{17}\selectfont}{\thesection}{1em}{}
\titleformat{\subsection}
{\normalfont\fontsize{14}{17}\selectfont}{\thesubsection}{1em}{}
\begin{document}
\begin{titlepage}
\maketitle
\end{titlepage}
\tableofcontents
<++>
\end{document}

40
article.tex Normal file
View File

@ -0,0 +1,40 @@
% xelatex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\setmainfont{Brill}
\usepackage{ot-tableau}
\usepackage[backend=biber, style=authoryear-icomp]{biblatex}
\usepackage{easylist}
\usepackage{hanging}
\usepackage{hyperref}
\usepackage{blindtext}
\usepackage{tipa}
\usepackage{cgloss4e}
\usepackage{gb4e}
\usepackage{qtree}
\usepackage{enumerate}
\usepackage{longtable}
\usepackage{textgreek}
\addbibresource{$HOME/Documents/LaTeX/uni.bib}
\title{<++>}
\author{<++>}
\begin{document}
\maketitle
\begin{abstract}
<++>
\end{abstract}
<++>
\printbibliography
\end{document}

54
beamer.tex Normal file
View File

@ -0,0 +1,54 @@
\documentclass{beamer}
\usepackage[backend=biber, style=authoryear-icomp]{biblatex}
\resetcounteronoverlays{exx}
\usepackage{tikz}
\usepackage{blindtext}
\usepackage{tipa}
\usepackage{cgloss4e}
\usepackage{gb4e}
\usepackage{qtree}
\usepackage{enumerate}
\usepackage{longtable}
\usepackage{textgreek}
\usepackage{parskip}
\usepackage{color}
\addbibresource{$HOME/Documents/LaTeX/uni.bib}
\usetheme{Copenhagen}
\setbeamertemplate{frametitle}[default][center]
\setlength{\parskip}{12pt}
\title{<++>}
\author{Alexander Bocken}
\institute{ETH Zürich}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\section{<++>}
\begin{frame}
\frametitle{<++>}
<++>
\end{frame}
<++>
\section{References}
\begin{frame}
\frametitle{References}
\printbibliography
\end{frame}
\end{document}

19
commands.tex Normal file
View File

@ -0,0 +1,19 @@
%%% USER-DEFINED COMMANDS
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}
\newcommand{\scal}[1]{\left\langle {#1} \right\rangle}
\newcommand{\abs}[1]{\left\lvert {#1}\right\rvert}
\newcommand{\del}{\partial}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\e}{\mathrm{e}}
\newcommand{\ii}{\mathrm{i}}
\newcommand{\dd}{\mathrm{d}}
\newcommand{\diff}[2][{}]{\frac{\dd^{#1}}{\dd#2^{#1}}}
\newcommand{\partdiff}[2][{}]{\frac{\del^{#1}}{\del#2^{#1}}}
\newcommand{\qed}{\ensuremath{\hfill\square}}
\newcommand{\mat}[1]{\ensuremath{\begin{pmatrix}#1\end{pmatrix}}}
\newcommand{\smat}[1]{\ensuremath{\left(\begin{smallmatrix}#1\end{smallmatrix}\right)}}
\renewcommand{\thesection}{\Roman{section}}
\renewcommand{\thesubsection}{\thesection.\it\alph{subsection}}

41
handout.tex Normal file
View File

@ -0,0 +1,41 @@
\documentclass[12pt]{article}
\usepackage[margin=.50in]{geometry}
\usepackage[backend=biber, style=authoryear-icomp]{biblatex}
\usepackage{ot-tableau}
\usepackage{easylist}
\usepackage{hanging}
\usepackage{hyperref}
\usepackage{blindtext}
\usepackage{tipa}
\usepackage{cgloss4e}
\usepackage{gb4e}
\usepackage{qtree}
\usepackage{enumerate}
\usepackage{longtable}
\usepackage{textgreek}
\addbibresource{$HOME/Documents/LaTeX/uni.bib}
\title{<++>}
\author{Alexander Bocken}
\pagenumbering{gobble}
\newcommand{\linia}{\rule{\linewidth}{0.5pt}}
\makeatletter
\renewcommand{\maketitle}{\begin{center}
\huge \@title\end{center}
\linia\\
{\large\@author\hfill\@date\\}}
\begin{document}
\maketitle
<++>
\printbibliography
\end{document}