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=d12abd0caabe1636e2084e5937b2823cbe1d4e6a;hb=904f84e5b74998b5af4d622ceadc98d9a9621e22;hpb=b146a62f0ffff7df64d7a3db7b3605cf2e439b7e diff --git a/common/packages.tex b/common/packages.tex index d12abd0..da75467 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -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, @@ -44,13 +47,14 @@ \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 @@ -79,14 +83,6 @@ 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.}