Ho provato la “traduzione” della formattazione per i titoli in questo modo
`\newcommand{\changesections}{%
\setsubsecheadstyle{\large\ttfamily\bfseries}
\setsubsubsecheadstyle{\ttfamily\bfseries}
{\normalsize\ttfamily}
}
\newcommand{\cardsection}[1]{%
\phantomsection
\addcontentsline{toc}{subsubsection}{\ttfamily\small #1} %
\subsubsection*{#1}}
\newcounter{card}
\newenvironment{card}[1]
{\changesections\begin{shaded}\stepcounter{card}%
\phantomsection
\addcontentsline{toc}{subsection}
{\ttfamily\small Scheda n.\texorpdfstring{\ }{ }%
\arabic{card} – #1}
\subsection*{\ttfamily Scheda n.~\arabic{card}\\#1}}
{\end{shaded}}`
ma \changesections dev’essere incompleto
perché in ogni caso ricevo:
`[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/local/texlive/2011/texmf-dist/tex/latex/base/t1cmtt.fd)
! Undefined control sequence.
{\ }{ }\arabic {card} – Co…
l.36 \begin{card}{Condivisioni con BitTorrent}
? `
M