Re: ClassicThesis: \myChapter non ha argomento opzionale 🙁

#16441
DMW
    Up
    0
    Down
    ::


    Oppure in maniera più automatizzata, sfruttando il codice di Enrico scritto in un altro topic, puoi scrivere così:
    `
    \newcommand{\temp}{}
    \newcommand{\miocap}[2][]{
    \renewcommand{\temp}{\if!#1!#2\else#1\fi}
    \chapter[\texorpdfstring{\spacedlowsmallcaps{\temp}}{\temp}]{#2}}`

    il suo uso

    `
    \miocap{Panini}

    \miocap[caff\`e]{Appendice: caff\`e}`

    ciao

    Andrea

    Go to top