redzuurdesem/content/boek/preamble.tex

51 lines
1.3 KiB
TeX
Raw Normal View History

2019-04-16 09:03:51 +02:00
\usepackage{tcolorbox}
2019-02-11 11:55:50 +01:00
\usepackage{etoolbox}
2019-04-16 09:03:51 +02:00
% paragraph indentation
\usepackage{parskip}
\newcommand{\nl}{\newline\indent}
2019-04-16 09:03:51 +02:00
%\setlength{\parfill}{0pt}
\setlength{\parindent}{15pt}
% to add subtitle to \maketitle
2019-02-11 11:55:50 +01:00
\makeatletter
2019-04-16 09:03:51 +02:00
\providecommand{\subtitle}[1]{
2019-02-11 11:55:50 +01:00
\apptocmd{\@title}{\par {\large #1 \par}}{}{}
}
2019-02-13 12:31:25 +01:00
\makeatother
% for png/pdf inclusion (pdfpages: full-page)
2019-02-13 12:31:25 +01:00
\usepackage{graphicx}
\graphicspath{{img/}}
\usepackage{pdfpages}
\usepackage{lmodern}
2019-04-16 09:03:51 +02:00
% for Japanese chars
2019-03-18 14:40:40 +01:00
\usepackage{xeCJK}
\setCJKmainfont[BoldFont=STHeiti,ItalicFont=STKaiti]{STSong}
2019-04-16 09:03:51 +02:00
% for itemization, other symbol
2019-02-13 12:31:25 +01:00
\renewcommand{\labelitemi}{$\circ$}
% labelitemii, iii, iv, ... kan ook
2019-02-14 16:18:54 +01:00
2019-04-16 09:03:51 +02:00
% for index
2019-02-24 21:14:11 +01:00
\usepackage{imakeidx}
\makeindex[title=Appendix,columns=2,intoc,options= -s indexstyle.ist]
\newcommand{\starbreak}{%
\fancybreak{* * *}%
}
\DeclareRobustCommand{\cs}[1]{\texttt{\char`\\#1}}
\newlength{\tpheight}\setlength{\tpheight}{0.9\textheight}
\newlength{\txtheight}\setlength{\txtheight}{0.9\tpheight}
\newlength{\tpwidth}\setlength{\tpwidth}{0.9\textwidth}
\newlength{\txtwidth}\setlength{\txtwidth}{0.9\tpwidth}
\newlength{\drop}
% hoofdstuk header style ( - 1 -, naam HF)
\chapterstyle{dash}\renewcommand*{\chaptitlefont}{\normalfont\itshape\LARGE}
\setlength{\beforechapskip}{2\onelineskip}
\setsecheadstyle{\normalfont\Large\raggedright}