X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcin-manual-latex.git;a=blobdiff_plain;f=common%2Fpackages.tex;h=866b786c69b8cd40270410e21c3872023b09ca1f;hp=070185ca506864ab0f8e74a9f727e83c8fdcd7b2;hb=0d959ba78d9363936b4c2eef4620f8bf7897801e;hpb=4129c2cd0b9e0054042199e5169173f1edde6676 diff --git a/common/packages.tex b/common/packages.tex index 070185c..866b786 100644 --- a/common/packages.tex +++ b/common/packages.tex @@ -18,6 +18,7 @@ } % 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 @@ -26,6 +27,7 @@ \usepackage{array} % additional cell aligh \usepackage{indentfirst} % first line indent \usepackage{gensymb} % symbols +\usepackage{caption} %\usepackage[nottoc]{tocbibind} % do we need bibliography in toc %---------------------------------------------- @@ -48,7 +50,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 @@ -79,7 +80,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}, @@ -98,8 +99,12 @@ } \usepackage{wrapfig} % Wrapping figures -\usepackage{enumitem} -\usepackage[colorinlistoftodos,textsize=tiny]{todonotes} -\setlength{\marginparwidth}{1.6cm} +\usepackage{enumitem} % custom lists + +\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}