add Olaf Workmark
[goodguy/cin-manual-latex.git] / common / packages.tex
index da754677e2c6b37c80a5b849335e530950839e09..f9b5eb2fa9f37e8e2eb946b25033291fe1217d5b 100644 (file)
@@ -1,23 +1,32 @@
-
+%
 \usepackage{cmap}
-\usepackage[T2A]{fontenc}
-\usepackage[utf8]{inputenc}         % file encoding
-\usepackage{substitutefont}         % so we can use fonts other than those specified in babel
-\usepackage[english]{babel}         % default language for document
-\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных шрифтов XCharter
-\usepackage[bitstream-charter]{mathdesign} % Согласование математических шрифтов
+\usepackage[T2A]{fontenc} % T2A (Cyrillic) and T1 are only identical
+                          % in the first 128 positions. This is an
+                          % English language document.
+\usepackage[utf8]{inputenc} % file encoding
+\usepackage{substitutefont} % so we can use fonts other than those specified in babel
+\usepackage[english]{babel} % default language for document
+% Cyrillic - if it is used, no Small Caps are available:
+%\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных
+                                    % шрифтов XCharter "Connection
+                                    % of Russified XCharter Fonts"
+\usepackage[bitstream-charter]{mathdesign} % Согласование
+                                           % математических шрифтов
+                                           % "Math font
+                                           % harmonization"
 
 \usepackage{
     %amsfonts,
     mathtools,
-    mathtext,
+    mathtext,% Cyrillic?
     cite,
     enumerate,
     float,
     textcomp
-}                                   % some packages 
-%\usepackage[font={small}]{caption}
+}                                   % some packages
+\usepackage[font={small},textfont=it]{caption}
 \usepackage{hhline}                 % beautiful links
+\PassOptionsToPackage{hyphens}{url}
 \usepackage{hyperref}               % beautiful links
 \usepackage{pdflscape}              % landscape pages
 \usepackage{longtable}              % longtable support
 
 %\usepackage[nottoc]{tocbibind} %  do we need bibliography in toc
 %----------------------------------------------
-%\usepackage{mhchem}        
+%\usepackage{mhchem}
 %===============  Font for tables  ============
-\let\oldtabular\tabular
-\renewcommand{\tabular}{\small\oldtabular}
+%\let\oldtabular\tabular
+%\renewcommand{\tabular}{\small\oldtabular}
+
 \hypersetup{colorlinks=true,
     linkcolor=blue,
-    citecolor=blue, 
-    filecolor=blue, 
-    urlcolor=blue, 
-    pdftitle={Cinelerra GG Infinity Manual}, 
+    citecolor=blue,
+    filecolor=blue,
+    urlcolor=blue,
+    pdftitle={Cinelerra-GG Infinity Manual},
     pdfauthor={Cinelerra Authors},
-    pdfsubject={Video Editing}, 
+    pdfsubject={Video Editing},
     pdfkeywords={Cinelerra, Good Guy}
 } % pdf properties
-\usepackage[pdftex]{graphicx}       % do we need some figures in our pdf 
+\usepackage[pdftex]{graphicx}       % do we need some figures in our pdf
 \graphicspath{{images/}}            % path to images
 \usepackage{tikz}                   % drawing package
 \usepackage{nameref}                % use \nameref{} to set reference to chapter neme.
-\input{common/settings.tex}
 
 %----------------------------------------------------------------------
-\usepackage{listings}               % include code 
+\usepackage{listings}               % include code
 \lstset{                            % begin settings
   %language=R,                      % the language of the code
   inputencoding=utf8,
   stringstyle=\color{black},        % string literal style
   %backgroundcolor=\color{green!10},
   escapeinside={\%*}{*)},           % if you want to add a comment within your code
-  extendedchars=\true,
+  extendedchars=true,
   %keepspaces = true                %!!!! spaces in comments
   texcl=true,
+  postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space},
   morekeywords={*,...}              % if you want to add more keywords to the set
 }
 %---------------------------------------------------------------------------
 \makeatletter
 \renewcommand{\@biblabel}[1]{#1.}
 %---------------------------------------------------------------
+%
+\usetikzlibrary{                    % Libraries for TiKz
+    positioning,
+    arrows,
+    shapes,
+    shadows
+}
+\usepackage{wrapfig}                % Wrapping figures
+
+\usepackage{enumitem}               % custom lists
 
-% 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
+\usepackage[colorinlistoftodos,textsize=tiny]{todonotes}    % todo package
+\setlength{\marginparwidth}{2.0cm}                          % fix left margin for todo
 
-\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}
+\usepackage{scrextend}
+\usepackage{enumitem}
+%\usepackage{ifthen}
+%\usepackage{tocvsec2}
+\usepackage[intoc]{nomencl}                         % glossary package
+\makenomenclature                                           % make glossary
 
+\usepackage{eso-pic}
+\usepackage{calc}                  % in conjunction with longtable
+%\input{common/settings.tex}