corso-di-italiano-per-stran.../preamble.tex

71 lines
2.0 KiB
TeX
Raw Normal View History

\renewcommand\partnumberlinebox[2]{#2\hspace{1em}}
\usepackage[xetex,nomarginpar,margin=2cm,%showframe%
]{geometry}
\usepackage{graphicx}
\graphicspath{{./immagini/}}
2020-11-14 19:20:06 +01:00
\usepackage{ifthen}
2020-11-15 18:21:22 +01:00
\usepackage{tipa,tipx}
\usepackage{fontspec}
\setmainfont{Latin Modern Roman}[
SmallCapsFont = Latin Modern Roman Caps,
UprightFeatures = {SmallCapsFeatures = {}}, % Suppresses warning about missing smcp feature.
BoldFeatures = {SmallCapsFont = {TeX Gyre Pagella}},
ItalicFeatures = {SmallCapsFont = {TeX Gyre Pagella}},
BoldItalicFeatures = {SmallCapsFont = {TeX Gyre Pagella}},
SmallCapsFeatures={Letters=SmallCaps}]
\renewcommand\textipa[1]{{\fontfamily{cmr}\tipaencoding #1}}
2020-11-15 18:21:22 +01:00
\usepackage{enumitem}
\usepackage{multicol,pdflscape}
\usepackage{float,wrapfig,caption}
\usepackage{longtable,tablefootnote,makecell}
\renewcommand{\cellalign}{tc}
\renewcommand*{\thead}[1]{\multicolumn{1}{c}{#1}}
\setlength{\columnsep}{2cm}
\newsavebox\ltmcbox
2020-11-15 18:21:22 +01:00
\usepackage{color}
\usepackage[table,dvipsnames]{xcolor}
\definecolor{lightgray}{gray}{0.98}
\let\oldlongtable\longtable
\let\endoldlongtable\endlongtable
2020-11-15 18:21:22 +01:00
\renewenvironment{longtable}{\rowcolors{2}{white}{lightgray}\oldlongtable}{\endoldlongtable}
2020-11-14 19:20:06 +01:00
\usepackage[pdfusetitle]{hyperref}
\hypersetup{
bookmarksnumbered=true,
bookmarksopen=true,
bookmarksopenlevel=1,
colorlinks=true,
pdfstartview=Fit,
pdfpagemode=UseOutlines,
pdfpagelayout=TwoPageRight,
linkcolor=blue,
urlcolor=blue
}
\usepackage{titlecaps}
\Addlcwords{
di della delle del dei degli dell'
a alla alle al ai agli all'
da dalla dalle dal dai dagli dall'
in nella nelle nel nei negli nell'
con colla colle col coi cogli coll'
su sulla sullo sul sui sugli sull'
per pella pello pei pegli pell'
tra tralla trallo trai tragli trall'
fra fralla frallo frai fragli frall'}
% Activate as last:
\usepackage{polyglossia}
\setmainlanguage{italian}
\setotherlanguage{german}
\setotherlanguage[variant=american]{english}
\usepackage{lipsum}
2020-11-14 19:20:06 +01:00
\input{definitions}