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