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.

  • 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 – user10274 Dec 29 '11 at 14:32
  • I have put some more details into my question. – Banny Dec 29 '11 at 14:44

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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