Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % GENERAL MANUSCRIPT TEMPLATE
- % by Nicholas E. Reith
- % DATE: November 26th, 2014
- %--------------------------------------------------------%
- % PREAMBLE
- %--------------------------------------------------------%
- % DOCUMENT CLASS
- % Change "letterpaper" to "a4" if you use a4 paper size
- \documentclass[a4,12pt, oneside]{article}
- % TITLE SECTION
- % blockquote
- \usepackage{etoolbox}
- \AtBeginEnvironment{quote}{\singlespacing\small}
- %Abstract
- \usepackage{abstract} % Allows abstract customization
- % Set the "Abstract" text to bold
- \renewcommand{\abstractnamefont}{\normalfont\bfseries}
- % Set the abstract itself to small italic text
- \renewcommand{\abstracttextfont}{\normalfont\small\itshape}
- %Title
- \usepackage{titlesec} % Allows customization of titles
- % Table
- \usepackage{booktabs}
- \usepackage{tabularx}
- \usepackage{pbox}
- %Date
- \usepackage[ngerman]{babel}
- \usepackage{datetime} % allows for including today's date
- % These two lines creates a new date format ``Month day(th), year''
- %\newdateformat{usvardate}{
- %\monthname[\THEMONTH] \ordinal{DAY}, \THEYEAR}
- \newdateformat{myformat}{
- \THEDAY{ten }\monthname[\THEMONTH], \THEYEAR}
- % MARGINS
- %NOTE: All spaces in this template are in inches, because it is
- % formatted for letterpaper (8.5 x 11 inch) paper. If you use a4
- % paper, choose different sizes in millimeters or centimeters.
- \usepackage[top=2.5cm, outer=2.5cm, inner=3cm, bottom=2.5cm]{geometry}
- %\usepackage[top=1.5in, bottom=1.5in, left=1in, right=1in]{geometry}
- % HEADERS & FOOTERS
- %Footnotes
- \usepackage[bottom]{footmisc} % Makes footnotes stick to bottom of the page
- %Headers from page 2 on
- \usepackage{fancyhdr}
- \pagestyle{fancy}
- \setlength{\headheight}{15pt}
- %\fancyheadoffset{\textwidth}
- % MATH SUPPORT
- % The amssymb package provides various useful mathematical symbols
- \usepackage{amssymb}
- % The amsthm package provides extended theorem environments
- \usepackage{amsthm}
- % The newtxmath package provides additional math symbol support
- % in Times New Roman symbols, etc.
- \usepackage{newtxmath}
- % FONTS
- \usepackage{microtype} % Slightly tweak font spacing for aesthetics
- \usepackage[utf8]{inputenc}
- \usepackage[T1]{fontenc}
- % activate arial
- % \usepackage{helvet}
- % \renewcommand{\familydefault}{\sfdefault} %
- \usepackage{newtxtext} % Makes default font Adobe Times New Roman
- % LANDSCAPE
- \usepackage{pdflscape}
- % LAUTSCHRIFT
- \usepackage{tipa}
- % LINES
- % Spacing
- \usepackage{setspace} % See \doublespacing command at the top of content.tex
- % Numbering
- \usepackage{lineno,xcolor} % See \linenumbers at the top of content.tex
- % COMMENTS
- \usepackage[colorinlistoftodos]{todonotes} % allows margin comments
- % See examples in content.tex, and here for manual:
- % http://www.ctan.org/pkg/todonotes
- \usepackage{soul} % allows for highlighting
- % GRAPHICS
- \usepackage{graphicx} % More advanced figure inclusion
- \usepackage{float} % For specifying table/figure locations, i.e. [ht!]
- % The printlen command allows the user to print the exact text width or height.
- % This is useful, when trying to create graphics (outside of LaTeX, of course)
- % with the optimal dimensions. See here for usage: http://www.ctan.org/pkg/printlen
- \usepackage{printlen}
- % TABLES
- \usepackage{longtable} % For long tables that span multiple pages
- \newcommand{\sym}[1]{\rlap{#1}}% For symbols like *** in tables
- \usepackage{tabularx} % Allows advanced table features
- \newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}}
- \newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
- \newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}}
- \usepackage{relsize} % Allows precise adjustment of font size,
- %useful for fitting tables to page width
- % REFERENCES
- \usepackage{hyperref} % For hyperlinks in the PDF
- \usepackage{url}
- % BIBTEX
- \usepackage{csquotes}
- %\usepackage[style=verbose, backend=biber]{biblatex}
- \usepackage[style=verbose, bibstyle=authoryear, backend=biber, labeldate]{biblatex}
- \usepackage{hyperref}
- \bibliography{biblio}
- \addbibresource{references/biblio.bib}
- %\renewbibmacro*{cite:full}{%
- % \usebibmacro{cite:full:citepages}%
- % \printtext[bibhyperref]{\printtext[bibhypertarget]{%
- % \usedriver
- % {\DeclareNameAlias{sortname}{default}}
- % {\thefield{entrytype}}}%
- % \usebibmacro{shorthandintro}}}
- \renewbibmacro*{cite:full}{%
- \usebibmacro{cite:full:citepages}%
- \printtext[bibhyperref]{%
- \printtext[bibhypertarget]{%
- \usedriver
- {\DeclareNameAlias{sortname}{default}}
- {\thefield{entrytype}}}%
- \usebibmacro{shorthandintro}}}
- \DeclareCiteCommand{\cite}
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite:authoryear}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
- \DeclareCiteCommand{\parencite}[\mkbibparens]
- {\usebibmacro{prenote}}
- {\usebibmacro{citeindex}%
- \usebibmacro{cite:authoryear}}
- {\multicitedelim}
- {\usebibmacro{cite:postnote}}
- \newbibmacro*{cite:labelyear+extrayear}{%
- \iffieldundef{labelyear}
- {}
- {\printtext[bibhyperref]{%
- \printfield{labelyear}%
- \printfield{extrayear}}}}
- \renewbibmacro*{cite:authoryear}{%
- \printnames{labelname}%
- \setunit*{\nameyeardelim}%
- \printtext[bibhyperlink]{%
- \usebibmacro{cite:labelyear+extrayear}}}
- \renewbibmacro*{date}{\printdateextralabel}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement