From: Спицын Андрей Date: Sun, 28 Apr 2019 21:06:11 +0000 (+0300) Subject: Move settings to separate file. New file for title X-Git-Tag: 2021-05~248 X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=commitdiff_plain;h=1c25f9273a30f75980780a070a1cc01eb0fc30dc Move settings to separate file. New file for title --- diff --git a/CinelerraGG_Manual.tex b/CinelerraGG_Manual.tex index 475cb7a..1bf7d8d 100644 --- a/CinelerraGG_Manual.tex +++ b/CinelerraGG_Manual.tex @@ -1,35 +1,20 @@ % -\documentclass[letter,14pt,oneside,openright,svgnames]{memoir} % paper size, font size and other options for document -\input{common/packages.tex} % common packages +\documentclass[ +letter, +14pt, +oneside, +openright, +svgnames +]{memoir} % paper size, font size and other options for document +\input{common/packages.tex} % common packages \begin{document} +\input{common/title.tex} % create and use custom title page -\titleLL % use cutom title - -\thispagestyle{empty} % no page numbers +\thispagestyle{empty} % no page numbers \newpage -%\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 -%\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter} -\renewcommand{\chapterheadstart}{} -%\renewcommand{\beforechapskip}{\vspace{2pt}} \frontmatter %\pagenumbering{Roman} diff --git a/common/packages.tex b/common/packages.tex index d4cbb6c..58b08b0 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -99,43 +99,4 @@ -% Title page definition -%\providecommand{\HUGE}{\Huge}% if not using memoir -\newlength{\drop}% for my convenience -%% specify the Webomints family -%\newcommand*{\wb}[1]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}} -%% select a (FontSite) font by its font family ID -\newcommand*{\FSfont}[1]{\fontencoding{T1}\fontfamily{#1}\selectfont} -%% if you don’t have the FontSite fonts either \renewcommand*{\FSfont}[1]{} -%% or use your own choice of family. -%% select a (TeX Font) font by its font family ID -\newcommand*{\TXfont}[1]{\fontencoding{T1}\fontfamily{#1}\selectfont} -%% Generic publisher’s logo -\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}} -%% Some shades -\definecolor{Dark}{gray}{0.2} -\definecolor{MedDark}{gray}{0.4} -\definecolor{Medium}{gray}{0.6} -\definecolor{Light}{gray}{0.8} -%%%% Additional font series macros - -\newcommand*{\titleLL}{\begingroup% Lost Languages -\drop=0.1\textheight -\fboxsep 0.5\baselineskip -\sffamily -\vspace*{\drop} -\centering -{\textcolor{Dark}{\HUGE Cinelerra-GG Version Infinity}}\par -\vspace{0.5\drop} -{\includegraphics[width=0.1\linewidth]{./images/cin-logo}}\par -\vspace{0.5\drop} -\colorbox{Dark}{\textcolor{white}{\normalfont\itshape\Large -User Manual}}\par -\vspace{0.3\drop} -{\Large Last update}\\ -{\footnotesize \today}\\ -\url{https://www.cinelerra-gg.org}\par -\vspace*{\drop} -{\includegraphics[width=0.5\linewidth]{./images/cin-big.png}}\par -\endgroup} diff --git a/common/settings.tex b/common/settings.tex index c9256e5..7a9c793 100644 --- a/common/settings.tex +++ b/common/settings.tex @@ -9,3 +9,26 @@ \righthyphenmin=2 % hyphen last charecter \setsecnumdepth{subsubsection} % section numration 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 +%\renewcommand{\printchaptername}{\normalfont\large\scshape Chapter} +\renewcommand{\chapterheadstart}{} +%\renewcommand{\beforechapskip}{\vspace{2pt}}