I tried to change the font size of titles using titlesec, I want all my document in normalsize, and I have an error. Please help me.

The error description is:

Runaway argument?
./Thesis.tex:13: Paragraph ended before \ttl@format@ii was complete.
<to be read again>

This is my code:

\documentclass[10pt, a4paper]{article}





 \lhead{\footnotesize{Text}\\ \footnotesize{Text}}%
 \lfoot{\footnotesize{Text}\\       \footnotesize{Text}}%






\begin{huge} \textbf{TEXT}\end{huge}\\
\begin{Large} \textbf{TEXT}\end{Large}\\
\begin{LARGE} \textbf{TEXT}\end{LARGE}\\




\draw(2.6,.3)node[color=bucv][font=\fontsize{20}{20}\sffamily\bfseries]{T\Large{EXT} \huge{T}\Large{EXT}};



\begin{LARGE} \textbf{"TEXT}\end{LARGE}\\
\begin{LARGE} \textbf{
\begin{large} TEXT:\end{large}\\
\begin{LARGE} \textbf{TEXT}\end{LARGE}\\
\begin{large}Elaborado por:\end{large}\\
\begin{Large} \textbf{Text}\end{Large}\\
\begin{Large} \textbf{TEXT}\end{Large}\\
\begin{Large} \textbf{2013}\end{Large}\\


& Title
& Title
&& Subtitle
&&& Title
& Title


  • 1
    If you load titlesec with the [tiny] option you will get all headings in the text size (except \chapter). Also, you might want to look into using the geometry package for your margins.
    – Alan Munn
    Jun 26, 2013 at 21:26
  • 1
    Use \titleformat*, not \titleformat. (See the manual.) Jun 26, 2013 at 21:29
  • I got it, with tiny and *, thanks you so much.
    – Isai
    Jun 26, 2013 at 21:35

1 Answer 1


There are two ways to achieve what you are doing (combining my and Torbjørn's comments.)

As a package option

The titlesec package has an option [tiny] which sets all headings (except \chapter) in the text font.


In this case you don't need any \titleformat* commands to change the size.

Use \titleformat*

There are two versions of the \titleformat command. The short form version (which is what you want here) is in fact \titleformat*; the long form version is \titleformat, which is why you got the error you did, since the command without the * is looking for up to 7 arguments.

  • 2
    Or with \usepackage{sectsty} and \allsectionsfont{\normalsize}
    – egreg
    Jun 26, 2013 at 22:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .