Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[10pt,]{article}
- \usepackage{lmodern}
- \usepackage{amssymb,amsmath}
- \usepackage{ifxetex,ifluatex}
- \usepackage{fixltx2e} % provides \textsubscript
- \ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
- \usepackage[T1]{fontenc}
- \usepackage[utf8]{inputenc}
- \else % if luatex or xelatex
- \ifxetex
- \usepackage{mathspec}
- \usepackage{xltxtra,xunicode}
- \else
- \usepackage{fontspec}
- \fi
- \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
- \newcommand{\euro}{€}
- \fi
- % use upquote if available, for straight quotes in verbatim environments
- \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
- % use microtype if available
- \IfFileExists{microtype.sty}{%
- \usepackage{microtype}
- \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
- }{}
- \usepackage[margin=2cm]{geometry}
- \usepackage{color}
- \usepackage{fancyvrb}
- \newcommand{\VerbBar}{|}
- \newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
- \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
- % Add ',fontsize=\small' for more characters per line
- \usepackage{framed}
- \definecolor{shadecolor}{RGB}{248,248,248}
- \newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}}
- \newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{{#1}}}}
- \newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{{#1}}}
- \newcommand{\DecValTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{{#1}}}
- \newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{{#1}}}
- \newcommand{\FloatTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{{#1}}}
- \newcommand{\CharTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{{#1}}}
- \newcommand{\StringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{{#1}}}
- \newcommand{\CommentTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{{#1}}}}
- \newcommand{\OtherTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{{#1}}}
- \newcommand{\AlertTok}[1]{\textcolor[rgb]{0.94,0.16,0.16}{{#1}}}
- \newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{{#1}}}
- \newcommand{\RegionMarkerTok}[1]{{#1}}
- \newcommand{\ErrorTok}[1]{\textbf{{#1}}}
- \newcommand{\NormalTok}[1]{{#1}}
- \usepackage{graphicx}
- \makeatletter
- \def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
- \def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
- \makeatother
- % Scale images if necessary, so that they will not overflow the page
- % margins by default, and it is still possible to overwrite the defaults
- % using explicit options in \includegraphics[width, height, ...]{}
- \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
- \ifxetex
- \usepackage[setpagesize=false, % page size defined by xetex
- unicode=false, % unicode breaks when used with xetex
- xetex]{hyperref}
- \else
- \usepackage[unicode=true]{hyperref}
- \fi
- \hypersetup{breaklinks=true,
- bookmarks=true,
- pdfauthor={Me},
- pdftitle={My Title},
- colorlinks=true,
- citecolor=blue,
- urlcolor=blue,
- linkcolor=magenta,
- pdfborder={0 0 0}}
- \urlstyle{same} % don't use monospace font for urls
- \setlength{\parindent}{0pt}
- \setlength{\parskip}{6pt plus 2pt minus 1pt}
- \setlength{\emergencystretch}{3em} % prevent overfull lines
- \setcounter{secnumdepth}{0}
- %%% Use protect on footnotes to avoid problems with footnotes in titles
- \let\rmarkdownfootnote\footnote%
- \def\footnote{\protect\rmarkdownfootnote}
- %%% Change title format to be more compact
- \usepackage{titling}
- \setlength{\droptitle}{-2em}
- \title{My Title}
- \pretitle{\vspace{\droptitle}\centering\huge}
- \posttitle{\par}
- \author{Me}
- \preauthor{\centering\large\emph}
- \postauthor{\par}
- \date{}
- \predate{}\postdate{}
- \begin{document}
- \maketitle
- \subsection{Synopsis}\label{synopsis}
- ...parameter \(\lambda=0.2\) with
- \subsection{Simulations}\label{simulations}
- ...of \(\frac{1}{\lambda}=5\) of the
- \includegraphics{report1_files/figure-latex/rexpDensity-1.pdf}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment