Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %!TEX program = xelatex
- documentclass[
- draft=false, % final mode
- paper=portrait,
- twoside=false,
- open=right,
- parskip=full,
- headings=big,
- version=last, %
- italian, % language (passed to babel and other packages)
- % (ngerman, english, french, ...)
- ]{scrbook} % Classes: scrartcl, scrreprt, scrbook
- % ----------------------
- % DIMENSIONI PAGINA
- % ----------------------
- setlength{oddsidemargin}{0.3cm}
- setlength{textwidth}{0.7textwidth}
- setlength{marginparwidth}{2marginparwidth}
- usepackage{lmodern}
- usepackage{amsmath} % advanced math symbols pkg
- usepackage{amsthm, amsthm}
- usepackage[utf8]{inputenc} % utf8 encoding
- usepackage{graphicx} % pictures support
- usepackage{longtable} % table on multiple pages support
- usepackage[italian]{babel} % language support
- usepackage{enumitem} % custom enumeration support
- usepackage{rotating} % Rotating pictures support
- usepackage{floatrow} % Support for floated images
- usepackage{hyperref} % Support for href in toc
- usepackage{marvosym} % Currency symbols
- usepackage{fancyhdr} % Fancy headers
- usepackage{array}
- usepackage{footnote}
- usepackage{setspace}
- usepackage{afterpage} % Permette di mettere i numeri di pagina nel footer se si usa il package Fancyhdr
- usepackage{textcomp} % Package for copyright glyph
- usepackage[newfloat]{minted} % Package for highlight code
- usepackage{appendix} %Package for appendices
- usepackage{chngcntr} %Package for list of figures numeration
- usepackage{csquotes}
- usepackage{fontspec}
- usepackage[protrusion=true]{microtype}
- % ----------------------
- % CUSTOMIZATION CAPITOLI
- % ----------------------
- usepackage{xcolor}
- usepackage{graphicx}
- usepackage{etoolbox}
- usepackage{blindtext}
- input{preamble/style-chapter}
- renewcommand*{sectionformat}{%
- llap{thesectionenskip}%
- }
- renewcommand*{subsectionformat}{%
- llap{thesubsectionenskip}%
- }
- % ----------------------
- % FOOTNOTE AL MARGINE
- % ----------------------
- usepackage{marginfix} % --> gestisce correttamente il posizionamento ai margini
- usepackage[%
- bottom, % Footnotes appear always on bottom. This is necessary
- stable, % Make footnotes stable in section titles
- perpage, % Reset on each page
- side, % Place footnotes in the margin
- ragged, % Use RaggedRight
- marginal,
- norule, % suppress rule above footnotes
- multiple, % rearrange multiple footnotes intelligent in the text.
- ]{footmisc}
- setlength{footnotemargin}{0.1mm} % --> distanza numero di nota a pie di pagine e testo
- definecolor{footnotecolor}{RGB}{78, 78, 78}
- deffootnotelayout{raggedrightcolor{footnotecolor}} % --> raggedright coincide con text-align:left
- % ----------------------
- % CAPTION CUSTOMIZATION
- % ----------------------
- usepackage[
- format=plain,
- justification=raggedright,
- singlelinecheck=false
- ]{caption}
- captionsetup{figurename=FIGURE, labelsep=colon}
- captionsetup[figure]{font={color=footnotecolor,it,footnotesize},labelfont={color=black,bf,it,scriptsize}}
- captionsetup[listing]{font={color=footnotecolor,it,footnotesize},labelfont={color=black,bf,it,scriptsize}}
- renewcommand*{figureformat}{ % --> elimina un punto di troppo sulla numerazione delle figure
- figurename~thefigure
- % autodot% DELETED
- }
- % ----------------------
- % FLOATING
- % ----------------------
- floatsetup{
- margins=hangright,
- capposition=beside,
- capbesideposition={bottom,right},
- floatwidth=textwidth
- }
Add Comment
Please, Sign In to add comment