add Olaf Workmark
[goodguy/cin-manual-latex.git] / common / packages.tex
1 %
2 \usepackage{cmap}
3 \usepackage[T2A]{fontenc} % T2A (Cyrillic) and T1 are only identical
4                           % in the first 128 positions. This is an
5                           % English language document.
6 \usepackage[utf8]{inputenc} % file encoding
7 \usepackage{substitutefont} % so we can use fonts other than those specified in babel
8 \usepackage[english]{babel} % default language for document
9 % Cyrillic - if it is used, no Small Caps are available:
10 %\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных
11                                     % шрифтов XCharter "Connection
12                                     % of Russified XCharter Fonts"
13 \usepackage[bitstream-charter]{mathdesign} % Согласование
14                                            % математических шрифтов
15                                            % "Math font
16                                            % harmonization"
17
18 \usepackage{
19     %amsfonts,
20     mathtools,
21     mathtext,% Cyrillic?
22     cite,
23     enumerate,
24     float,
25     textcomp
26 }                                   % some packages
27 \usepackage[font={small},textfont=it]{caption}
28 \usepackage{hhline}                 % beautiful links
29 \PassOptionsToPackage{hyphens}{url}
30 \usepackage{hyperref}               % beautiful links
31 \usepackage{pdflscape}              % landscape pages
32 \usepackage{longtable}              % longtable support
33 \usepackage{multirow}               % vertical cell in table
34 \usepackage{bigstrut}               % big strut
35 \usepackage{array}                  % additional cell aligh
36 \usepackage{indentfirst}            % first line indent
37 \usepackage{gensymb}                % symbols
38
39 %\usepackage[nottoc]{tocbibind} %  do we need bibliography in toc
40 %----------------------------------------------
41 %\usepackage{mhchem}
42 %===============  Font for tables  ============
43 %\let\oldtabular\tabular
44 %\renewcommand{\tabular}{\small\oldtabular}
45
46 \hypersetup{colorlinks=true,
47     linkcolor=blue,
48     citecolor=blue,
49     filecolor=blue,
50     urlcolor=blue,
51     pdftitle={Cinelerra-GG Infinity Manual},
52     pdfauthor={Cinelerra Authors},
53     pdfsubject={Video Editing},
54     pdfkeywords={Cinelerra, Good Guy}
55 } % pdf properties
56 \usepackage[pdftex]{graphicx}       % do we need some figures in our pdf
57 \graphicspath{{images/}}            % path to images
58 \usepackage{tikz}                   % drawing package
59 \usepackage{nameref}                % use \nameref{} to set reference to chapter neme.
60
61 %----------------------------------------------------------------------
62 \usepackage{listings}               % include code
63 \lstset{                            % begin settings
64   %language=R,                      % the language of the code
65   inputencoding=utf8,
66   basicstyle=\ttfamily\footnotesize,         % the size of the fonts that are used for the code
67   numbers=left,                     % where to put the line-numbers
68   numberstyle=\tiny\color{black},   % the style that is used for the line-numbers
69   stepnumber=1,                     % the step between two line-numbers. If it's 1, each line
70                                     % will be numbered
71   numbersep=5pt,                    % how far the line-numbers are from the code
72   %backgroundcolor=\color{white},   % choose the background color. You must add \usepackage{color}
73   showspaces=false,                 % show spaces adding particular underscores
74   showstringspaces=false,           % underline spaces within strings
75   showtabs=false,                   % show tabs within strings adding particular underscores
76   frame=lines,                      % adds a frame around the code
77   %frame=single,                    % adds a frame around the code
78   rulecolor=\color{black},          % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. commens (green here))
79   tabsize=2,                        % sets default tabsize to 2 spaces
80   captionpos=b,                     % sets the caption-position to bottom
81   breaklines=true,                  % sets automatic line breaking
82   breakatwhitespace=false,          % sets if automatic breaks should only happen at whitespace
83   title=\lstname,                   % show the filename of files included with \lstinputlisting;
84                                     % also try caption instead of title
85   keywordstyle=\color{blue},        % keyword style
86   commentstyle=\color{gray},        % comment style
87   stringstyle=\color{black},        % string literal style
88   %backgroundcolor=\color{green!10},
89   escapeinside={\%*}{*)},           % if you want to add a comment within your code
90   extendedchars=true,
91   %keepspaces = true                %!!!! spaces in comments
92   texcl=true,
93   postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space},
94   morekeywords={*,...}              % if you want to add more keywords to the set
95 }
96 %---------------------------------------------------------------------------
97 \makeatletter
98 \renewcommand{\@biblabel}[1]{#1.}
99 %---------------------------------------------------------------
100 %
101 \usetikzlibrary{                    % Libraries for TiKz
102     positioning,
103     arrows,
104     shapes,
105     shadows
106 }
107 \usepackage{wrapfig}                % Wrapping figures
108
109 \usepackage{enumitem}               % custom lists
110
111 \usepackage[colorinlistoftodos,textsize=tiny]{todonotes}    % todo package
112 \setlength{\marginparwidth}{2.0cm}                          % fix left margin for todo
113
114 \usepackage{scrextend}
115 \usepackage{enumitem}
116 %\usepackage{ifthen}
117 %\usepackage{tocvsec2}
118 \usepackage[intoc]{nomencl}                         % glossary package
119 \makenomenclature                                           % make glossary
120
121 \usepackage{eso-pic}
122 \usepackage{calc}                   % in conjunction with longtable
123 %\input{common/settings.tex}