# Increase the font size of text

When compiling the document, the pdf product looks like this:

The font size of the section is easy to change with titlesec package, but what about the remaining text?

I have tried with \documentclass[size]{extreport} but it doesn't works. When trying with size=12pt, 15pt there is no effect and with 20pt suddenly font becomes too big.

Here is an MWE

    \documentclass{extreport}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{titlesec}
\titleformat{\section}{\normalfont\fontsize{12}{15}\bfseries}{\thesection}{0.5em}{}
\setlength{\topmargin}{-1cm}
\setlength{\textheight}{612pt}
\thispagestyle{empty}
\begin{document}
\begin{center}
\LARGE\textbf{CURRÍCULUM VITAE}
\end{center}
\section*{\textbf{Datos personales}}
%{\setlength{\parindent}{0pt}
Nombre completo: the name

Fecha de nacimiento: 22\slash01\slash1994.

DNI: 0..0.0

Residencia: the residence

Celular: phone number

Tel: telteltel

Correo electrónico:

\end{document}

• add \large ?? – David Carlisle Apr 4 '18 at 21:22
• add large every time? that's not desirable I think..@DavidCarlisle – santimirandarp Apr 4 '18 at 21:23
• what do you mean by every time? you could just use it once, after \begin{document} but what is wrong with the normal \documentclass[12pt]{extreport} ? – David Carlisle Apr 4 '18 at 21:27
• What is the problem you are trying to solve? This seems trivial. – Bananguin Apr 4 '18 at 21:29
• @DavidCarlisle add large at the preamble didn't produce changes and I supposed you meant to use \begin{large}..every time I need to increase font size on the text – santimirandarp Apr 4 '18 at 21:31

The extsizes classes (extarticle, extreport, extbook, extletter, and extproc) provide support for sizes eight, nine, ten, eleven, twelve, fourteen, seventeen and twenty points.

So one can use

\documentclass[size]{extreport}


where size is 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt or 20pt.

Add the [12pt] option to the document class, like this:

\documentclass[12pt]{extreport}

• Thanks, but I have written that it didn't work.. – santimirandarp Apr 4 '18 at 21:35
• @santimirandarp what do you mean by "does not work" by default you get 10pt text and that option will give larger 12pt text. Your question is completely unclear, you do not say what problem you have just that "it does not work" and the image you show is not generated by the code that you show. – David Carlisle Apr 4 '18 at 21:38
• I meant that it doesn't produce effect in the document, that's what I wrote in the post. I am sorry for the MWE, it have corrected it..@DavidCarlisle – santimirandarp Apr 4 '18 at 21:48