2 % - Page numbers always on the right, matching the chapter
3 % number. Possibly coloring.
4 % - Improve header, remove the line, because with the listings also
5 % come lines and when they meet it looks bad. Set italics and
7 % - But be careful, too much ink can quickly have a negative
11 % - Change all tables to variable dimensions. -> use draft
12 % - (Remove all leading \$ characters from the shell
13 % examples. Alternative: invalidate according to TeX rules, so that
14 % other editors do not consider this an error. Do not automate, this
15 % must be adjusted manually.)
17 % - No novels in the listings.
21 % In loose reference to the theme CW.
22 \definecolor{CinBlueText}{RGB}{23,85,142}% "Dark blue"
23 \definecolor{CinBlue}{RGB}{35,134,220}% "Light blue"
24 \definecolor{CinRed}{RGB}{205,38,11}% "negativ"
25 \definecolor{CinOrange}{RGB}{250,125,0}% "neutral"
26 \definecolor{CinGreen}{RGB}{39,174,96}% "positiv"
27 \definecolor{CinSilver}{RGB}{127,140,141}%
28 \definecolor{CinWhite}{RGB}{239,240,241}%
29 \definecolor{CinDarkGray}{RGB}{35,38,41}%
32 % \definecolor{chaptercolour}{RGB}{23,85,142}
33 % \definecolor{sectioncolour}{RGB}{23,85,142}
34 % \definecolor{subsectioncolour}{RGB}{23,85,142}
35 % \definecolor{subsubsectioncolour}{RGB}{23,85,142}
37 \makechapterstyle{morrow}{% requires graphicx package
38 \chapterstyle{default}
39 \renewcommand*{\chapnamefont}{%
40 \normalfont\Large\scshape\raggedleft\color{CinBlueText}}
41 \renewcommand*{\chapnumfont}{%
42 \normalfont\Large\bfseries\sffamily\color{CinBlueText}}
43 \renewcommand*{\printchapternum}{%
44 \chapnumfont\resizebox{!}{3ex}{\thechapter}}
45 \renewcommand*{\afterchapternum}{% FIXME vskip?
46 \par\hspace{1.5cm}\hrule\vskip\midchapskip}
47 \renewcommand*{\chaptitlefont}{% Overwrites toc
48 \normalfont\Huge\bfseries\sffamily\raggedleft\color{CinBlueText}}
51 \addtodef{\printpartname}{\color{CinBlueText}}{}% Part
52 \addtodef{\printchaptername}{\color{CinBlueText}}{}% Chapter
53 \setsecheadstyle{\Large\bfseries\color{CinBlueText}}% Section
54 \setsubsecheadstyle{\large\bfseries\color{CinBlueText}}% SubSection
55 \setsubsubsecheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubSubSection
56 \setparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% Paragraph
57 \setsubparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubParagraph
60 \addtodef{\tocheadstart}{\color{CinBlueText}}{} % If you want the whole TOC to be blue also
61 %\addtoiargdef{\printtoctitle}{\color{CinBlueText}}{} % If you just want the TOC title blue
65 \hypersetup{colorlinks=true,
66 linkcolor=[named]{CinBlueText},
67 citecolor=[named]{CinBlueText},
68 filecolor=[named]{CinBlueText},
69 urlcolor=[named]{CinBlueText},
70 bookmarksnumbered=true,
71 pdftitle={The Comprehensive User Manual},
72 pdfauthor={The Cinelerra-GG Community},
73 pdfsubject={Video Editing},
74 pdfkeywords={Cinelerra-GG, CGG, Cin5, Infinity, User Manual, Video
75 editing system, Video editing program}
80 % FIXME: PDF c&p d o e s n o t w o r k.
81 \lstset{% Common settings
84 framextopmargin=0.25ex,
85 framexbottommargin=0.25ex,
86 backgroundcolor=\color{CinWhite},
88 % No numbers by default. If required, activate explicitly in the
89 % respective lstlisting: numbers=left|right or define a new style
92 numberstyle=\small\color{CinSilver},
93 numbersep=1em, % how far the line-numbers are from the code
96 showstringspaces=false,
100 breaklines=true, % sets automatic line breaking
102 title=\lstname, % show the filename of files included with
103 % \lstinputlisting; also try caption instead of
107 postbreak=\mbox{\textcolor{CinSilver}{$\hookrightarrow$}\space},
108 keywordstyle=\color{CinDarkGray},
109 commentstyle=\footnotesize\color{gray},
110 stringstyle=\color{CinDarkGray},
111 % Retains the characters as entered:
112 literate={-}{-}1 {*}{*}1
114 % Our settings specifically for the shell.
115 % Usage: \begin{lstlisting}[style=sh]
116 \lstdefinestyle{sh}{%
118 morekeywords={cp,gdb,git,grep,make,mkdir,tee}
120 % A pseudo-style that does nothing.
121 % Usage: \begin{lstlisting}[style=nil] instead of:
122 % \begin{lstlisting}[]
123 \lstdefinestyle{nil}{}
126 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
128 %====================== Page geometry
129 % \geometry{left=2.0cm}
130 % \geometry{right=2.0cm}
131 % \geometry{top=2.0cm}
132 % \geometry{bottom=2.0cm}
134 \parindent=0.0cm % first indent in section
135 \righthyphenmin=2 % hyphen last charecter
136 \setsecnumdepth{subsubsection} % section numeration depth
139 %\pagenumbering{roman}
140 %\renewcommand{\chapterheadstart}{
141 %%\vspace*{\beforechapskip}
143 %\renewcommand{\chapnamefont}{\normalfont\large\scshape}
144 %\renewcommand{\chapnumfont}{\normalfont\large\scshape}
145 %\renewcommand{\chaptitlefont}{\normalfont\large\scshape}
146 %\renewcommand{\printchaptername}{\normalfont\large\scshape История}
147 %\renewcommand{\chapternamenum}{ }
148 %\renewcommand{\printchapternum}{\chapnumfont \thechapter}
149 %\renewcommand{\afterchapternum}{. }
150 %\renewcommand{\afterchapskip}{\vspace{2ex}}
151 %\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip
154 %\chapterstyle{madsen} % one of chapter header style for memoir documentclass
155 \chapterstyle{morrow} % one of chapter header style for memoir documentclass
156 % \renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
157 \renewcommand{\chapterheadstart}{}
158 %\renewcommand{\beforechapskip}{\vspace{2pt}}
160 %\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text.
161 \setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text.
163 \renewcommand{\nomname}{Glossary} % glossary name
165 % Define the Cinnelerra-GG wordmark - a rough draft that can be
166 % adapted at any time. To be used in the text with \CGG{}
168 \def\GG{\textsc{G\kern-0.1em G}}
169 \def\CGG{\textsc{Cinelerra-\GG}}
170 \def\INF{\textsc{Infinity}}
171 \def\CGGI{\CGG\;\INF}
173 % Hyphenation for unknown words and technical terms
182 %%% TeX-master: "../CinelerraGG_Manual"