Skip to content
Snippets Groups Projects
Commit eba1231f authored by Lorenzo Ferron's avatar Lorenzo Ferron
Browse files

Corretto comportamento \binom in text mode.

Spostati \Crefname in cleveref.tex
parent 2b52c15b
No related branches found
No related tags found
No related merge requests found
......@@ -47,13 +47,6 @@ evenboxes,%
% Document
\begin{document}
\Crefname{section}{Paragrafo}{Paragrafi}
\crefname{section}{paragrafo}{paragrafi}
\Crefname{subsection}{Paragrafo}{Paragrafi}
\crefname{subsection}{paragrafo}{paragrafi}
\crefalias{subappendix}{section}
\crefalias{subsubappendix}{section}
\makeatletter
\begin{ThesisTitlePage}
% see main.cfg
......
\usepackage[noabbrev,italian]{cleveref}
\AtBeginDocument{
\Crefname{section}{Paragrafo}{Paragrafi}
\crefname{section}{paragrafo}{paragrafi}
\Crefname{subsection}{Paragrafo}{Paragrafi}
\crefname{subsection}{paragrafo}{paragrafi}
\crefalias{subappendix}{section}
\crefalias{subsubappendix}{section}
}
......@@ -19,5 +19,5 @@
\input{preamble/packages/biblatex.tex}
\input{preamble/packages/hyperref.tex}
\usepackage{bookmark}
\usepackage[italian]{cleveref}
\input{preamble/packages/cleveref.tex}
%\input{preamble/packages/amsthm.tex}
......@@ -13,4 +13,4 @@
\input{preamble/my-macros/my-macros.tex}
\input{preamble/workarounds/pygmentize-single-quote.tex}
\ No newline at end of file
\input{preamble/workarounds/workarounds.tex}
\input{preamble/workarounds/pygmentize-single-quote.tex}
\input{preamble/workarounds/xits-issue-27.tex}
\let\oldbinom\binom
\renewcommand{\binom}[2]{
\corrxits\scriptstyle \corrxits\crampedscriptstyle
\corrxits\textstyle \corrxits\crampedtextstyle
\corrxits\scriptscriptstyle \corrxits\crampedscriptscriptstyle
\oldbinom{#1}{#2}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment