many more corrections/additions from Andrea + added Transcode
[goodguy/cin-manual-latex.git] / common / packages.tex
index d10332288358be56b73e47d9c508b36c4370284b..ca6d4126d253376575f3daae3497ad970b50a608 100644 (file)
@@ -16,8 +16,9 @@
     float,
     textcomp    
 }                                   % some packages 
-%\usepackage[font={small}]{caption}
+\usepackage[font={small},textfont=it]{caption}
 \usepackage{hhline}                 % beautiful links
+\PassOptionsToPackage{hyphens}{url}
 \usepackage{hyperref}               % beautiful links
 \usepackage{pdflscape}              % landscape pages
 \usepackage{longtable}              % longtable support
@@ -48,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 
   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},
   morekeywords={*,...}              % if you want to add more keywords to the set
 }
 %---------------------------------------------------------------------------
 } 
 \usepackage{wrapfig}                % Wrapping figures
 
+\usepackage{enumitem}               % custom lists
+
+\usepackage[colorinlistoftodos,textsize=tiny]{todonotes}    % todo package
+\setlength{\marginparwidth}{1.6cm}                          % fix left margin for todo
+
+\usepackage{scrextend}
 \usepackage{enumitem}
 
+\usepackage[intoc]{nomencl}                         % glossary package
+\makenomenclature                                           % make glossary
 
+\input{common/settings.tex}