Re: [Risolto] Ridefinire pag inizio capitolo in classe book

#58735
matraz
Partecipante
    Up
    0
    Down
    ::


    Risolto!
    Finalmente sono riuscita a capire il senso del comando qui sotto (grazie ad una collega più infomatizzata) e ho risolt il mio problema impostando la dimensione del font nel \parbox:

    \makeatletter
    \renewcommand{\chapter}{\@ifstar\@schapter\@nchapter}
    \newcommand{\@nchapter}[2]{%
    \cleardoublepage\thispagestyle{plain}%
    \refstepcounter{chapter}%
    \vspace*{.3\textheight}%
    \noindent\begingroup\linespread{2}\sffamily\bfseries\LARGE
    \begin{tabular}{@{}l|>{\raggedright\arraybackslash}p{.6\textwidth}@{}}
    &\fontsize{18}{18}\selectfont\chaptername\ \thechapter\\
    &\fontsize{24}{30}\selectfont#1\\[4ex]
    \parbox[t][.4\textheight][t]{.37\textwidth}{\Large\raggedleft#2}
    \end{tabular}\endgroup
    \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
    \markboth{#1}{#1}%
    \cleardoublepage}
    \makeatother

    grazie del supporto: ne faremo tesoro

    matilde

    Go to top