Chapter numbers not fitting well with b5 format

Issue #191 new
Jon Martínez created an issue

Hi there,

I am using the b5 paper format in my PhD thesis (together with oneside option), and as far as I see the numbers get too far to the right (and same with letters for appendices).

Could someone help me to know how to move them and leave more margins? Is this the expected layout with b5 format with the template or is it a bug?

Thank you!

Comments (7)

  1. Ivo Pletikosić

    Hi Jon. I believe this is with options oneside, linedheaders=false, eulerchapternumbers. You could make them a bit smaller by using the command \DeclareFixedFont{\chapterNumber}{U}{eur}{b}{n}{60} in the preamble (copying from classicthesis.sty), maybe even decrease margin separation from 1.5 to \setlength{\marginparsep}{1em}, or text area width from 311pt that are in \areaset[current]{311pt}{645pt}. It's a small page format, so it's hard to decide what's best. Hope this helps!

  2. Jon Martínez reporter

    Thank you so much Ivo; it does help! Regardin the way to proceed, I guess I will use a mix of all of them 😅 The easiest way would be to reduce the width from areaset but then I would have problems to fit some tables and figures properly.

    Regards,

  3. Jon Martínez reporter

    One more related question which would solve the issue. Is there a way to write the chapter number in the left as in arsclassica style?

    This could be also a good solution I guess.

    Thank you!

  4. Ivo Pletikosić

    @Jon Martinez, try this (from classicthesis-arsclassica.sty):

    \newcommand\formatchapter[1]{%
      \vbox to \ht\strutbox{%
      \setbox0=\hbox{\chapterNumber\thechapter\hspace{10pt}\vline\ }%
      \advance\hsize-\wd0 \advance\hsize-10pt\raggedright%
      \spacedallcaps{#1}\vss}}
    
    \titleformat{\chapter}[block]%
       {\normalfont\Large}%
       {\textcolor{CTsemi}{\chapterNumber\thechapter}%
       \ \,\hspace{10pt}\vline\ }{10pt}%
       {\formatchapter}
    

    ... and don't forget to send André a postcard ;)

  5. Jon Martínez reporter

    Dear Ivo,
    First of all, for sure I’ll send the postcard :)

    Although the approach you propose works, there is an additional problem I found. The first paragraph after the Chapter title seems not to take into account the space taken by the title. Then, for cases with long titles the following happens:

    Is there a way to solve this problem? (I guess the best apporach would be to start the paragraph after the last line of the chapter title, although oher approaches might also be useful)

    Thank you in advance!

    Jon

  6. Ivo Pletikosić

    Try this (really quick) hack:

    \newcommand\formatchapter[1]{%
      \vbox to \ht\strutbox{%
      \setbox0=\hbox{\chapterNumber\thechapter\hspace{10pt}\vline\ }%
      \advance\hsize-\wd0 \advance\hsize-10pt\raggedright%
      \vspace{-0.8em}\spacedallcaps{#1}\vss}}
    
    \titleformat{\chapter}[block]%
       {\normalfont\large}%
       {\textcolor{CTsemi}{\chapterNumber\thechapter}%
       \ \,\hspace{2pt}\vline\ }{4pt}%
       {\formatchapter}
    

    Changes: negative vspace, Large→large, less hspace. See what works best for you. My best advice would be to shorten the titles though :D

    PS You could also do

    \vss\spacedallcaps{#1}
    

    in the last line of the formatchapter command, that'll allow the title text go up as needed, up to some point. Short titles won't be affected.

  7. Log in to comment