If you were asked to show examples of beautifully typeset documents in TeX & friends, what would you suggest? Preferably documents available online (I'm aware I could go to a bookstore and find many such documents called 'books'). Extra bonus for documents whose LaTeX source is available.

This is not an idle question. Seeing great examples of any craft is both educational and inspiring, let alone explaining why we prefer TeX to Word or other text editors.

For instance, I like how Philipp Lehman's Font Installation Guide looks. I don't know enough LaTeX to realize how much customization was done, but the ToC looks polished.

Your nominations, please ...

  • 18
    Interestingly, the font installation guide probably doesn’t even have that many customizations, at least by the looks of it. Rather, the polished looks come from a very few choice adjustments. Commented Aug 8, 2010 at 8:53
  • 12
    I really like the microtype manual PDF. Since it's nicely using PDF features like layers and such to create an appealing document. Commented Aug 15, 2010 at 14:46
  • 3
    It seems to me that the font installation guide was set-up in a more elaborated way in previous versions. Am I missing something or confused with another document?
    – pluton
    Commented Oct 1, 2010 at 2:18
  • 2
    Similar: Beautiful presentations done with TeX and related systems Commented Jun 18, 2015 at 14:08
  • 3
    Most of the links given in answers lead to 404!
    – hola
    Commented May 31, 2017 at 6:34

104 Answers 104


Lately, I've begun working on duplicating a 16th century French Bible with XeTeX:


It features image lettrine and OTF features using XeTeX, specifically the advanced features from the open-source EB Garamond font, some of which were implemented specifically for this project (thanks to Georg Duffner's great reactivity).

French Bible using EB Garamond

Second page

The project is still a work in progress (the marginpars can be improved) and only features one page so far.


After reworking a few details, I ordered a printed copy recently, using zazzle:

Printed poster

Edit on 2015/07/07:

Fixed some details in the first page, and added a second page, featuring the EB Garamond Initials font.

  • 25
    This is a great example to show how something can be (re)created in LaTeX.
    – Count Zero
    Commented Sep 14, 2011 at 20:52
  • 156
    Just awesome. Speechless.
    – topskip
    Commented Sep 14, 2011 at 21:13
  • 20
    Truely awesome! This is nothing less than digitally "carving" a PDF file :)
    – percusse
    Commented Sep 14, 2011 at 23:12
  • 3
    Wow, amazing. Although, looking at the original page: the little shape above "A R G V M E N T" is mirrored ;) Commented Oct 8, 2011 at 11:45
  • 5
    How beautiful! True LaTeX masterpiece! Commented Nov 13, 2012 at 22:29

My lecture notes on Flight Dynamics, in Italian.

This is Lecture Note 1.

  • 64
    Damn, fine-tuning of caption positioning, wow!
    – yo'
    Commented Sep 29, 2012 at 14:44
  • 21
    Wow! @agodemar have you though on open sourcing it? At least the figure code, it must be awsome!
    – perr0
    Commented Jan 15, 2013 at 1:19
  • 32
    @marczellm Most of the figures are made with Inkscape; annotations are made using Inkscape's the "Render LaTeX formula" feature. Some figures with 3D scenes were made with Sketch and annotated with tikz. Some other scenes were made with Blender some other with Cinema4D.
    – agodemar
    Commented Feb 8, 2013 at 16:57
  • 6
    @PagliaOrba For the picture on the right-and-page above I used captionof from the caption package, combined with fine-tuned makebox and risebox commands. I didn't care about being in odd- or even-numbered page.
    – agodemar
    Commented Feb 28, 2013 at 14:06
  • 18
    This is amazing! I wished all professors would take so much care of the learning material. :')
    – Lenar Hoyt
    Commented Dec 23, 2014 at 16:41

I use LaTeX to typeset my role playing games (RPGs) projects for some years now. I thought I share them here, as they go beyond the usual scientific background. Most content was created in German, but thanks to the LaTeX sources, partial translations in English, Polish, Spanish and French have been done by others. (Xe)LaTeX is used to apply the same layouts to those languages.

At the core there is a CC BY-SA licensed 4 page booklet called NIP'AJIN containing game rules. There are separate homepages for the German, English, Polish, Spanish and French PDFs, (Xe)LaTeX sources for all of them are available in a single GitHub-Repository. NIP'AJIN makes heavy use of a custom truetype symbol font, for which sources can be found in a second GitHub-Repository. To keep the page count small, it does not make use of illustrations:

Preview of NIP'AJIN

Based on that, I have created longer booklets that include those 4 pages and add more content as well as illustrations. Maybe notable are NIP'AJIN Shots Vol.I and Vol.II that keep the same layout. German PDFs are available, most of the content (excluding illustrations) is also in the GitHub repository mentioned above:

Preview of NIP'AJIN Shots Vol.I

Using the same style files of those Shots, I have also created themed booklets. Notable are Kurai Jikan, a manga/anime themed booklet (currently available in English, German and Polish), and Einhundertelf Jahre (German only), a toys-themed booklet:

Preview of Kurai Jikan

Preview of Einhundertelf Jahre

Due license issues with the illustrations, no sources are available for those two, but the PDFs are distributed for free as CC BY-NC-ND. They are done the same way as the starter kit / author's package, found in the GitHub-Repository in the starter folder: they take the red-white layout from above and override some layout instructions to replace colors, backgrounds and fonts. The starter kit demonstrates this by creating a blue layout.

Finally, I recently created a CC BY-SA leaflet in German, English and Polish to promote the game. Full sources for it are available in this third GitHub-Repository.

Preview of Leaflet RPG

Still work-in-progress is ROBiN, a Robin Hood / medieval themed 80-page book (look at the eBook Version - German however).

edited on 2016/01/26 Since this answer is still quite popular, I updated it to reflect the current state of the various projects and updated previews and links.

  • 28
    Amazing work. Since you post it here, is there any way you will share the sources, too? You really nailed the usual RPG book look. Regarding your WiP book I have one point of critique if I may and that's the small caps. They look fake at times, especially for "Kämpfe" for example. Are they?
    – Christian
    Commented Jun 25, 2012 at 6:40
  • 4
    Thanks for the feedback. The fonts are the reason I am currently migrating from pdflatex to xelatex which should give me better control about font families. I've already been asked about sources, too, and am trying to come up with a solution, once I clarified some legal/license implications.
    – TeXter
    Commented Jun 26, 2012 at 4:23
  • 3
    Perhaps you might consider LuaLaTeX, too. I found it easier to use but then I don't use a Mac. Good to hear about your plans to open-source these documents. I hope you can sort out the legal stuff :)
    – Christian
    Commented Jun 26, 2012 at 7:14
  • 5
    Some sources are now available, for a link see the main article.
    – TeXter
    Commented Dec 31, 2012 at 8:48
  • 4
    Sources are now hosted on GitHub, see link "Autorenpaket" above.
    – TeXter
    Commented Aug 27, 2015 at 6:06

Bilingual dictionary typeset in LaTex and XeLaTex

I was asked to publish complete code of bilingual dictionary typesetting in LaTex. This regards typesetting of Icelandic-Czech Students' Dictionary.

The code:

The complete code can be found in two versions on GitHub repositories.

  1. LaTex version
  2. XeLaTex version


Example picture of current LaTex version layout.


Second example picture : lines in both columns are correctly aligned while displaying two images



  1. the first results of example letters can be viewed here
  2. current version example of letter A

I humbly admit that this is community collaborative work that helped us step by step to add useful functions to the code. Thank you !!!

We owe the final shape of typography to Paolo Brasolin, that has made diametrical changes, namely:

  1. lines in two columns document are aligned
  2. microtype package in use
  3. clarity of the code
  4. alignment of figures
  5. geometry of layout

Questions and answers that helped to complete the code:

See How to set a letter to the margin of the page and position it vertically according to alphabetical order? for some explanations about the thumb index.

See How to display unprinted text in headers? for explanations about unprinted headwords in header.

See also question Two different layouts using fancyhdr that exlains how to use different layouts using fancyhdr

See also Texindy sorting Icelandic that solves correct sorting of Icelandic index

  • 7
    Really nice! Maybe you can upload a few pages as a PDF so one can zoom and see the details …
    – Tobi
    Commented Jun 2, 2012 at 8:03
  • I added a link to your thumb index question. Since the code is a “community coolaborative work” you may like to add some more links for further reading and to point the reader to more details about some code snippets.
    – Tobi
    Commented Jun 2, 2012 at 8:07
  • Thank you for suggestions in editing the answer. I have added the links to PDF and also two more related questions.
    – chejnik
    Commented Jun 2, 2012 at 10:28
  • 6
    This looks fantastic. Great job
    – Ingo
    Commented Jun 2, 2012 at 10:39
  • 2
    This is great! Is there a complete source repository somewhere (github or so)?
    – raphink
    Commented Aug 29, 2012 at 8:30

If I can be allowed to plug my own project, my page for Bertrand Russell's Introduction to Mathematical Philosophy shows off 6 different PDFs for different page sizes, including eBook versions, produced with the same core source file. The source is available too. However, it was also one of my first LaTeX projects and I’m a bit embarassed by some of the messiness in the code.

A more recent, and cleaner project (source also available) is Wittgenstein’s Tractatus Logico-Philosophicus also available in different versions from the same source.

  • 35
    Vote up for making the source of the whole book available. Great study material. The preamble is also nicely commented.
    – Leo Liu
    Commented Aug 8, 2010 at 6:22
  • 8
    Another vote for publishing the source code! Thanks a bunch- complete book examples really help when tackling a project like this.
    – Sharpie
    Commented Aug 8, 2010 at 17:59
  • 6
    Just a humble question concerning the website. Why, oh why Comic Sans in the header?
    – helcim
    Commented Aug 12, 2010 at 8:49
  • 6
    @helcim: The website specifies font-family: BlackJack, cursive; On windows, cursive often (unfortunately) maps to Comic Sans.
    – Lev Bishop
    Commented Aug 15, 2010 at 3:18
  • 1
    BlackJack is embedded on the page. It appears your browser doesn't support embedded fonts. But Comic Sans? Yuck. Sorry about that.
    – frabjous
    Commented Aug 17, 2010 at 14:25

My first attempt to make something ... beautiful?

Without trying to imitate any particular book or style, I tried to evoke the beauty of ancient publications (very far from the illuminated books of he Middle Ages with Gothic or Uncial fonts, which are difficult to read for modern people).

The idea was add only add some fourier-orns ornaments, color, lettrines and old style numbers (except in math mode) once so popular. The type font is Palatino, that looks old but not strange for people (who mostly will be not aware that is not the usual Times Roman). There are not ligatures nor random small missplacing of old printing presses, but protrusion and expansion of the microtype package help in recreate slight imperfections preventing printing characters always with exactly the same size. Paper is artificially aged with wallpaper package with a simple backgroud.

The two sample pages below (with nonsense dummy text, biologist please ignore the content) have been joined by the inner margins with Gimp, to simulate their appearance in a paper book.

enter image description here

Edit: I planned to post the code when it was more polished and it could be used as book template... But I never have time to do it, so as requested, here it is, as is. In graphicx package have been included the [demo] option and \TileWallPaper has been commented to make it compilable without images.


\input Acorn.fd


% \usepackage[full]{textcomp}

\setlength{\parskip}{1.3ex plus 0.2ex minus 0.2ex}


\newcommand{\ornamento}{\vspace{2em}\noindent \textcolor{darkgray}{\hrulefill~ \raisebox{-2.5pt}[10pt][10pt]{\leafright \decofourleft \decothreeleft  \aldineright \decotwo \floweroneleft \decoone   \floweroneright \decotwo \aldineleft\decothreeright \decofourright \leafleft} ~  \hrulefill \\ \vspace{2em}}}
\newcommand{\ornpar}{\noindent \textcolor{darkgray}{ \raisebox{-1.9pt}[10pt][10pt]{\leafright} \hrulefill \raisebox{-1.9pt}[10pt][10pt]{\leafright \decofourleft \decothreeleft  \aldineright \decotwo \floweroneleft \decoone}}}
\newcommand{\ornimpar}{\textcolor{darkgray}{\raisebox{-1.9pt}[10pt][10pt]{\decoone \floweroneright \decotwo \aldineleft \decothreeright \decofourright \leafleft} \hrulefill \raisebox{-1.9pt}[10pt][10pt]{\leafleft}}}

\def\headrule{{\color{darkgray}\raisebox{-2.1pt}[10pt][10pt]{\leafright} \hrulefill \raisebox{-2.1pt}[10pt][10pt]{~~~\decofourleft \decotwo\decofourright~~~} \hrulefill \raisebox{-2.1pt}[10pt][10pt]{ \leafleft}}}



\newcommand{\estcab}[1]{\itshape\textcolor{marron}{\nouppercase #1}}

\fancyhead[LE]{\estcab{Fran Oldstyle}}
\fancyhead[RE]{\estcab{History of taxonomy}}
% \fancyhead[CE,CO]{\estcab{\decoone}}
\fancyhead[LO]{\estcab{\rightmark}} % malo cuando no hay section ~~~ \thesection

% \fancyhead[RO]{\bf\nouppercase{ \leftmark}}
% \fancyfoot[LE]{\bf \thepage ~~ \leafNE}
% \fancyfoot[RO]{ \leafNE  ~~ \bf \thepage}

\ornimpar \\ \large \hfill \sffamily\bf \textcolor{darkgray}{\leafNE ~~~ \thepage}
\fancyfoot[RE]{\ornpar   \\ \large  \sffamily\bf \textcolor{darkgray}{\thepage ~~~ \reflectbox{\leafNE}}  \hfill}

{\vspace{12pt}\centering ------- \decofourleft\decofourright ------- \par}

\setlength{\parindent}{1em} % Sangría española

\renewcommand{\footnoterule}{\vspace{-0.5em}\noindent\textcolor{marron}{\decosix \raisebox{2.9pt}{\line(1,0){100}} \lefthand} \vspace{.5em} }


% \TileWallPaper{300pt}{300pt}{Descargas/fondopapelviejo.jpg}

\chapter{Six kingdoms of life?}

\lettrine[lines=3]{\initfamily\textcolor{darkgreen}{T}}{he classic} kingdom \emph{Plant\ae} (Haeckel, 1866
include all the multicellular green plants (\emph{Viridiplant\ae} in Latin) as flowering  
plants, conifers, ferns, mosses and green algae. The number of species 
are estimated\footnote{Largely underestimated according to many naturalist.} around 300,000 to 315,000. 
Usually red or brown seaweeds like kelp, fungi and bacteria have
excluded from this group.
This kingdom really exists since Carolus Linn\ae us (1707--1778) who 
divided the natural world into animals, plants and minerals. The kingdom \emph{Animalia}  and \emph{Plant\ae} remained 
in use by modern evolutionary biologists until some years.  

\caption{\footnotesize \emph{Vallaris pergularia} from \emph{Icones plantarum}, vol. II., (Hooker, 1837).}
But now, both kingkoms are considered only two brachs of the unicelular kingdom \emph{Protist} 
or \emph{Protozoa}\footnote{Although by tradition,  inconsistently the status of kingdom 
is maintained \emph{Animalia}  and \emph{Plant\ae}.}.  




\lettrine[lines=3]{\initfamily\textcolor{darkgreen}{L}}{arlegy}, organism like \emph{Candida albicans} has
 been considered different of \emph{Protozoa} and related with green plants. However, today there 
 are evidences that animals and true fungi are indeed closer to each other than to any other group 
 in the eukaryote tree, far from the alveolates and other eukaryotic lineages.  

\begin{wraptable}{r}{7 cm}
\caption{\label{wraptab}Estimated fungal species.}
Authors & Species \\\midrule
Bisby and Ainsworth (1943) & $10^5$ \\  
Martin (1951) &  $2.5\times10^5$  \\
Hawksworth (1991) & $1.5\times10^6$ \\ 
O’Brien \emph{et al.} (2005) & $>3.5\times10^6$ \\  \bottomrule


  • 10
    (+1): Simply awesome!!! Would you like to share the sample code!
    – MYaseen208
    Commented Apr 20, 2014 at 17:00
  • 1
    really very good!! can you share an example of the code please? Commented May 6, 2014 at 19:51
  • 3
    I'll third that: do you have a sample code? :) Commented Jun 7, 2014 at 18:01
  • 1
    Beautiful! Small typo, your darkgray is the same as darkgreen: {0,80,0} Commented Aug 26, 2014 at 11:05
  • 5
    (Haeckel, 1866 xkcd.com/859 Commented Aug 11, 2015 at 22:54

Here is a page from a simultaneous Romanian/English liturgy used in the Romanian Orthodox church that I typeset. I don't know if it qualifies for beautiful, but I'll let you decide. I used an archaich Romanian font for the headings, parcolumns for the side-by-side text, and LilyPond for the scores.

edit: There's now http://www.liturghie.net/ where the full PDFs are available (also in other languages besides English). Source code will eventually make its way on to GitHub as I clean it up. The whole thing is obviously work in progress.

enter image description here

  • 1
    It definitely qualifies as beautiful! Commented Jan 25, 2013 at 19:58
  • Would be so great to do something similar using Caeciliae...
    – Andrestand
    Commented Jan 28, 2014 at 17:09
  • Awesome! I had no Idea LaTeX had made its way into everyday life at the BOR ^^
    – TheChymera
    Commented May 2, 2014 at 23:17
  • 2
    Too bad the LaTeX-Source hasn't surfaced. I've search all over liturghie.net and couldn't find that document. Any news about this answer?
    – MadMike
    Commented Sep 24, 2019 at 10:13
  • 2
    +1 I would also like to see the source code on GitHub :) Commented Dec 19, 2020 at 20:14

I may be a little biased, but I'm quite happy with the way my thesis Circuit Quantum Electrodynamics turned out.

EDIT: I have now packaged up the source with a brief description of some of the tricks I used (tweaking your latex is a great way to procrastinate when you should be writing a thesis!)

If you find the sources useful, or further if you use my format as the basis of your own thesis, I would love to hear from you!

  • 1
    Looks excellent. Post the source if you don't mind.
    – Leo Liu
    Commented Aug 8, 2010 at 16:18
  • 9
    Looks very good indeed. Alas, it's Feynman not Feynmann! Commented Aug 8, 2010 at 16:48
  • 33
    @José Figueroa-O'Farrill It's traditional to have a blatant typo on the first page of a thesis. Let's pretend that this was my Persian Flaw (only Allah is perfect).
    – Lev Bishop
    Commented Aug 10, 2010 at 4:01
  • 2
    Looks great, I would have avoided the red color (but that is just me :)
    – Johan
    Commented Aug 15, 2010 at 10:08
  • 20
    "tweaking your latex is a great way to procrastinate when you should be writing a thesis!" - So, so true. Commented Jan 15, 2013 at 6:13

A recent edition to the pstricks family is a set of "Vectorian ornaments" used for decorating text. It At the moment (don't know whether it might be expanded) it includes 196 ornaments, listed by number:

pstricks Vectorian ornaments

The documentation showcases some of the styles around text.

108: enter image description here

158: enter image description here

  • 32
    I created the pgfornament package It's a pgf version of psvectorian. The version is still beta but seems to work. You can find the package here altermundus.com/pages/tkz/ornament/index.html Commented Mar 2, 2012 at 8:55
  • Any idea on how to get these working on writelatex.com ?
    – fstab
    Commented Mar 12, 2014 at 17:44
  • 2
    @francescostablum: If writeLaTeX is anything like ShareLaTeX, you should be able to upload files to your project. In this case, upload psvectorian.pro and psvectorian.sty from psvectorian.zip to your project and compile away. The .pro file contains all the coordinate drawings for the ornaments in PostScript, while the .sty provides the LaTeX-side macros so you can use them.
    – Werner
    Commented Mar 12, 2014 at 17:59
  • @Werner: unfortunately I just discovered that writeLaTeX does not support pstricks :/
    – fstab
    Commented Mar 12, 2014 at 18:03
  • 1
    For anyone that uses overleaf.com: insert \usepackage{psvectorian} in the preamble and click on the menu button to change the compiler to XeLaTeX.
    – Mr. B
    Commented Jul 19, 2020 at 20:55

One of the most interesting books typeset with TeX that I know, is "Trees, Maps, and Theorems" by Jean-Luc Doumont. It offers beautiful typography down to details such that each paragraph is typeset as a perfect rectangle (which means a lot of textual rewriting, so whether this is a good idea I leave open). But it makes a wonderful coffee-table book, with a lot of very useful advice inside.

Link to some sample pages as pdf

  • 1
    I have this book, and never realized that it is typeset with TeX. The perfect rectangular paragraphs are just amazing.
    – Aditya
    Commented Jan 21, 2013 at 19:37
  • 14
    The rectangular paragraphs are not a TeX trick but the result of Jean-luc's perfectionnism :-) Commented Jan 28, 2013 at 23:14
  • 4
    @Ivaneesbeek they are actually both: you need a tool like TeX to offer you typesetting rectangles in the first place, but then you also need to have the patience and perfectionism to fill it "properly" Commented Jan 29, 2013 at 5:34
  • 14
    I SO want to have the source for this. This is perfect.
    – Eekhoorn
    Commented Jan 30, 2013 at 9:28
  • 6
    @Eekhoorn This is not the source but it's better than nothing :-) principiae.be/pdfs/TUG-X-004-slideshow.pdf (go to page 17). Mr. Doumont says "I do not use LaTeX and, in fact, not even plain.tex anymore". Commented Jun 17, 2015 at 8:00

The coloredlettrine package aims to provide beautiful colored drop caps to LaTeX, using the EB Garamond font:

colored lettrine example

  • 12
    Is it common that the second letter of the first word of a paragraph is a capital letter as well? Like "APres"? Commented Nov 20, 2014 at 1:37
  • 1
    I honestly don't know. This Bible I found does it after every lettrine, but I don't know if it was common at the time.
    – raphink
    Commented Nov 20, 2014 at 11:20
  • @Raphink: Well it was no offense or anything ;). The books I've seen (including some printed in the late 1700s) use a lowercase letter after the lettrine, but that probably means it differs with cultures I guess. Commented Nov 20, 2014 at 11:36
  • This one is from 1564 in Geneva github.com/raphink/geneve_1564
    – raphink
    Commented Nov 24, 2014 at 6:07
  • 2
    @WillemVanOnsem I have looked at a couple of old books I have scanned, and they seem to mix only one letter in uppercase or a few words in small uppercase. Here is the start of every chapter from a book from 1605, where the first word is capitalised: i.sstatic.net/NqGla.jpg And here is another from 1585, where it is not consistent between a word and a line: i.sstatic.net/g7zl9.jpg
    – Davidmh
    Commented Sep 4, 2019 at 12:56

Here are some pages of my end-of-post-obligatory-school work (Travail de Maturité in French). The whole source code can be found in my Git repository under examples/TM. Some of this document typo are given as separated files in the typographyArchive folder. The document is in French, it's compiled using XeLaTeX. The main font is Lato (it's publish under the SIL open font licence).

The goal was to have a really "modern" design. It is inspired from the flat design that is used for websites.

It took me a lot of time and I hope the result was worth it. I spend some time on the table of content and the chapters headings. Besides, as I wanted something elegant, modern but still uncluttered, special efforts were made on the text look, and the document spacing. The tables are also customized to meet the flat style.

TM typo example

  • 11
    some clever ideas, especially flat tables.
    – s__C
    Commented Nov 21, 2015 at 11:12
  • cool! what is the name of the typeface you use? Commented Aug 4, 2016 at 12:09
  • @Bartholomaios As I said in the description, I used Lato (Lato Light to be precise) for the body, section title, etc. If you are referring to the title, they are type-setted using 'BIRTH OF A HERO'. Commented Aug 8, 2016 at 12:22
  • Gorgeous! This gives me flashbacks to MSDN.
    – user101787
    Commented Jan 28, 2017 at 20:32
  • 2
    you have a small typo on page 4: "normes typographiques utilisées dans ce document"
    – Droplet
    Commented Jul 4, 2018 at 7:37

If you have time to spare, you can also have a look at my thesis Stochastic Multiplayer Games: Theory and Algorithms. The font is Fedra Serif B, combined with FdSymbol.

Edit: My LaTeX class file is available at https://gist.github.com/3428745.

sample pages

  • 8
    Very impressive. My time for this is coming soon and I can't get enough of these :)
    – percusse
    Commented Sep 14, 2011 at 23:16
  • Very interesting thesis. And cool font. Thanks for sharing!
    – Rasmus
    Commented Oct 8, 2012 at 23:03

For a project I had to typeset a text conversation between two people. I ended up writing a class that recreates the look and feel of the Kik messenger app.

enter image description here

Source of the class file (kik-android.cls):

% kik-android.cls
%   by Brian Jacobs (fixes by Maximilian Noethe).
%   April 10, 2018
% This document class emulates the user interface of the Kik messaging
% application running on an android Moto X.


% Start with article. Eventually this should be removed,
% because I'm not actually using it for much of anything

% Load all necessary packages

% Set up the page so that it matches phone size.
\usepackage[top=.55in,         bottom=.55in,
            right=.015in,      left=.015in,

% Style the page

% Color Definitions

% Customization Flags
\def\@partnerName{Sample Name}

% Macros to draw the background
    let \p1 = (current page.north east) in
      (\x1 - .42in - #1in, \y1 - 0.0415in - #1in) rectangle (\x1 - .43in -#1in, \y1 - 0.1409 in);

% Background Macro
  \begin{tikzpicture}[remember picture, overlay]
    % Background
    \fill[backgroundgray] (current page.north east) rectangle (current page.south west);
    let \p1 = (current page.north east) in
    let \p2 = (current page.north west) in
    (\x1,\y1) rectangle (\x2,\y2 - 0.1667in);
    let \p1 = (current page.south east) in
    let \p2 = (current page.south west) in
    (\x1,\y1) rectangle (\x2,\y2 + 0.3141in);
    let \p1 = (current page.north east) in
    let \p2 = (current page.north west) in
    (\x1,\y1 - 0.1667in) rectangle (\x2,\y2 - .5289in);
    let \p1 = (current page.north east) in
    let \p2 = (current page.north west) in
    (\x1,\y1 - .5289in) -- (\x2,\y2 - .5289in);
    let \p1 = (current page.south east) in
    let \p2 = (current page.south west) in
    (\x1,\y1 + 0.3141in) rectangle (\x2,\y2 + .6090in);
    let \p1 = (current page.south east) in
    let \p2 = (current page.south west) in
    (\x1,\y1 + .6090in) -- (\x2,\y2 + .6090in);

    % Kik Top bar decorations
      % Circles
      let \p1 = (current page.north east) in
        (\x1 -.1987in,\y1-.359in) circle (0.04065in);
      let \p1 = (current page.north east) in
        (\x1 -.15805in,\y1-.31835in) circle (0.04065in);

      % Name
      let \p1 = (current page.north west) in
        (\x1 + .4647in, \y1 - .3481in) node[anchor=west] {\@partnerName};

      % Arrow
      let \p1 = (current page.north west) in
        (\x1 + .1314in, \y1 - .3397in) -- (\x1 + .2179in , \y1 - .3397in);
      let \p1 = (current page.north west) in
        (\x1 + .1795in, \y1 - .2981in) -- (\x1 + .1314in, \y1 - .3397in) --
        (\x1 + .1795in, \y1 - .3846in);

    % Kik Bottom Bar Decorations
      % Type a message...
      let \p1 = (current page.south west) in
        (\x1 + .3141in, \y1 + .5524in) node[anchor=north west,scale=.85] {\color{androidgray}Type a message...};

      % Plus
    \draw[thick, androidgray]
      let \p1 = (current page.south west) in
        (\x1 + .1538in, \y1 + .5321in) -- (\x1 + .1538in,\y1 + .4135in);
    \draw[thick, androidgray]
      let \p1 = (current page.south west) in
        (\x1 + .0906in, \y1 + .4728in) -- (\x1 + .2088in, \y1 + .4728in);

    % Android Top Bar Decorations
      % Time
      let \p1 = (current page.north east) in
        (\x1,\y1-0.01in) node[anchor=north east,scale=0.75] {\color{androidgray}\@hours:\@minutes};

      % Republic Wireless
    \draw[very thick,repwiregreen]
      let \p1 = (current page.north west) in
        (\x1 + .0701in, \y1 - .0801in) to[bend left=90] (\x1 + .1603in, \y1 - .0801in);

      % Battery Indicator
      let \p1 = (current page.north east) in
        (\x1 - .3974in, \y1 - .1406in) rectangle (\x1 - .3213in,\y1 - .0509in);
      let \p1 = (current page.north east) in
        (\x1 - .3784in, \y1 - .0515in) rectangle (\x1 - .3403in,\y1 - .0379in);

      % Status Bars

    % Android Bottom Bar Decorations
    % Home
    \draw[very thick,androidgray]
      let \p1 = (current page.south) in
        (\x1 - .1186in, \y1 + .08974in) -- (\x1 + .1186in, \y1 + .08974in) -- 
        (\x1 + .1186in, \y1 + .1795in)  -- (\x1, \y1 + .2115in) -- 
        (\x1 - .1186in, \y1 + .1795in) -- cycle;

    % Pages
    \draw[very thick,androidgray]
      let \p1 = (current page.south east) in
        (\x1 - .4391in, \y1 + .1058in) rectangle (\x1 - .6026in, \y1 + .1795in);
    \draw[very thick,androidgray]
      let \p1 = (current page.south east) in
        (\x1 - .3974in, \y1 + .1346in) -- (\x1 - .3974in, \y1 + .2219in) --
        (\x1 - .5545in, \y1 + .2219in);

    % Back arrow
    \draw[very thick,androidgray]
      let \p1 = (current page.south west) in
        (\x1 + .4199in, \y1 + 0.1635in) -- (\x1 + .5833in, \y1 + 0.1635in) to[bend left=90]
        (\x1 + .5833in, \y1 + .0993in) -- (\x1 + .5032in, \y1 + .0993in);
    \draw[very thick,androidgray]
      let \p1 = (current page.south west) in
        (\x1 + .4487in, \y1 + .1987in) -- (\x1 + .4199in, \y1 + .1635in) -- (\x1 + .4487in, \y1 + .1282in);


% Make the background appear on every page

% Commands for use by the user.




    \draw (0,0) node[anchor=north east,rectangle,rounded corners=2,fill=msggreen, scale=0.75,draw=circgray] {
        \raggedright #1\\
        \tiny \color{msggreen}.
    \fill[msggreen] (-0.01in,-0.06in) -- (0.06in,-0.12in) -- (-0.01in,-0.18in) -- cycle;
    \draw[circgray] (0,-0.06in) -- (0.06in,-0.12in) -- (0in,-0.18in);

    \draw (-.6,-.3) node[scale=1.825,circle, path picture={
        \node at (path picture bounding box.center){
    ] {};
    \else\fill[black] (-.6,-.3) circle (.12in);\fi
    \draw (0,0) node[anchor=north west,rectangle,rounded corners=2,fill=white, scale=0.75,draw=linegray] {
        \raggedright #1\\
        \tiny \color{white}.
    \fill[white] (0.01in,-0.06in) -- (-0.06in,-0.12in) -- (0.01in,-0.18in) -- cycle;
    \draw[linegray] (0,-0.06in) -- (-0.06in,-0.12in) -- (0in,-0.18in);

    \draw (0,0) node[scale=.65] {\color{kiktimepalegray}#1 \color{kiktimedarkgray}@ #2};

Source for the conversation:


\setPartnerName{Dave Johnson}

\you{Knock knock}
\me{Who's there?}
\me{Canoe who?}
\you{Canoe help me with my homework?}
\time{Fri}{12:03 PM}
\you{...please. I'm gonna fail calculus. :-(}
  • 1
    We prefer self-contained answers. If you could put here the full code (package/class + source of the document) it would be nice.
    – Manuel
    Commented Apr 19, 2015 at 21:19
  • 2
    You do not need this \makeatletter in a class file, do you?
    – MaxNoe
    Commented Apr 29, 2015 at 21:20
  • 6
    I guess @MaxNoe's point was that @ already has catcode 11 (letter) in packages/classes, so there is no need to explicitly add \makeatletter/\makeatother. It's if you want to use @ in macro names in a preamble that \makeatletter is required. Commented Sep 10, 2015 at 8:38
  • 3
    Exactly. It is just not needed.
    – MaxNoe
    Commented Sep 10, 2015 at 11:52
  • 2
    I had to add the line \usepackage[defaultsans]{droidsans} to the class file to make it work.
    – Lukas
    Commented Sep 11, 2015 at 17:08

I'd like to add two new "styles of typography" which I created recently. The content is not exactly impressive but perhaps the typography is.

The first example document contains more of a regular "book style", with strong influence from the "tufte"-class, although I used somewhat different body text and captions. Here are the first four pages of the second chapter:

https://i.sstatic.net/wAlAR.png http://i.imgur.com/0WMcNfn.png

I also tried something more experimental. This more futuristic approach does not contain serifs, shows excessive use of notes in the margin, and it uses drop shadows for most figures. Also, I used a slightly less invasive colour pattern. Whatever, I just wanted to twist some rules. Here are some example pages (the real content has been substituted with sample text due to confidentiality issues):

http://i.imgur.com/KSA6c07.png https://i.sstatic.net/ptKI0.png https://i.sstatic.net/t8krM.png

  • 5
    Is there a way to get a template? Looks great! I prefer the first version. Commented Jan 2, 2015 at 12:44
  • 4
    Why don't you put it in a public space? I am interested in compiling it. :-) Commented Jan 3, 2015 at 3:46
  • 14
    @Everybody, I currently only have the source which is rather tedious to work with. I'll work on a class file and accompanying template and let you know when it's done.
    – 1010011010
    Commented Jan 3, 2015 at 22:34
  • 3
    I would also love to have a source!
    – ragzoxaim
    Commented Dec 21, 2015 at 0:29
  • 13
    Note that 1010011010 is 666 in binary, and certainly posting such a beautiful work without the source is nothing less than diabolical ;)
    – JorgeGT
    Commented Jan 30, 2018 at 15:52

It's often said that the 19th century represented a nadir in typography, but I find many documents typeset in this period to be charmingly kitschy. I've recently undertaken a project to reproduce "Persecution of New Ideas", a notorious quacksalver's advertisement from an old 1875 railroad atlas. Here is the LaTeX reproduction, warts and all:

"Persecution of New Ideas" by C. L. Blood, as reproduced in LaTeX

And here is the original:

"Persecution of New Ideas" by C. L. Blood (original)

Though there were some tricky bits, on the whole this wasn't terribly difficult to reproduce. The source code (and the generated PDF) is now available on GitHub: https://github.com/logological/blood

  • 9
    Only hipsters call a period of typography a nadir :P Very nice!!
    – percusse
    Commented Nov 5, 2015 at 12:34
  • Did you insert the line breaks manually?
    – Aditya
    Commented Feb 23, 2016 at 20:32
  • @Aditya: Yes, I did. You can examine this yourself by checking the source code I linked to.
    – Psychonaut
    Commented Feb 24, 2016 at 9:53
  • 2
    I just had a look at the code. Well done. I thought that the bottom picture would be more trouble. Commented Apr 7, 2017 at 9:52

Personally, I love the ability to really use typography as part of storytelling, like as shown in the \raisebox example in A (Not So) Short Introduction to LaTeX2e:

she shouted, but not even the next
one in line noticed that something
terrible had happened to her.

\raisebox example from A (Not So) Short Introduction to LaTeX2e

Or to show that pi is rather long... (based on diminuendo from from the Tex showcase): enter image description here

Isn't that art?

  • 5
    Thanks. Do you happen to know how the "paper texture" is added (such as in the sample at tsengbooks.com/images/6176s.pdf)? Commented Aug 8, 2010 at 1:24
  • 5
    It's just a small image tiled to fill the entire page. You could do that using package atbegshi <ctan.org/pkg/atbegshi>. Commented Aug 8, 2010 at 21:34
  • Is the source code for any of the AAUP Showbooks available?
    – Village
    Commented Apr 19, 2012 at 7:12

I scarcely cannot believe, that Christoph Schiller’s herculean 20 years effort of writing a free physics textbook Motion Mountain is not on this list. Despite his criticism of LaTeX, which itself is interesting to read, the six volumes are produced with LaTeX. Beautifully typeset in MinionPro and Myriad extended by Johannes Küster’s Minion Math.

If I had to choose one project of which I wanted to see the LaTeX source of, it would be this book.

  • 1
    duplicate of tex.stackexchange.com/questions/1319/…
    – Lev Bishop
    Commented Dec 6, 2011 at 8:20
  • 1
    oh dear, I searched for the title on the list with the space, and then it’s on it without the space...
    – uli
    Commented Dec 6, 2011 at 8:40
  • 1
    Amazing book and typesetting!!! Thank you an information.
    – chejnik
    Commented Jun 2, 2012 at 7:55
  • An attempt to reproduce the way the table of contents is built in the Motion Mountain books can be found in this thread. Despite the presented source code is based on 'article' class, it compiles to something very similar in looks and functionality, including clickable hyperlinks and justified paragraphs. You will also enjoy the fact that unlike the original, the linked solution actually recognizes three levels of section depths.
    – bartek
    Commented Nov 17, 2014 at 16:32

I try to pay attention to typography (and in particular French typography) details in the books I edit. Hopefully, the result is not too bad (I don't pretend to a typographist nor a graphist):

Page 1 Page 21

Pages 16 and 17 Page 25

2 days

Lately, I've tried hard to bring acceptable typography to EPUB publishing, using the same LaTeX source (and some TeX4HT tricks). Here are some examples taken on Android with Aldiko:

charismanie in aldiko sagesse in aldiko

And in Readium (Chrome extension):

charismanie in readium

charismanie with footnote in readium

  • 2
    Could you share instructions on how to obtain such nice epubs? They look amazing!
    – lf_araujo
    Commented Mar 13, 2017 at 0:51

Here's ConTeXt + metapost rendition of Oliver Byrne's "The first six books of the Elements of Euclid"

sample spread

The idea was not to reproduce the original, but rather to implement its most important features. As a result, there's a metapost library to handle all the byrnian stuff, which can be used to produce similarly styled geometric proofs. I tried to make this lib extensible, and some extras are already there, e. g. there are optional text labels (as Tufte in "Envisioning information" have suggested):

text labels

And when I realized that there's no need to have pre-drawn linked graphics, I decided not to redraw lettrines from the original, but to make them generated. And so, they are, and by default there are no two identical initials (but it's easy to substitute generated ones with pictures):

lettrines sample

And even though I'm not quite content with how the book looks yet, I think that's one of the things TeX & friends are great for.


There's also a Russian translation of the book now:

enter image description here

  • 4
    What a fantastic job, and so nice of you to put it online! Looks great!
    – mickep
    Commented Aug 23, 2018 at 6:08
  • Thank you! So far, the project only benefits from being online and open source. Commented Aug 23, 2018 at 21:48
  • The generated drop caps is a great idea!
    – raphink
    Commented Apr 16, 2020 at 16:03

The thesis of Eivind Uggedal is very nice: Social Navigation on the Social Web: Unobtrusive Prototyping of Activity Streams in Established Spaces

The source is at http://bitbucket.org/uggedal/thesis/src/


I cannot resist to show what all kinds of documents can be done by LaTeX, and I add this style for children books done by Paulo

Chapter 3


Update: Template available under Stack Exchange TeX Blog and/or my PHD project website.

I wrote a German PHD thesis in LaTeX. In addition I used the beamer class to create the slides for the final presentation. Both PDF files can be found here (Bedienhaptik.de).


The thesis was made using the koma class book and all the diagrams are made with pgfplots and tikz. I also used the hyperref package of course.

I used two colors (red, blue) in the document that are used for structure elements like section and headings and the colors are also used in diagrams.

The colors are:

  • \definecolor[named]{myLayoutColorMain}{RGB}{0,26,153} (blue)
  • \definecolor[named]{myLayoutColorAux}{RGB}{174,49,54} (red)

I used sans serif fonts for captions (tables, figures) and in diagrams. I think this looks nicer.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here


The presentation was naturally done with the beamer class in combination with tikz and pgfplots.

On slide 10 the presentation contains an animation (pgfplots and animate package).

In order to use the official university font (Helvetica Neue) I had to use LuaLaTeX. With the help of the community here I managed to work it out.

enter image description here

enter image description here

enter image description here


Christoph Bier's typokurz is beautiful and useful; it's a 15-page guide to (German) (micro)typography in a nutshell. While it's just an article lengthwise (scrartcl, to be precise), it masterfully modifies many features frequently discussed on Tex.SX: section-titles, tables, footnotes, marginnotes, header ...

typokurz example page

What's even better is that the preamble is available as well, it even is extensively annotated, but – that will be the downside for most users here – in German, just like the entire document is. Nonetheless, non-German speakers might still find their way around as well as some inspiration in the source code.

  • 1
    Any possibility of our German friends here at TeX StackExchange translating this preamble?
    – Ariel
    Commented Mar 3, 2015 at 8:46

I got a directory "Beautiful TeX document" on my computer storing files that are beautiful and I might want to look at for inspiration when designing mine.

  1. ArsClassica
  2. ClassicThesis
  3. the manual of pdfx
  4. TKZdoc-linknodes-us

All of them can be found in CTAN. fontinstallationguide and tufte-sample-book have already been mentioned.

LaTeX companion 2nd edition has chapter-3 free on-line (http://www.latex-project.org/guides/tlc2-ch3.pdf). I think the typography is one of the finest.

  • 14
    All of them can be called up via texdoc <name> on a recent LaTeX distribution. Commented Aug 10, 2010 at 9:31
  • 1
    On Debian based systems, the examples (and a lot more like them) currently live in the package texlive-publishers-doc which is not installed by default, but no more than a click/command away. The classes themselves are in texlive-publishers. Commented Jun 19, 2014 at 12:11

Here are some screenshots of the pdf output of my Persian class, neveshtuft (in Persian: نوشتافت): a class based on the biditufte-book class. A sample pdf can be downloaded here. Unfortunately I can't make the source free to download, so it can only be purchased here.

enter image description here

enter image description here

enter image description here


I know I'm late to the party, but I have to plug something I've just discovered a few days ago: a style that mimics the book for Dungeons And Dragons 5e.

There's an image of the result in Github, but I'll add it here too so it can be easily enjoyed:

D&D 5e LaTeX Template

If the author reads this, know that you made my day when I found it. Awesome job!

  • 7
    One of the authors typing here - very happy to hear your like it :-) !
    – Cathode
    Commented Oct 8, 2016 at 22:32
  • 1
    @Cathode I really do! :-) Though it's so packed with LaTeX stuff that I don't understand (my fault, I'm quite a newbie), that it's taking me some time to grasp it all. It would be great if you could dissect it into elements that could be easily cut-and-paste-able for DYI RPG manuals. Or better yet, easy-to-use macros. With explanations. And examples. And an unicorn, while you're at it ;-) (note that it's been a while since I read the template, and some of this could be already done; specially the unicorn part)
    – rsuarez
    Commented Oct 13, 2016 at 10:27
  • The example.tex should contain a number of useful examples though it could use some improvements. Maybe I'll find some time for that soon. If you have any specific questions feel free to contact me (github.com/anoderay)!
    – Cathode
    Commented Oct 13, 2016 at 12:01

I dedicated quite a bit of time to the typesetting of my Master's thesis. Therefore I am more than happy to share it with you.


It is open source and available at https://github.com/gcedo/master-thesis/tree/master

Cover and colophon

Chapter opening

Images and headers

  • Can you share with us your preamble? I supposed you use memoir class (my favourite).
    – user56567
    Commented Aug 30, 2014 at 9:52
  • Very nice. Could you be so kind to share the thesis (or template) with us?
    – Max
    Commented Mar 12, 2016 at 22:27
  • This looks quite nice. Looking forward to reading it sometime. Commented Apr 5, 2017 at 18:39

I'm actually quite satisfied with how my Master thesis Synthesizing Software from a ForSyDe Model Targeting GPGPUs turned out.

example pages

Yes, another shameless plug...

EDIT: There have been requests on making the source code available. Since I don't want to release the full source, I've instead made a template available that you can then adapt to your own document. If you heavily base your own thesis report on this template I would appreciate if you made a small acknowledgement somewhere. Other than that - go nuts! =)

  • Inspired by the Motion Mountain, were you? It looks appealing. Commented Mar 1, 2012 at 0:27
  • @HarroldCavendish: Nope, never heard about Motion Mountain before, but it does look similar. =)
    – gablin
    Commented Mar 1, 2012 at 8:57
  • @henrique: How could I not - it's half the reason why the thesis looks the way it does. =)
    – gablin
    Commented Mar 1, 2012 at 8:58
  • @gablin Siva Prasad Varma was asking in chat (chat.stackexchange.com/transcript/message/5802151#5802151) how you created your thesis, is there any chance of making the source available? Commented Aug 16, 2012 at 13:13
  • @TorbjørnT.: Not the entire source, but I'd be happy to share a template. I've updated my answer accordingly.
    – gablin
    Commented Aug 17, 2012 at 12:17

You must log in to answer this question.

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