-
Notifications
You must be signed in to change notification settings - Fork 1
/
book-greyscale.tex
64 lines (48 loc) · 1.33 KB
/
book-greyscale.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
% use uplatex.
% NOTE: `tikz` package requires the `dvipdfmx` driver specification at the global level.
%\documentclass[a4j,openright,dvipdfmx]{ujbook}
\documentclass[a4j,openany,dvipdfmx]{ujbook}
\providecommand{\rootpath}{.}
% Parameters.
\usepackage{\rootpath/main/params}
% See sty/60-images-color.sty .
\newif\ifCOLORENABLED
\COLORENABLEDfalse % greyscale.
% Packages and styles.
\usepackage{\rootpath/sty/10-setup}
\usepackage{\rootpath/sty/20-rogyconf}
\usepackage{\rootpath/sty/30-styles}
\usepackage{\rootpath/sty/31-listing-environments}
\usepackage{\rootpath/sty/31-listing-rust}
\usepackage{\rootpath/sty/31-admonitions}
\usepackage{\rootpath/sty/35-code-commands}
\usepackage{\rootpath/sty/50-math}
\usepackage{\rootpath/sty/60-images-color}
\title{\booktitle{}}
\date{}
\author{\bookauthor{}}
\begin{document}
\maketitle
\thispagestyle{empty}\null
\clearpage
\frontmatter
\cleardoublepage
\include{main/frontmatter}
\cleardoublepage
\pagestyle{rogiken-style-frontmatter}
\tableofcontents
\cleardoublepage
\mainmatter
\pagestyle{rogiken-style}
\include{main/files}
%\appendix
%\cleardoublepage
%\include{main/appendix}
\backmatter
\renewcommand{\parttitle}{}
\cleardoublepage
\include{main/afterword}
%\printindex
\cleartoleftpage
\include{colophon}
\end{document}