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!)
14 \settypeblocksize{8.75in}{34pc}{*}
16 % In loose reference to the theme CW.
17 \definecolor{CinBlueText}{RGB}{23,85,142}% "Dark blue"
18 \definecolor{CinBlue}{RGB}{35,134,220}% "Light blue"
19 \definecolor{CinRed}{RGB}{205,38,11}% "negativ"
20 \definecolor{CinOrange}{RGB}{250,125,0}% "neutral"
21 \definecolor{CinGreen}{RGB}{39,174,96}% "positiv"
22 \definecolor{CinSilver}{RGB}{127,140,141}%
23 \definecolor{CinWhite}{RGB}{239,240,241}%
24 \definecolor{CinDarkGray}{RGB}{35,38,41}%
27 % \definecolor{chaptercolour}{RGB}{23,85,142}
28 % \definecolor{sectioncolour}{RGB}{23,85,142}
29 % \definecolor{subsectioncolour}{RGB}{23,85,142}
30 % \definecolor{subsubsectioncolour}{RGB}{23,85,142}
32 \makechapterstyle{morrow}{% requires graphicx package
33 \chapterstyle{default}
34 \renewcommand*{\chapnamefont}{%
35 \normalfont\Large\scshape\raggedleft\color{CinBlueText}}
36 \renewcommand*{\chapnumfont}{%
37 \normalfont\Large\bfseries\sffamily\color{CinBlueText}}
38 \renewcommand*{\printchapternum}{%
39 \chapnumfont\resizebox{!}{3ex}{\thechapter}}
40 \renewcommand*{\afterchapternum}{% FIXME vskip?
41 \par\hspace{1.5cm}\hrule\vskip\midchapskip}
42 \renewcommand*{\chaptitlefont}{% Overwrites toc
43 \normalfont\Huge\bfseries\sffamily\raggedleft\color{CinBlueText}}
46 \addtodef{\printpartname}{\color{CinBlueText}}{}% Part
47 \addtodef{\printchaptername}{\color{CinBlueText}}{}% Chapter
48 \setsecheadstyle{\Large\bfseries\color{CinBlueText}}% Section
49 \setsubsecheadstyle{\large\bfseries\color{CinBlueText}}% SubSection
50 \setsubsubsecheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubSubSection
51 \setparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% Paragraph
52 \setsubparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubParagraph
55 \addtoiargdef{\printtoctitle}{\color{CinBlueText}}{} % If you just want the TOC title blue
56 % \addtodef{\tocheadstart}{\color{CinBlueText}}{} % If you want the
57 % whole TOC to be blue also. The page numbers are also colored, but
58 % these are not links, that's confusing.
62 \hypersetup{colorlinks=true,
63 linkcolor=[named]{CinBlueText},
64 citecolor=[named]{CinBlueText},
65 filecolor=[named]{CinBlueText},
66 urlcolor=[named]{CinBlueText},
67 bookmarksnumbered=true,
68 pdftitle={Cinelerra-GG -- The Comprehensive User Manual},
69 pdfauthor={The Cinelerra-GG Community},
70 pdfsubject={Video Editing},
71 pdfkeywords={Cinelerra-GG, CGG, Cin5, Infinity, User Manual, Video
72 editing system, Video editing program}
77 \lstset{% Common settings
80 framextopmargin=0.25ex,
81 framexbottommargin=0.25ex,
82 backgroundcolor=\color{CinWhite},
84 % No numbers by default. If required, activate explicitly in the
85 % respective lstlisting: numbers=left|right or define a new style
88 numberstyle=\small\color{CinSilver},
89 numbersep=1em, % how far the line-numbers are from the code
92 showstringspaces=false,
96 breaklines=true, % sets automatic line breaking
98 title=\lstname, % show the filename of files included with
99 % \lstinputlisting; also try caption instead of
103 % Required for c&p (PDF -> Clipboard):
104 columns=fullflexible,
105 postbreak=\mbox{\textcolor{CinSilver}{$\hookrightarrow$}\space},
106 keywordstyle=\color{CinDarkGray},
107 commentstyle=\footnotesize\color{gray},
108 stringstyle=\color{CinDarkGray},
109 % Retains the characters as entered:
110 literate={-}{-}1 {*}{*}1
112 % Our settings specifically for the shell.
113 % Usage: \begin{lstlisting}[style=sh]
114 \lstdefinestyle{sh}{%
116 morekeywords={cp,gdb,git,grep,make,mkdir,tee}
118 % A pseudo-style that does nothing.
119 % Usage: \begin{lstlisting}[style=nil] instead of:
120 % \begin{lstlisting}[]
121 \lstdefinestyle{nil}{}
124 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126 \parindent=0.0cm % first indent in section
127 \righthyphenmin=2 % hyphen last charecter
128 \setsecnumdepth{subsubsection} % section numeration depth
130 % We use the chapter header style:
131 \chapterstyle{morrow}
133 % \renewcommand{\printchaptername}{\normalfont\large\scshape Chapter}
134 \renewcommand{\chapterheadstart}{}
135 %\renewcommand{\beforechapskip}{\vspace{2pt}}
137 %\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text.
138 \setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text.
139 \setlength{\cftsectionnumwidth}{2.7em} % memoir class, more space between section number and text
140 \setlength{\cftsubsectionnumwidth}{4.2em} % memoir class, more space between subsection number and text
142 \renewcommand{\nomname}{Glossary} % glossary name
144 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
146 % Define the Cinnelerra-GG wordmark - a rough draft that can be
147 % adapted at any time. To be used in the text with \CGG{}
149 \def\GG{\textsc{G\kern-0.1em G}}
150 \def\CGG{\textsc{Cinelerra-\GG}}
151 \def\INF{\textsc{Infinity}}
152 \def\CGGI{\CGG\;\INF}
154 % Hyphenation for unknown words and technical terms
163 %%% TeX-master: "../CinelerraGG_Manual"