2 % - Page numbers always on the right, matching the chapter
6 % - Change all tables to variable dimensions. -> use draft
7 % - Remove all leading \$ characters from the shell examples.
11 % Set up the page layout
12 % memman.pdf capter 2: Laying out the page (READ IT!)
15 \settypeblocksize{8.75in}{34pc}{*}
18 % In loose reference to the theme CW.
19 \definecolor{CinBlueText}{RGB}{23,85,142}% "Dark blue"
20 \definecolor{CinBlue}{RGB}{35,134,220}% "Light blue"
21 \definecolor{CinRed}{RGB}{205,38,11}% "negativ"
22 \definecolor{CinOrange}{RGB}{250,125,0}% "neutral"
23 \definecolor{CinGreen}{RGB}{39,174,96}% "positiv"
24 \definecolor{CinSilver}{RGB}{127,140,141}%
25 \definecolor{CinWhite}{RGB}{239,240,241}%
26 \definecolor{CinDarkGray}{RGB}{35,38,41}%
29 % \definecolor{chaptercolour}{RGB}{23,85,142}
30 % \definecolor{sectioncolour}{RGB}{23,85,142}
31 % \definecolor{subsectioncolour}{RGB}{23,85,142}
32 % \definecolor{subsubsectioncolour}{RGB}{23,85,142}
35 \makechapterstyle{morrow}{% requires graphicx package
36 \chapterstyle{default}
37 \renewcommand*{\chapnamefont}{%
38 \normalfont\Large\scshape\raggedleft\color{CinBlueText}}
39 \renewcommand*{\chapnumfont}{%
40 \normalfont\Large\bfseries\sffamily\color{CinBlueText}}
41 \renewcommand*{\printchapternum}{%
42 \chapnumfont\resizebox{!}{3ex}{\thechapter}}
43 \renewcommand*{\afterchapternum}{% FIXME vskip?
44 \par\hspace{1.5cm}\hrule\vskip\midchapskip}
45 \renewcommand*{\chaptitlefont}{% Overwrites toc
46 \normalfont\Huge\bfseries\sffamily\raggedleft\color{CinBlueText}}
50 \addtodef{\printpartname}{\color{CinBlueText}}{}% Part
51 \addtodef{\printchaptername}{\color{CinBlueText}}{}% Chapter
52 \setsecheadstyle{\Large\bfseries\color{CinBlueText}}% Section
53 \setsubsecheadstyle{\large\bfseries\color{CinBlueText}}% SubSection
54 \setsubsubsecheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubSubSection
55 \setparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% Paragraph
56 \setsubparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubParagraph
59 \addtoiargdef{\printtoctitle}{\color{CinBlueText}}{} % If you just want the TOC title blue
60 % \addtodef{\tocheadstart}{\color{CinBlueText}}{} % If you want the
61 % whole TOC to be blue also. The page numbers are also colored, but
62 % these are not links, that's confusing.
66 \hypersetup{colorlinks=true,
67 linkcolor=[named]{CinBlueText},
68 citecolor=[named]{CinBlueText},
69 filecolor=[named]{CinBlueText},
70 urlcolor=[named]{CinBlueText},
71 bookmarksnumbered=true,
72 pdftitle={Cinelerra-GG -- The Comprehensive User Manual},
73 pdfauthor={The Cinelerra-GG Community},
74 pdfsubject={Video Editing},
75 pdfkeywords={Cinelerra-GG, CGG, Cin5, Infinity, User Manual, Video
76 editing system, Video editing program}
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 % Required for c&p (PDF -> Clipboard):
108 columns=fullflexible,
109 postbreak=\mbox{\textcolor{CinSilver}{$\hookrightarrow$}\space},
110 keywordstyle=\color{CinDarkGray},
111 commentstyle=\footnotesize\color{gray},
112 stringstyle=\color{CinDarkGray},
113 % Retains the characters as entered:
114 literate={-}{-}1 {*}{*}1
116 % Our settings specifically for the shell.
117 % Usage: \begin{lstlisting}[style=sh]
118 \lstdefinestyle{sh}{%
120 morekeywords={cp,gdb,git,grep,make,mkdir,tee}
122 % A pseudo-style that does nothing.
123 % Usage: \begin{lstlisting}[style=nil] instead of:
124 % \begin{lstlisting}[]
125 \lstdefinestyle{nil}{}
128 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130 \parindent=0.0cm % first indent in section
131 \righthyphenmin=2 % hyphen last charecter
133 \setsecnumdepth{subsubsection} % section numeration depth
135 % We use the chapter header style:
136 \chapterstyle{morrow}
139 % \renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
140 \renewcommand{\chapterheadstart}{}
141 %\renewcommand{\beforechapskip}{\vspace{2pt}}
143 %\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text.
144 \setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text.
145 \setlength{\cftsectionnumwidth}{2.7em} % memoir class, more space between section number and text
146 \setlength{\cftsubsectionnumwidth}{3.6em} % memoir class, more space between subsection number and text
148 \renewcommand{\nomname}{Glossary} % glossary name
150 % \nameref emulation for LaTeX2HTML
152 \renewcommand{\nameref}[1]{\ref{#1}}
154 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
156 % Define the Cinnelerra-GG wordmark - a rough draft that can be
157 % adapted at any time. To be used in the text with \CGG{}
159 \def\GG{\textsc{G\kern-0.1em G}}
160 \def\CGG{\textsc{Cinelerra-\GG}}
161 \def\INF{\textsc{Infinity}}
162 \def\CGGI{\CGG\;\INF}
164 % Hyphenation for unknown words and technical terms
173 %%% TeX-master: "../CinelerraGG_Manual"