X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fpackages.tex;h=da754677e2c6b37c80a5b849335e530950839e09;hp=4cead997cb0358294b2c3fa5f234e9e9d241cafc;hb=2aa1c44a00acf706212decda6c9b1b8f8abe5227;hpb=b854be9d233f3e6f0204e6231b4e400bbaabb21b diff --git a/common/packages.tex b/common/packages.tex index 4cead99..da75467 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -1,28 +1,31 @@ \usepackage{cmap} \usepackage[T2A]{fontenc} -\usepackage[utf8]{inputenc} % file encoding -\usepackage[english]{babel} % default language for 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 +\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных шрифтов XCharter +\usepackage[bitstream-charter]{mathdesign} % Согласование математических шрифтов + \usepackage{ - amssymb, - amsfonts, + %amsfonts, mathtools, mathtext, cite, enumerate, float, textcomp -} % some packages +} % some packages %\usepackage[font={small}]{caption} -\usepackage{hhline} % beautiful links -\usepackage{hyperref} % beautiful links -\usepackage{pdflscape} % landscape pages -\usepackage{longtable} % longtable support -\usepackage{multirow} % vertical cell in table -\usepackage{bigstrut} % big strut -\usepackage{array} % additional cell aligh -\usepackage{indentfirst} % first line indent -\usepackage{gensymb} % symbols +\usepackage{hhline} % beautiful links +\usepackage{hyperref} % beautiful links +\usepackage{pdflscape} % landscape pages +\usepackage{longtable} % longtable support +\usepackage{multirow} % vertical cell in table +\usepackage{bigstrut} % big strut +\usepackage{array} % additional cell aligh +\usepackage{indentfirst} % first line indent +\usepackage{gensymb} % symbols %\usepackage[nottoc]{tocbibind} % do we need bibliography in toc %---------------------------------------------- @@ -40,16 +43,18 @@ pdfsubject={Video Editing}, pdfkeywords={Cinelerra, Good Guy} } % pdf properties -\usepackage[pdftex]{graphicx} % do we need some figures in our pdf -\graphicspath{{images/}} % path to images -%% drawing package -\usepackage{tikz} +\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 \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 @@ -76,16 +81,8 @@ extendedchars=\true, %keepspaces = true %!!!! spaces in comments texcl=true, - morekeywords={*,...} % if you want to add more keywords to the set + morekeywords={*,...} % if you want to add more keywords to the set } -%======================геометрия полей -\usepackage{geometry} % Меняем поля страницы -\geometry{left=2.0cm}% левое поле -\geometry{right=2.0cm}% правое поле -\geometry{top=2.0cm}% верхнее поле -\geometry{bottom=1.5cm}% нижнее поле -\parindent=1.0cm %красная срока -\righthyphenmin=2 %разрешить перенос 2-х последних букв %--------------------------------------------------------------------------- \makeatletter \renewcommand{\@biblabel}[1]{#1.}