forked from mickmcq/iste422book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
preamble-basic.tex
executable file
·75 lines (61 loc) · 2.15 KB
/
preamble-basic.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\documentclass[12pt]{article}
\usepackage[breaklinks=true,colorlinks=true,urlcolor=linklabelcolor,linkcolor=linklabelcolor,bookmarks=true]{hyperref}
% titles, sections, toc,
% geometry
\input{titlessectionstoc.tex}
% graphics
\usepackage{graphicx}
% figures
\input{figuresettings.tex}
% lists
\input{listsettings.tex}
% colors
\input{colorsettings}
% listings
\input{listingssettings.tex}
% tikz pgf settings
\input{tikzsettings.tex}
% tables
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{array}
\usepackage{colortbl}
% fontsettings
%\input{fontsettings.tex}
%\input{fontsettings-baskf.tex}
%\input{fontsettings-caslonpro.tex}
%\input{fontsettings-erewhon.tex}
\input{fontsettings-fbb.tex}
%\input{fontsettings-fell.tex}
% misc
\input{widths.tex}
\input{miscsettings.tex}
% figures-only display
\usepackage[floats,xetex,tightpage]{preview}
\setlength\PreviewBorder{9pt}
% macro defined by
% pandoc
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
% pandoc syntax
% highlighting
\input{pandocSyntax}
% document
% Pagebreak before each "chapter"
\usepackage{titlesec}
\newcommand{\sectionbreak}{\clearpage}
\begin{document}
\lstset{language=SQL,upquote=true}
\newcommand{\qq}{\symbol{34}} % 34 is the decimal ascii code for "
\LetLtxMacro{\OldIncludegraphics}{\includegraphics}
\renewcommand{\includegraphics}[2][]{\OldIncludegraphics[%
height=6cm,%
#1]{#2}}
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newenvironment{cslreferences}%
{\setlength{\parindent}{0pt}%
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces}%
{\par}
\input{\jobname.tex}
\end{document}