Impostazione “manuale” dei margini (Classicthesis)

  • Creatore
    Topic
  • #13951
    lorenzo.pantieri
    Partecipante
      Up
      0
      Down
      ::


      Ciao a tutti, con riferimento a questo topic, vi sottopongo un quesito.

      Dal momento che le classi KOMA (cui lo stile Classicthesis si appoggia) hanno il loro sistema per impostare i parametri tipografici e sono incompatibili con i pacchetti layaureo e geometry, chiedo agli appassionati di tipografia del forum un consiglio: come dovrei intervenire direttamente sui parametri del comando \areaset per allargare “leggermente” e “ragionevolmente” i margini?

      Sono ormai più di due anni che frequento il forum, e so bene come sia delicata la richiesta (tipica dell’utente alle prime armi) “vorrei aumentare un po’ i margini”… Tuttavia i margini molto stretti dello stile Classicthesis comportano effettivamente delle difficoltà: in modalità draft sono evidenti delle situazioni di overfull hbox, soprattutto nei titoli dei paragrafi e negli ambienti quotation, dovuti (credo) al fatto che LaTeX fatica a riempire adeguatamente righe così brevi.

      In Classicthesis, il codice deputato alla definizione dei margini è il seguente:
      `\ifthenelse{\boolean{a5paper}}%
      {% A5
      \areaset[5mm]{288pt}{555pt}
      \setlength{\marginparwidth}{4em}%
      \setlength{\marginparsep}{1.25em}%
      }{% A4
      \areaset[5mm]{312pt}{657pt} % 624 + 33 head % 5mm for binding
      \setlength{\marginparwidth}{7em}%
      \setlength{\marginparsep}{2em}%
      }
      % Here some suggestions for the text widths and heights:
      % Palatino 10pt: 288–312pt | 609–657pt
      % Palatino 11pt: 312–336pt | 657–705
      % Minion 10pt: 264–288pt | 561–609pt
      % Minion 11pt: 288–312pt | 609–657pt
      `
      La riga su cui intervenire è naturalmente
      `\areaset[5mm]{312pt}{657pt} % 624 + 33 head % 5mm for binding
      `
      Solo che aumentare un po’ i valori di 312pt e 657pt “a occhio”, mi sembra tipograficamente discutibile.

      So che ci sono fra voi persone che hanno studiato a fondo la questione (per esempio sulla documentazione di memoir): preferirei fidarmi di un vostro consiglio, piuttosto che andare a caso con qualcosa come:
      `\areaset[5mm]{342pt}{672pt} % boh?
      `
      Per completezza, riporto anche quanto afferma l’autore di Classicthesis:

      The custom size of the textblock was calculated using the directions given by Mr. Bringhurst (pages 26–29 and 175/176). 10 pt Palatino needs 133.21 pt for the string “abcdefghijklmnopqrstuvwxyz”. This yields a good line length between 24–26 pc (288–312 pt). Using a “double square textblock” with a 1:2 ratio this results in a textblock of 312:624 pt (which includes the headline in this design). A good alternative would be the “golden section textblock” with a ratio of 1:1.62, here 312:505.44 pt. For comparison, DIV9 of the typearea package results in a line length of 389 pt (32.4 pc), which is by far too long.
      However, this information will only be of interest for hardcore pseudo-typographers like me.
      To make your own calculations, use the following commands and look up the corresponding lengths in the book:
      \settowidth{\abcd}{abcdefghijklmnopqrstuvwxyz}
      \the\abcd\ % prints the value of the length
      Please see the file classicthesis.sty for some precalculated values for Palatino and Minion.

      Ciao e grazie,
      Lorenzo

    Visualizzazione 2 filoni di risposte
    • Autore
      Risposte
      • #13952
        Up
        0
        Down
        ::


        Poni una questione interessante quanto difficile! Per poterti dare una risposta esauriente (o almeno “sensata”) sarebbe necessario avere una profonda conoscenza tipografica.

        Al posto tuo prenderei in seria considerazione l’ipotesi di rivolgerti direttamente all’autore di Classicthesis o delle classi KOMA: penso che il problema che hai sollevato sia comune anche ad altri utenti.

        Non è detto che il tentativo abbia esito positivo, ma tentar non nuoce… Inoltre (come giustamente hai già osservato tu) il processo trial and error per approssimazioni successive, alla ricerca del corretto dimensionamento dei margini, è decisamente oneroso e non di sicura riuscita.

      • #13953
        lorenzo.pantieri
        Partecipante
          Up
          0
          Down
          ::

          Poni una questione interessante quanto difficile! Per poterti dare una risposta esauriente (o almeno “sensata”) sarebbe necessario avere una profonda conoscenza tipografica.

          Eh, qui sul forum c’è chi questa conoscenza senz’altro ce l’ha! 😉

          Al posto tuo prenderei in seria considerazione l’ipotesi di rivolgerti direttamente all’autore di Classicthesis

          Gli ho spedito una mai: vi terrò informati sugli sviluppi…

          Ciao,
          L.

        • #13954
          lorenzo.pantieri
          Partecipante
            Up
            0
            Down
            ::


            Ciao a tutti, ecco la risposta di André:

            > How I can increase, *lightly* and *reasonably*, the default lenght of lines of Classicthesis style?
            > Increasing values of 312pt and 657pt “by rough estimate”, like for example something as
            > \areaset[5mm]{342pt}{672pt} % ???
            > seems to me typographicalally debatable.

            It is, but it will be no big problem if you do so. (I know of several people who did this with classicthesis.) An alternative might be to increase the fontsize to 11pt or 12pt and to use the higher values available for these. Sorry for the short answer, but I hope it helps
            you anyway. (As background information: 312pt for the linewidth is already the upper limit and the main problem is the paper size as most of us can only afford DIN A4/A5 paper and no custom sizes.)

            > The default lenght of lines of Classicthesis is actually very
            > small, and that involve some difficulties: there’re lot of situations of
            > overfull hbox, above all in the titles of the paragraphs and in quotation
            > environment, due –I think- to the fact that LaTeX hard work to fill up short
            > lines adequately.

            It did not notice this so far…but maybe I should have a look at that as it is a serious issue. Thanks for pointing that out. (I think there are some overfull boxes in the manual as it is no real language and TeX can’t always hyphenate correctly without matching hyphenation patterns…)

            Ciao,
            L.

        Visualizzazione 2 filoni di risposte
        • Devi essere connesso per rispondere a questo topic.

        Go to top