From 6d55a022562fbbc5b053d3ed076efba0bd6d0f92 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sat, 25 Apr 2020 23:02:00 +0200 Subject: [PATCH] initial setup --- a4_manifesto.tex | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ a5_booklet.tex | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ article.tex | 40 ++++++++++++++++++++++++++++++ beamer.tex | 54 +++++++++++++++++++++++++++++++++++++++++ commands.tex | 19 +++++++++++++++ handout.tex | 41 +++++++++++++++++++++++++++++++ 6 files changed, 280 insertions(+) create mode 100644 a4_manifesto.tex create mode 100644 a5_booklet.tex create mode 100644 article.tex create mode 100644 beamer.tex create mode 100644 commands.tex create mode 100644 handout.tex diff --git a/a4_manifesto.tex b/a4_manifesto.tex new file mode 100644 index 0000000..2e268e4 --- /dev/null +++ b/a4_manifesto.tex @@ -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} diff --git a/a5_booklet.tex b/a5_booklet.tex new file mode 100644 index 0000000..86e47a4 --- /dev/null +++ b/a5_booklet.tex @@ -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} diff --git a/article.tex b/article.tex new file mode 100644 index 0000000..2744a63 --- /dev/null +++ b/article.tex @@ -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} diff --git a/beamer.tex b/beamer.tex new file mode 100644 index 0000000..46b492c --- /dev/null +++ b/beamer.tex @@ -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} diff --git a/commands.tex b/commands.tex new file mode 100644 index 0000000..71aaeb1 --- /dev/null +++ b/commands.tex @@ -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}} \ No newline at end of file diff --git a/handout.tex b/handout.tex new file mode 100644 index 0000000..65a19a2 --- /dev/null +++ b/handout.tex @@ -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}