X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fpackages.tex;h=f9b5eb2fa9f37e8e2eb946b25033291fe1217d5b;hp=c16c925676a042106f3288a828f9cc8fcd9c7212;hb=57a86b4cce1e2f98b917a90db8027f55ea3e0d7b;hpb=7cbe8842a2d2dbd5eae730c4ed0205e520c50409 diff --git a/common/packages.tex b/common/packages.tex index c16c925..f9b5eb2 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -1,22 +1,30 @@ - +% \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[T2A]{fontenc} % T2A (Cyrillic) and T1 are only identical + % in the first 128 positions. This is an + % English language 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 +% Cyrillic - if it is used, no Small Caps are available: +%\usepackage[scaled=0.925]{XCharter} % Подключение русифицированных + % шрифтов XCharter "Connection + % of Russified XCharter Fonts" +\usepackage[bitstream-charter]{mathdesign} % Согласование + % математических шрифтов + % "Math font + % harmonization" \usepackage{ %amsfonts, mathtools, - mathtext, + mathtext,% Cyrillic? cite, enumerate, float, - textcomp -} % some packages -%\usepackage[font={small}]{caption} + textcomp +} % some packages +\usepackage[font={small},textfont=it]{caption} \usepackage{hhline} % beautiful links \PassOptionsToPackage{hyphens}{url} \usepackage{hyperref} % beautiful links @@ -30,28 +38,28 @@ %\usepackage[nottoc]{tocbibind} % do we need bibliography in toc %---------------------------------------------- -%\usepackage{mhchem} +%\usepackage{mhchem} %=============== Font for tables ============ %\let\oldtabular\tabular %\renewcommand{\tabular}{\small\oldtabular} \hypersetup{colorlinks=true, linkcolor=blue, - citecolor=blue, - filecolor=blue, - urlcolor=blue, - pdftitle={Cinelerra GG Infinity Manual}, + citecolor=blue, + filecolor=blue, + urlcolor=blue, + pdftitle={Cinelerra-GG Infinity Manual}, pdfauthor={Cinelerra Authors}, - pdfsubject={Video Editing}, + pdfsubject={Video Editing}, pdfkeywords={Cinelerra, Good Guy} } % pdf properties -\usepackage[pdftex]{graphicx} % do we need some figures in our pdf +\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. %---------------------------------------------------------------------- -\usepackage{listings} % include code +\usepackage{listings} % include code \lstset{ % begin settings %language=R, % the language of the code inputencoding=utf8, @@ -79,7 +87,7 @@ stringstyle=\color{black}, % string literal style %backgroundcolor=\color{green!10}, escapeinside={\%*}{*)}, % if you want to add a comment within your code - extendedchars=\true, + extendedchars=true, %keepspaces = true %!!!! spaces in comments texcl=true, postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space}, @@ -95,15 +103,21 @@ arrows, shapes, shadows -} +} \usepackage{wrapfig} % Wrapping figures \usepackage{enumitem} % custom lists \usepackage[colorinlistoftodos,textsize=tiny]{todonotes} % todo package -\setlength{\marginparwidth}{1.6cm} % fix left margin for todo +\setlength{\marginparwidth}{2.0cm} % fix left margin for todo +\usepackage{scrextend} +\usepackage{enumitem} +%\usepackage{ifthen} +%\usepackage{tocvsec2} \usepackage[intoc]{nomencl} % glossary package \makenomenclature % make glossary -\input{common/settings.tex} +\usepackage{eso-pic} +\usepackage{calc} % in conjunction with longtable +%\input{common/settings.tex}