Re: errore di xcolor con memoir

#66044
samiel
Partecipante
    Up
    0
    Down
    ::


    Il codice è
    `\newcommand{\changesections}{%
    \setsubsecheadstyle{\subsection}
    {\relax}
    {\MakeLowercase{\thesubsection}}
    {1em}
    {\large\ttfamily\bfseries}%
    \setsubsubsecheadstyle{\subsubsection}
    {\relax}
    {\MakeLowercase{\thesubsubsection}}
    {1em}
    {\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}}`
    Il testo quello riportato nel messaggio sopra

    M

    Go to top