Fonts & Character Setsdocumentclass and font size

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
evlabiba
Posts: 8
Joined: Sat Nov 15, 2008 6:17 pm

documentclass and font size

Post by evlabiba »

For beginners...
Whether I type this :
\documentclass[a4paper,10pt,oneside]{article}
or that:
\documentclass[a4paper,12pt,oneside]{article}
the font-size doesn't change.
Why?
As you can see, people can have problems with the very first line of their documents...
Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Lucia
Posts: 36
Joined: Wed Dec 31, 2008 9:03 pm

Re: documentclass and font size

Post by Lucia »

Hello, evlabiba.

Indeed, that behaviour seems strange. Could you please send us a minimal working example, or even the log file, so we can spot the problem? I created a file with these same settings, and got no errors or warnings...

Lucia
drowsy
Posts: 44
Joined: Tue Dec 23, 2008 6:00 am

Re: documentclass and font size

Post by drowsy »

evlabiba, you need to recompile your document.
evlabiba
Posts: 8
Joined: Sat Nov 15, 2008 6:17 pm

Re: documentclass and font size

Post by evlabiba »

O.K. I tried again. There is a difference between 10pt and 12pt but not between 12 and other sizes : 14pt, 16pt...
I guess I need a package for larger sizes.
Thanks again.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

documentclass and font size

Post by localghost »

Try the classes from the extsizes bundle.

Code: Select all

\documentclass[14pt,a4paper]{extarticle}
An alternative could be the moresize package.


Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: documentclass and font size

Post by phi »

Another alternative would be to use the KOMA-Script classes, which also allow arbitrary font sizes.
Post Reply