X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fpackages.tex;h=d10332288358be56b73e47d9c508b36c4370284b;hp=d3fc720f78d83c8ae00f24f26857d57a2402228e;hb=76382b914ad3876b9ac36aa3d3bffbaf80a34e2b;hpb=ceba2f7a71fac8eeb1b29cd961a86cd7ca5167b3 diff --git a/common/packages.tex b/common/packages.tex index d3fc720..d103322 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -2,16 +2,19 @@ \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, enumerate, float, - textcomp + textcomp } % some packages %\usepackage[font={small}]{caption} \usepackage{hhline} % beautiful links @@ -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, @@ -51,7 +55,7 @@ \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 @@ -80,56 +84,19 @@ 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.} %--------------------------------------------------------------- +% +\usetikzlibrary{ % Libraries for TiKz + positioning, + arrows, + shapes, + shadows +} +\usepackage{wrapfig} % Wrapping figures -% Title page definition -%\providecommand{\HUGE}{\Huge}% if not using memoir -\newlength{\drop}% for my convenience -%% specify the Webomints family -%\newcommand*{\wb}[1]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}} -%% select a (FontSite) font by its font family ID -\newcommand*{\FSfont}[1]{\fontencoding{T1}\fontfamily{#1}\selectfont} -%% if you don’t have the FontSite fonts either \renewcommand*{\FSfont}[1]{} -%% or use your own choice of family. -%% select a (TeX Font) font by its font family ID -\newcommand*{\TXfont}[1]{\fontencoding{T1}\fontfamily{#1}\selectfont} -%% Generic publisher’s logo -\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}} -%% Some shades -\definecolor{Dark}{gray}{0.2} -\definecolor{MedDark}{gray}{0.4} -\definecolor{Medium}{gray}{0.6} -\definecolor{Light}{gray}{0.8} -%%%% Additional font series macros +\usepackage{enumitem} -\newcommand*{\titleLL}{\begingroup% Lost Languages -\drop=0.1\textheight -\fboxsep 0.5\baselineskip -\sffamily -\vspace*{\drop} -\centering -{\textcolor{Dark}{\HUGE Cinelerra-GG Version Infinity}}\par -\vspace{0.5\drop} -{\includegraphics[width=0.1\linewidth]{./images/cin-logo}}\par -\vspace{0.5\drop} -\colorbox{Dark}{\textcolor{white}{\normalfont\itshape\Large -User Manual}}\par -\vspace{0.3\drop} -{\Large Last update}\\ -{\footnotesize \today}\\ -\url{https://www.cinelerra-gg.org}\par -\vspace*{\drop} -{\includegraphics[width=0.5\linewidth]{./images/cin-big.png}}\par -\endgroup}