My girlfriend is teacher at primary school, she's new using LaTeX and she needs to make a "cute document" for kids, but I don't know how change the following items to make them look nice for the kids:

  • parts,
  • sections,
  • page number/number of pages
  • and all this things to make a cute document.

1 Answer 1


I made a humble attempt of a cute document with memoir and some Inkscape graphics. :) Please bear with me, after all, cuteness is in the eye of the beholder. :)

Spoiler alert:

! Don't laugh at my duck, please.

Jake and I were talking in the TeX and friends chatroom a few months ago about funny chapter styles for memoir. For the fun of it, we made a theme based on Super Mario Bros. I drew Mario and a goomba:

Image 1

Later, we added a feature that added as many goombas as the chapter number - Chapter 3 would have three goombas, and so on.

Jake made an awesome Yoshi code that extended his tongue to fill the line:

Image 2

Sadly, the code is not available, for obvious reasons: Nintendo wouldn't be happy. After all, those characters are copyrighted. What we did was just a humble case study of "different" styles for documents based on memoir.

That said, I think we could use some ideas from this "exercise". I drew two elements in Inkscape, a flower and a duck:


I then exported both images to a tikzpicture via a nice plugin called inkscape2tikz. This step is not mandatory, after all, we can simply print those images to a vector format - say, .pdf - and include them as images (it's way easier).

In order to make our lives easier, I created a new package called duck:

\ProvidesPackage{duck}[2012/18/07 Duck style for memoir]



  ... TikZ code here ...

... TikZ code here ...


\setcounter{myflowers}{-1}\loop\stepcounter{myflowers}\ifnum\value{myflowers} < #1 \drawflower\repeat%

\drawduck\bfseries\HUGE\hfill ##1%

The TikZ code is huge. The full sample duck.sty file is available here.

Now, let's go to our .tex file. I opted to use a system font, so I went with xelatex. I don't like to change \parskip, \parindent and line spacing, but I thought that for this particular document, some adjustments would make the text easier to be read by a kid.


\setmainfont[Ligatures=TeX]{Segoe Print}






\chapter{The journey begins}

Hi, I am a duck. Quack!


\chapter{The journey continues}


\chapter{The journey ends}



The output:

Chapter 1

Chapter 3

This is surely the most clumsy duck drawing ever in the history of duck drawing. :)

Note that the number of flowers grow together with the chapter counter. Kant text is provided by kantlipsum. And memoir is awesome, as always. :)

Hope you guys like it. :)

  • 135
    I will use this for my thesis. Commented Jul 18, 2012 at 14:53
  • 11
    That is one awesome duck! And it's so clever, too!
    – Jake
    Commented Jul 18, 2012 at 14:59
  • 14
    After seeing your solution, I know what "cute" means ;-) Nice job! Commented Jul 18, 2012 at 16:11
  • 14
    i will not laugh, but i don't think your duck can swim. (as one knows from "peter and the wolf", ducks have to be able to swim.) on the other hand, it can probably fly. so i'd call it a birdie. (again, cf. "peter and the wolf".) definitely cute!!! Commented Jul 19, 2012 at 20:06
  • 15
    Kantian prose in a children's book is really interesting. :) But probably they can understand it better than Lorem Ipsum.
    – egreg
    Commented Jul 20, 2012 at 14:25

You must log in to answer this question.

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