Re: ClassicThesis

#60982
lorenzo.pantieri
Partecipante
    Up
    0
    Down
    ::


    Dear Andrè,

    I’ve just seen the latest version of your beautiful ClassicThesis style. Your work is awesome as usual, but let me see I didn’t appreciate a lot your idea of the classicthesis-preamble.sty file, for the following reasons:
    1. now the user has to modify manually a .sty file (which in \emph{never} a good idea);
    2. classicthesis-preamble.sty loads a lot of packages (what’s more, via the \RequirePackage command, which is quite unusual for a “common” user): this way you can’t easily see, skimming the main .tex file, the packages loaded in the document;
    3. the name “classicthesis-preamble” is not very well-made, since the preamble of the document contains (but not is) classicthesis-preamble.sty.

    I suggest you to adopt the following structure for your (classic)thesis template:
    `\documentclass[…]{scrreprt}

    \usepackage{…}
    \usepackage{xspace,mparhack,fixltx2e,relsize} % formerly loaded by classicthesis-preamble.sty
    \usepackage{…}
    \usepackage[…]{classicthesis}

    \input{classicthesis-settings}

    \begin{document}
    \input{…}
    \input{…}

    \end{document}`
    where classicthesis-settings.tex (which has to be loaded \emph{after} classicthesis) doesn’t load any package but contains personal commands and environments, commands like \author and \title, and the settings of the packages loaded, for example:
    `% ********************************************************************
    % classicthesis-settings.tex
    % ********************************************************************

    \newcommand{\myTitle}{… }
    \newcommand{\mySubtitle}{… }

    % ********************************************************************
    % captionsetup
    % ********************************************************************
    \captionsetup{format=hang,font=small}

    % ********************************************************************
    % hyperreferences
    % ********************************************************************

    \hypersetup{%
    colorlinks=true, linktocpage=true, pdfstartpage=1, pdfstartview=FitV,
    breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,
    plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,
    hypertexnames=true, pdfhighlight=/O,
    urlcolor=webbrown, linkcolor=RoyalBlue, citecolor=webgreen,
    pdftitle={\myTitle},%
    pdfauthor={\textcopyright\ \myName, \myUni, \myFaculty},%
    pdfsubject={},%
    pdfkeywords={},%
    pdfcreator={pdfLaTeX},%
    pdfproducer={LaTeX with hyperref and classicthesis}%
    } `
    This way I think the structure of the document would be clearer and easier.

    Best wishes,
    Lorenzo Pantieri

    Go to top