X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fpackages.tex;h=c16c925676a042106f3288a828f9cc8fcd9c7212;hp=01bee8f69449967a645e5c808c54e8d57a9a638d;hb=10646391caaeb5392faacf6103a68f1d78b369dd;hpb=939b1b23858a06a20e91c3143fa8b5fea34bac63 diff --git a/common/packages.tex b/common/packages.tex index 01bee8f..c16c925 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -14,10 +14,11 @@ cite, enumerate, float, - textcomp + textcomp } % some packages %\usepackage[font={small}]{caption} \usepackage{hhline} % beautiful links +\PassOptionsToPackage{hyphens}{url} \usepackage{hyperref} % beautiful links \usepackage{pdflscape} % landscape pages \usepackage{longtable} % longtable support @@ -31,8 +32,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, @@ -47,7 +49,6 @@ \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 @@ -81,58 +82,28 @@ extendedchars=\true, %keepspaces = true %!!!! spaces in comments texcl=true, + postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space}, 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} % custom lists -\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} +\usepackage[colorinlistoftodos,textsize=tiny]{todonotes} % todo package +\setlength{\marginparwidth}{1.6cm} % fix left margin for todo +\usepackage[intoc]{nomencl} % glossary package +\makenomenclature % make glossary + +\input{common/settings.tex}