X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fsettings.tex;h=38ab80984b439ef52606e6206cf3050abf90a1f8;hp=86cf48a76a99674fea670c73f313501f95cd2864;hb=d412275f729d858ce09b3ecebb7657196744405a;hpb=7bb811b9f4e3872bdeae155bc63242aa096fc4dc diff --git a/common/settings.tex b/common/settings.tex index 86cf48a..38ab809 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -1,23 +1,18 @@ % FIXME Settings % - Page numbers always on the right, matching the chapter -% number. Possibly coloring. -% - Improve header, remove the line, because with the listings also -% come lines and when they meet it looks bad. Set italics and -% color if necessary. -% - But be careful, too much ink can quickly have a negative -% effect. +% number. % FIXME Text % - Change all tables to variable dimensions. -> use draft -% - (Remove all leading \$ characters from the shell -% examples. Alternative: invalidate according to TeX rules, so that -% other editors do not consider this an error. Do not automate, this -% must be adjusted manually.) -% - no * in the font -% - No novels in the listings. +% - Remove all leading \$ characters from the shell examples. % The Settings +% Set up the page layout +% memman.pdf capter 2: Laying out the page (READ IT!) +% example: memsty.sty +\settypeblocksize{8.75in}{34pc}{*} + % In loose reference to the theme CW. \definecolor{CinBlueText}{RGB}{23,85,142}% "Dark blue" \definecolor{CinBlue}{RGB}{35,134,220}% "Light blue" @@ -57,8 +52,10 @@ \setsubparaheadstyle{\normalfont\bfseries\color{CinBlueText}}% SubParagraph % Table of contents -\addtodef{\tocheadstart}{\color{CinBlueText}}{} % If you want the whole TOC to be blue also -%\addtoiargdef{\printtoctitle}{\color{CinBlueText}}{} % If you just want the TOC title blue +\addtoiargdef{\printtoctitle}{\color{CinBlueText}}{} % If you just want the TOC title blue +% \addtodef{\tocheadstart}{\color{CinBlueText}}{} % If you want the +% whole TOC to be blue also. The page numbers are also colored, but +% these are not links, that's confusing. % PDF properties @@ -68,7 +65,7 @@ filecolor=[named]{CinBlueText}, urlcolor=[named]{CinBlueText}, bookmarksnumbered=true, - pdftitle={The Comprehensive User Manual}, + pdftitle={Cinelerra-GG -- The Comprehensive User Manual}, pdfauthor={The Cinelerra-GG Community}, pdfsubject={Video Editing}, pdfkeywords={Cinelerra-GG, CGG, Cin5, Infinity, User Manual, Video @@ -77,7 +74,6 @@ % Package listings -% FIXME: PDF c&p d o e s n o t w o r k. \lstset{% Common settings frame=single, framerule=0pt, @@ -104,6 +100,8 @@ % title inputencoding=utf8, extendedchars=true, + % Required for c&p (PDF -> Clipboard): + columns=fullflexible, postbreak=\mbox{\textcolor{CinSilver}{$\hookrightarrow$}\space}, keywordstyle=\color{CinDarkGray}, commentstyle=\footnotesize\color{gray}, @@ -125,43 +123,26 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%====================== Page geometry -% \geometry{left=2.0cm} -% \geometry{right=2.0cm} -% \geometry{top=2.0cm} -% \geometry{bottom=2.0cm} - \parindent=0.0cm % first indent in section \righthyphenmin=2 % hyphen last charecter \setsecnumdepth{subsubsection} % section numeration depth -%\pagestyle{plain} -%\pagenumbering{roman} -%\renewcommand{\chapterheadstart}{ -%%\vspace*{\beforechapskip} -%\hrule\medskip} -%\renewcommand{\chapnamefont}{\normalfont\large\scshape} -%\renewcommand{\chapnumfont}{\normalfont\large\scshape} -%\renewcommand{\chaptitlefont}{\normalfont\large\scshape} -%\renewcommand{\printchaptername}{\normalfont\large\scshape История} -%\renewcommand{\chapternamenum}{ } -%\renewcommand{\printchapternum}{\chapnumfont \thechapter} -%\renewcommand{\afterchapternum}{. } -%\renewcommand{\afterchapskip}{\vspace{2ex}} -%\renewcommand{\afterchaptertitle}{\par\nobreak\medskip\hrule\vskip -%\afterchapskip} -%} -%\chapterstyle{madsen} % one of chapter header style for memoir documentclass -\chapterstyle{morrow} % one of chapter header style for memoir documentclass +% We use the chapter header style: +\chapterstyle{morrow} + % \renewcommand{\printchaptername}{\normalfont\large\scshape Chapter} \renewcommand{\chapterheadstart}{} %\renewcommand{\beforechapskip}{\vspace{2pt}} %\renewcommand{\@pnumwidth}{3em} % memoir class, more space between chapter number and text. \setlength{\cftfigurenumwidth}{4em} % memoir class, more space between figure number and text. +\setlength{\cftsectionnumwidth}{2.7em} % memoir class, more space between section number and text +\setlength{\cftsubsectionnumwidth}{3.6em} % memoir class, more space between subsection number and text \renewcommand{\nomname}{Glossary} % glossary name +% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + % Define the Cinnelerra-GG wordmark - a rough draft that can be % adapted at any time. To be used in the text with \CGG{} % or % \CGGI{}