• Home   /  
  • Archive by category "1"

Latex Font Size Of Bibliography

Alter Font Size of References Heading

Postby yoannjap » Thu Nov 14, 2013 4:45 pm

Hello everyone, (I'm French, sorry if my English is Frenglish sometimes )

It's been a while I have this problem, and sometimes I believe searching on the internet, forums, etc. will solve it, but no :/

Here's my problem : I use LyX. I include in my document a bibliography. But the 'References' heading in the text is not like other parts font size. And in the ToC, it's the same, tinier than the other parts headings.

To show you, here's the result.
LyX-references-heading-01.png (99.46 KiB) Viewed 3080 times

LyX-references-heading-02.png (75.24 KiB) Viewed 3080 times

What I would like to do is to obtain the same font size of heading for References heading and for the other parts. But also the same font size in the Toc for both of them. I tried this.

I obtain this good result:
LyX-references-heading-03.png (21.76 KiB) Viewed 3080 times

But this bad one.
LyX-references-heading-04.png (35.47 KiB) Viewed 3080 times


If it can help, here is my Document LaTeX Preamble :


Thanks in advance for your (big) help !
  1. \usepackage[font={small}]{caption}
  2. \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
  3. \usepackage[nottoc,notlof]{tocbibind}
  4. \usepackage{times,graphicx,pstricks}
  5. \newcommand*{\centerfloat}{%
  6. \leftskip\z@ \@plus 1fil \@minus\textwidth
  7. \geometry{hmargin=4cm, vmargin=4cm}
  8. \definecolor{gris}{gray}{0.45}
  9. \definecolor{gris2}{gray}{0.85}
  10. \renewcommand{\UrlFont}{\ttfamily\footnotesize}
  11. \newcommand{\asterism}{{\footnotesize\smash{%
  12. \setlength{\tabcolsep}{0.5pt}%
  13. \begin{tabular}{@{}cc@{}}%
  14. \multicolumn2c*\\[-1.5ex] *&*%
  15. \usepackage[runin]{abstract}
  16. \setlength{\abstitleskip}{-\parindent}
  17. %\setlength{\parindent}{0pt}
Last edited by localghost on Thu Nov 14, 2013 8:01 pm, edited 1 time in total.
Reason:Images rescaled to a reasonable size for better view on small screens (see Board Rules).

Tags:

LaTeX font size

Per default latex use a font size of 10pt (depending of the used documentclass article, report, book und letter ) . This could be changed to 11pt or 12pt as a option of documentclass. That does not mean that only these three sizes can be used, it is only the size of the normalsize font. Later changes in the document then refer to this settings. By following commands the size can be changed within a document.

Note: Other documentclasses have other default font sizes!

For example documentclass memoir has 12 font sizes:
9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt, 25pt, 30pt, 36pt, 48pt and 60pt

Or the beamer class for presentation has 8 font sizes:
8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt and 20pt.

1.1 change font size

The font size of single words, paragraphs or the whole text can be changed. By the following ten commands:

How to change the size of a word:



example
output: huge

How to change the size of an area: \begin{\command} This part should be smaller then the rest of the document. \end{\command} example
\begin{small} This part should be smaller then the rest of the document. \end{small}

output:
This part should be smaller then the rest of the document.

the commands could be used as a switcher:



example output: text before after

The effect of these commands is as long as is until the next command or the document is finished. For example, to switch back to the normal font size, then you have to add a .

The following table shows the changes in font size depending on the selected standard font size (article, report, book und letter):

standard font size
command 10pt 11pt 12pt
5pt 6pt 6pt
7pt 8pt 8pt
8pt 9pt 10pt
9pt 10pt 11pt
10pt 11pt 12pt
12pt 12pt 14pt
14pt 14pt 17pt
17pt 17pt 20pt
20pt 20pt 25pt
25pt 25pt 25pt

The documentclass memoir has two additional size commands: which is smaller then and which is bigger then .


standard font size
command 9pt 10pt 11pt 12pt 14pt 17pt 20pt 25pt 30pt 36pt 48pt 60pt
4pt 5pt 6pt 7pt 8pt 9pt 10pt 11pt 12pt 14pt 17pt 20pt
5pt 6pt 7pt 8pt 9pt 10pt 11pt 12pt 14pt 17pt 20pt 25pt
6pt 7pt 8pt 9pt 10pt 11pt 12pt 14pt 17pt 20pt 25pt 30pt
7pt 8pt 9pt 10pt 11pt 12pt 14pt 17pt 20pt 25pt 30pt 36pt
8pt 9pt 10pt 11pt 12pt 14pt 17pt 20pt 25pt 30pt 36pt 48pt
9pt 10pt 11pt 12pt 14pt 17pt 20pt 25pt 30pt 36pt 48pt 60pt
10pt 11pt 12pt 14pt 17pt 20pt 25pt 30pt 36pt 48pt 60pt 72pt
11pt 12pt 14pt 17pt 20pt 25pt 30pt 36pt 48pt 60pt 72pt 84pt
12pt 14pt 17pt 20pt 25pt 30pt 36pt 48pt 60pt 72pt 84pt 96pt
14pt 17pt 20pt 25pt 30pt 36pt 48pt 60pt 72pt 84pt 96pt 108pt
17pt 20pt 25pt 30pt 36pt 48pt 60pt 72pt 84pt 96pt 108pt 120pt
20pt 25pt 30pt 36pt 48pt 60pt 72pt 84pt 96pt 108pt 120pt 132pt

The documentclass beamer class
 standard font size
command8pt9pt10pt11pt12pt14pt17pt20pt
tiny5pt5pt5pt6pt6pt6pt8pt10pt
scriptsize 5pt6pt7pt8pt8pt8pt10pt12pt
footnotesize6pt7pt8pt9pt10pt10pt12pt14pt
small7pt8pt9pt10pt11pt12pt14pt17pt
normalsize8pt9pt10pt11pt12pt14pt17pt20pt
large10pt10pt12pt12pt14pt17pt20pt25pt
Large11pt11pt14pt14pt17pt20pt25pt29.86pt
LARGE12pt12pt17pt17pt20pt25pt29.86pt35.83pt
huge14pt14pt20pt20pt25pt29.86pt35.83pt42.99pt
Huge17pt17pt25pt25pt25pt35.83pt42.99pt51.59pt

1.2 other font size

By using the default classes and sizes, one can use 12 different font sizes: 5pt, 6pt, 7pt, 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt and 25pt.
To use more, one need first To use more font sizes, you first need a font in which has the desired size, i.e. not all fonts allow all sizes. If you use a size which is not provided by the font, you get an error message like this:

LaTeX Font Warning: Size substitutions with differences (Font) up to 4.17pt have occurred.

This means that the desired size is not available and the closest matching size is 4.17pt (points) away from the desired one.

1.2.1 command to change font size

First, use a font like lmodern and then you can set the font size:

example
\documentclass{article} … \usepackage{lmodern} … \begin{document} … {\fontsize{40}{48} \selectfont Text}
output: Text

Contact

One thought on “Latex Font Size Of Bibliography

Leave a comment

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *