Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

FAQ /

ChangeFontUsingLatex

Categories: Fonts
<< RedefiningListOfFigures | Page list | ShadedBox >>

How can I change the font of section headings (Chapters, Sections, Subsections, Subsubsections) form default to "HELVETICA"? Does anybody know what and where I have to changed things inside the report document? Cheers for Help!!!

How can I (using latex) change the default font, or fonts in section headers or captions?!!! How can I change the default font?

\renewcommand{\familydefault}{\pag}\renewcommand{\rmdefault}{\pag}

The value of \*default should be NFSS name of the font family. Read fntguide (available in $TEXMF/latex/base/ directory as DVI) and you will understand that the proper value of \rmdefault (or \sfdefault -- depends onwhat you want) Matej!!!

How can I change the font used in section headers?

Use one of the packages titlesec.sty or sectsty.sty.

The "KOMA script" classes allow customisation of section and caption fonts as well. (See the KOMA script documentation for details.) E.g.

 \documentclass[smallheadings]{scrreprt}
 \setkomafont{subsubsection}{\sffamily \bfseries}
 \addtokomafont{captionlabel}{\bfseries}

Fonts

How can I change the font used in caption headers?

Use one of the packages captions.sty or caption2.sty.

How can I change to a 10.5pt font?

 
\usepackage{type1cm}
\renewcommand\normalsize{%
   \@setfontsize\normalsize{10.5pt}{12pt}
   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
   \abovedisplayshortskip \z@ \@plus3\p@
   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
   \belowdisplayskip \abovedisplayskip
   \let\@listi\@listI}\normalsize  

Also, make sure that dvips use Postscript fonts instead of bitmap fonts.

How can I change to a 13pt font?

 
\usepackage{type1cm}
\renewcommand\normalsize{%
   \@setfontsize\normalsize{13pt}{14.5pt}%
   \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
   \abovedisplayshortskip \z@ \@plus3\p@
   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
   \belowdisplayskip \abovedisplayskip
   \let\@listi\@listI}\normalsize  

Also, make sure that dvips use Postscript fonts instead of bitmap fonts.

How can I get 10.5pt font and 12.5pt between lines?

My publisher wants 10.5 pt font and 12.5 pt between lines. So I added this to the preamble:
\renewcommand{\normalsize}{\fontsize{10.5pt}{12.5pt}\selectfont} /Helge Hafting

This is only for normalsize font. The footnote, superscript etc are still based original definition or default fontsize. Better make a new size*.clo as suggested by Herbert. I have made a size13.clo by modifying size12.cloand size14.clo (took in average, because I don't have any reference to calculate the best values) /Wayan

Related information

<< RedefiningListOfFigures | FAQ.PageList | ShadedBox >>

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2008-01-06 14:54 CET