Start Compositor window
[goodguy/cin-manual-latex.git] / common / packages.tex
index d12abd0caabe1636e2084e5937b2823cbe1d4e6a..d4cbb6c4afed46a563df7ae7293492d0cc743ab3 100644 (file)
@@ -2,10 +2,13 @@
 \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{
-    amssymb,
-    amsfonts,
+    %amsfonts,
     mathtools,
     mathtext,
     cite,
@@ -28,8 +31,9 @@
 %----------------------------------------------
 %\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, 
 \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 
 \lstset{                            % begin settings
   %language=R,                      % the language of the code
   inputencoding=utf8,
-  basicstyle=\footnotesize,         % the size of the fonts that are used for the code
+  basicstyle=\ttfamily\footnotesize,         % the size of the fonts that are used for the code
   numbers=left,                     % where to put the line-numbers
   numberstyle=\tiny\color{black},   % the style that is used for the line-numbers
   stepnumber=1,                     % the step between two line-numbers. If it's 1, each line
   texcl=true,
   morekeywords={*,...}              % if you want to add more keywords to the set
 }
-%======================геометрия полей
-\usepackage{geometry}               % page geometry
-\geometry{left=2.0cm}
-\geometry{right=2.0cm}
-\geometry{top=2.0cm}
-\geometry{bottom=1.5cm}
-\parindent=1.0cm                    % first indent in section
-\righthyphenmin=2                   % hyphen last charecter
 %---------------------------------------------------------------------------
 \makeatletter
 \renewcommand{\@biblabel}[1]{#1.}
 %---------------------------------------------------------------
+%
+\usepackage{tikz}                   % Powerfull ploting language
+\usetikzlibrary{                    % Libraries for TiKz
+    positioning,
+    arrows,
+    shapes,
+    shadows
+} 
+
+
 
 % Title page definition
 %\providecommand{\HUGE}{\Huge}% if not using memoir