TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on some project in pdflatex. I am not an expert in this so I really need your help :). Well what I am trying to do:

  • I (or somebody) will make some common .tex file (with some text) with regular PDF output using article class.
  • But I want my \chapter , \title, \sections, \subsections and \items to be automatically colored.

Any ideas how can I achieve this effect?

I firstly tried to use just the beamer class and beamerposter.sty to transform the presentation page into A4 size and keep those colors. But the problem was that I can't see my section and subsection (they are only visible in \tableofcontents).

EXAMPLE CODE (and I want this to look a little bit colorful...check out the screenshot)


\usepackage[left=2cm,text={17cm, 23cm},top=3cm]{geometry}

\begin {document}

    \rm \large \textbf {blabalablabla}
    \rm \LARGE \textbf {TITLE}\\    
    \rm \large \textbf {(blabla)}



    text - in section 1


    text in section 2

    \item ITEM


\end {document}

This is just a simple example to show you what i mean.

This is just a simple example to show you what i mean.

share|improve this question
Do you have something specific in mind? Do you only need the titles of the sections to be colored or the whole body of them? It would really help if you can provide specific details such that everybody can contribute on different points. – percusse Dec 26 '11 at 16:13
I answered this in the thread that's entitled Changing standard output presentation page size into A4 size – Marc van Dongen Dec 29 '11 at 14:32
I have put some more details into my question. – Banny Dec 29 '11 at 14:44
up vote 4 down vote accepted

Have a look at the following link Fancy Chapter Headings. It uses TikZ to modifiy the style of the heading, maybe it gives you a starting point. Also have a look at the titlesec package which makes it much easier to adjust the sections in TeX.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.