latex preamble

6

Click here to load reader

Upload: alex-cowan

Post on 06-Dec-2015

217 views

Category:

Documents


3 download

DESCRIPTION

Has words

TRANSCRIPT

Page 1: LaTeX Preamble

LaTeX Preamble from JPEHS:

\documentclass[10pt]{article}\setcounter{tocdepth}{-1} \setcounter{secnumdepth}{-1} \usepackage{tabulary}\usepackage{cancel}\usepackage{pstricks}\usepackage{umoline}\usepackage{ulem}\usepackage{booktabs}\setlength{\heavyrulewidth}{1pt}\setlength{\lightrulewidth}{0.5pt}\usepackage{multicol}\usepackage{moredefs,lips}\usepackage{geometry} \geometry{a4paper} %use for normal A4 \let\oldquote\quote\renewcommand\quote{\small\oldquote}\let\oldquotation\quotation\renewcommand\quotation{\small\oldquotation}

\usepackage[german,french,greek,british]{babel}\usepackage[autostyle]{csquotes}\usepackage[idemtracker=constrict,ibidtracker=constrict,babel=hyphen]{biblatex-chicago}\DeclareLanguageMapping{british}{cms-american}

\defbibheading{bibliography}{\section*{Bibliography}}%\defbibheading{primary sources}{\section*{Primary Sources}} %\defbibheading{secondary sources}{\section*{Secondary Sources}} \defbibheading{bibliography}{}\bibliography{Bibliography.bib}\renewcommand*{\bibnamedash}{% \hspace*{1em}\nopunct}\setcounter{biburlnumpenalty}{900}\setcounter{biburllcpenalty}{900}\newcommand{\qu}{\enquote}\newcommand{\pqu}{\textquote}\usepackage[british,cleanlook]{isodate}

\usepackage{picinpar,graphicx,subfig}

Page 2: LaTeX Preamble

\usepackage{parallel}\usepackage{amssymb}\usepackage{amsmath}\usepackage{epstopdf}

\usepackage{rotfloat}\floatstyle{plain}\floatname{example}{Figure} \newfloat{example}{tbp}{lop} \newfloat{tables}{tbp}{lop}\floatname{tables}{Table}\setlength{\textfloatsep}{14pt}

\usepackage[hang,norule,ragged%,para]{footmisc}\addtolength{\footskip}{\baselineskip}\setlength{\footnotemargin}{4mm}\setlength{\footnotesep}{0cm}\makeatletter\let\splitfootnoterule=\pagefootnoterule\makeatother

\usepackage{unicode-math}\setmathfont{xits-math.otf}\setmathfont[range={"2022}]{xits-math.otf}\setmathfont[range=\mathup/{latin,Latin,num,greek,Greek}]{Baskerville}\setmathfont[range=\mathit/{latin,Latin,num,greek,Greek}]{Baskerville-Italic}

\usepackage{fontspec}\defaultfontfeatures{Numbers=Lining,Ligatures=Common,Ligatures=TeX,SmallCapsFeatures={Letters=SmallCaps,LetterSpace=1.0}}\setromanfont{Baskerville}\setsansfont[Scale=MatchLowercase]{Baskerville}\setmathrm{Baskerville}\setmathsf{Baskerville-Italic}\setmonofont{Baskerville}

\renewcommand{\normalsize}{\fontsize{10.5}{14}\selectfont}\renewcommand{\footnotesize}{\fontsize{8}{10.5}\selectfont}

Page 3: LaTeX Preamble

\renewcommand{\small}{\fontsize{9.5}{13}\selectfont}\renewcommand{\large}{\fontsize{12}{14}\selectfont}\renewcommand{\LARGE}{\fontsize{14}{19}\selectfont}\newcommand{\tabletype}{\fontsize{9}{12}\selectfont}\newcommand{\headertype}{\fontsize{10}{13}\selectfont}\newcommand{\titletype}{\fontsize{18}{22}\selectfont}\newcommand{\subtitletype}{\fontsize{14}{16}\selectfont}\newcommand{\authortype}{\fontsize{13}{16}\selectfont}\newcommand{\parttitletype}{\fontsize{17}{22}\selectfont}\newcommand{\fulltitletitle}{\fontsize{12}{16}\selectfont}\newcommand{\authorfulltitlepage}{\fontsize{11}{13}\selectfont}\newcommand{\copyrighttype}{\fontsize{8}{11}\selectfont}\newcommand{\dedicationtype}{\fontsize{12}{15}\selectfont}\usepackage{fancyhdr}\pagestyle{fancy}\renewcommand{\sectionmark}[1]{\markboth{\textit #1}{}}\renewcommand{\sectionmark}[1]{\markright{\textit #1}}\fancyheadoffset[LE,RO]{2.5pc}\fancyhead{}\fancyhead[LO]{\makebox[\textwidth][r]{\textit\rightmark}\makebox[2.5pc][r]{\thepage}} % \fancyhead[LE]{\makebox[5pc][l]{\thepage}\textit\leftmark} \fancyfoot{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt}

\usepackage{enumitem}\renewlist{itemize}{itemize}{1}\setlist[itemize]{label=\textbullet,itemsep=0pt,leftmargin=1em,parsep=0pt,partopsep=-4pt}\renewlist{enumerate}{enumerate}{1}\setlist[enumerate]{label=\arabic*,itemsep=0pt,leftmargin=1em,parsep=0pt,partopsep=-4pt}

\setlength{\parindent}{1em}\setlength{\parskip}{0pt}

\usepackage{titling}\setlength{\droptitle}{-2.5pc}\pretitle{\begin{flushleft}\LARGE}\posttitle{\par\vskip 0.5em\end{flushleft}}\preauthor{\begin{flushleft}\normalsize\sc\lineskip 0.5em}

Page 4: LaTeX Preamble

\postauthor{\par\vskip 3pc\end{flushleft}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SCHENKERIAN COMMANDS %%%%%%%%%\newcommand{\thf}{$\therefore$ }\newcommand{\olax}{$\overline{\forall \mathrm x}$}\newcommand{\ax}{$\forall \mathrm x$}\newcommand{\olex}{$\overline{\exists \mathrm x}$}\newcommand{\ex}{$\exists \mathrm x$}\newcommand{\olpx}{$\overline{\Phi \mathrm x}$}\newcommand{\px}{$\Phi \mathrm x$}\newcommand{\phallus}{$\Phi$}\newcommand{\oba}{\emph{objet a}}\newcommand{\sa}{S(\cancel{A})}\newcommand{\sda}{\cancel{S}$\Diamond a$}\newcommand{\being}{$\text{\xcancel{being}}$}\newcommand{\Sein}{$\text{\xcancel{Sein}}$}

\newcommand{\carateight}{$\widehat{8}$}\newcommand{\caratseven}{$\widehat{7}$}\newcommand{\caratsix}{$\widehat{6}$}\newcommand{\caratfive}{$\widehat{5}$}\newcommand{\caratfour}{$\widehat{4}$}\newcommand{\caratthree}{$\widehat{3}$}\newcommand{\carattwo}{$\widehat{2}$}\newcommand{\caratone}{$\widehat{1}$}\newcommand{\void}{$\varnothing$}\newcommand{\slide}{\textbf{[slide]}}\newcommand{\build}{\textbf{[build]}}

\newcommand{\twofive}{$^{\widehat{2}}$\kern-0.45em$_{\text{V}}$}\newcommand{\threeone}{$^{\widehat{3}}$\kern-0.35em$_{\text{I}}$}\newcommand{\threethree}{$^{\widehat{3}}$\kern-0.5em$_{\text{III}}$}\newcommand{\oneone}{$^{\widehat{1}}$\kern-0.35em$_{\text{I}}$}\newcommand{\fiveone}{$^{\widehat{5}}$\kern-0.35em$_{\text{I}}$}

\begin{document}\title{\mytitle}\author{\myauthor}\date{}\renewcommand{\figurename}{Example}

Page 5: LaTeX Preamble

%\renewcommand{\maketitle}{}

\frenchspacing\maketitle