I'm using package frontespizio to format the frontespiece of my thesis. I was trying to modify the style and size of the fonts used in the standard frontespiece through the environment Preambolo* as following

\documentclass[a4paper, oneside]{book}
\usepackage[english, italian]{babel}
\captionsetup{labelfont={bf}, tableposition=top, figureposition=bottom, font=small}
\usepackage[autostyle, italian=guillemets]{csquotes}
\usepackage[style=numeric, hyperref, babel=hyphen, backend=biber]{biblatex}
\usepackage[nonumberlist, toc]{glossaries}









%other commands like \Universita{...} etc. 



The problem is, the line \renewcommand{\frontfixednamesfont}{\fontsize{12}{14}\scshape} don't seem to work as i expected: the fixed names (Relatore, Candidato ...) first takes the same style as set in line \renewcommand{\frontnamesfont}{\fontsize{14}{16}\bfseries} (which means that in this specific case they will be in bold), and then superimpose the style in \renewcommand{\frontfixednamesfont} (\itshape in this case), resulting in a bold italic style in this case. I tried various combinations, the result is the same except for styles like \rmfamily that are completely substituted by \frontnamesfont style.

I searched on frontespizio documentation, but i wasn't able to find anything relatable to this issue.

  • 1
    I'm not sure if I understood your problem but if you do not want the fonts to combine you can start each definition with \normalfont eg \renewcommand{\frontfixednamesfont}{\normalfont\fontsize{12}{14}\itshape} will always give the same font no matter what font is current at the point the command is issued. – David Carlisle Sep 8 '16 at 21:42

If you look at the default definition of \frontfixednamesfont, you see

295 \def\frontfixednamesfont{\normalfont\normalsize\front@font}

(line number added for clarity), where \front@font does \normalfont unless the sans option has been issued, when it does \sffamily.

So if you want to change the font for the fixed names, you have to say

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.