Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 ...

share|improve this question
8  
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. –  Konrad Rudolph Aug 8 '10 at 8:53
3  
I really like the microtype manual PDF. Since it's nicely using PDF features like layers and such to create an appealing document. –  Johannes Schaub - litb Aug 15 '10 at 14:46
1  
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 Oct 1 '10 at 2:18

68 Answers 68

A poster about "Automata and Computability" for my students. It's in Dutch thus most people wont understand that much about it. It is an A0 poster, something most WYSIWIG magic will never achieve to edit conveniently.

poster on automata and computibility

pdf and tex are available. Feel free to fork/issue/pull request.

In order to make typesetting more conveniently, I wrote a package called preziposters, although it is still under development.

A physical copy is hanging in my office.

Using the same package, this poster - about Graph theory and Combinatorial Optimization - was made (still in beta):

poster graph theory and combinatorial optimization

(pdf)

share|improve this answer
1  
The pdf is still 0 bytes. –  Sverre May 21 at 12:37

Here is some screenshots of the pdf output of my Persian class, neveshtuft: a class based on biditufte-book. 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

share|improve this answer

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
%   by Brian Jacobs.
%   April 11, 2015
%
% This document class emulates the user interface of the Kik messaging
% application running on an android Moto X.

\ProvidesClass{kik-android}
\makeatletter

% Load all necessary packages
\usepackage{varwidth}
\usepackage{fontspec}
\usepackage{tikz}
\usetikzlibrary{calc}

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

% Set up the page so that it matches phone size.
\usepackage[top=.55in,         bottom=.55in,
            right=.015in,      left=.015in,
            paperwidth=2.308in,paperheight=4.103in]{geometry}

% Style the page
\pagestyle{empty}
\setmainfont{DroidSans}
\setlength{\parindent}{0pt}

% Color Definitions
\usepackage{xcolor}
\definecolor{backgroundgray}{RGB}{238,238,238}
\definecolor{linegray}{RGB}{212,212,212}
\definecolor{circgray}{RGB}{199,199,199}
\definecolor{circdarkgray}{RGB}{117,117,117}
\definecolor{arrowgray}{RGB}{107,107,107}
\definecolor{msggreen}{RGB}{185,224,97}
\definecolor{androidgray}{RGB}{191,191,191}
\definecolor{repwiregreen}{RGB}{71,146,53}
\definecolor{kikblue}{RGB}{103,142,233}
\definecolor{kiktimepalegray}{RGB}{158,169,184}
\definecolor{kiktimedarkgray}{RGB}{122,133,151}

% Customization Flags
\def\@hours{12}
\def\@minutes{11}
\def\@partnerName{Sample Name}

% Macros to draw the background
\def\@statusbar#1{
  \def\c{androidgray}
  \fill[\c]
    let \p1 = (current page.north east) in
      (\x1 - .42in - #1in, \y1 - 0.0415in - #1in) rectangle (\x1 - .43in -#1in, \y1 - 0.1409 in);
}

% Background Macro
\def\@drawBackground{
  \begin{tikzpicture}[remember picture, overlay]
    % Background
    \fill[backgroundgray] (current page.north east) rectangle (current page.south west);
    \fill[black]
    let \p1 = (current page.north east) in
    let \p2 = (current page.north west) in
    (\x1,\y1) rectangle (\x2,\y2 - 0.1667in);
    \fill[black]
    let \p1 = (current page.south east) in
    let \p2 = (current page.south west) in
    (\x1,\y1) rectangle (\x2,\y2 + 0.3141in);
    \fill[white]
    let \p1 = (current page.north east) in
    let \p2 = (current page.north west) in
    (\x1,\y1 - 0.1667in) rectangle (\x2,\y2 - .5289in);
    \draw[thick,linegray]
    let \p1 = (current page.north east) in
    let \p2 = (current page.north west) in
    (\x1,\y1 - .5289in) -- (\x2,\y2 - .5289in);
    \fill[white]
    let \p1 = (current page.south east) in
    let \p2 = (current page.south west) in
    (\x1,\y1 + 0.3141in) rectangle (\x2,\y2 + .6090in);
    \draw[thick,linegray]
    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
    \fill[circgray]
      let \p1 = (current page.north east) in
        (\x1 -.1987in,\y1-.359in) circle (0.04065in);
    \fill[circdarkgray]
      let \p1 = (current page.north east) in
        (\x1 -.15805in,\y1-.31835in) circle (0.04065in);

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

      % Arrow
    \draw[thick,circdarkgray]
      let \p1 = (current page.north west) in
        (\x1 + .1314in, \y1 - .3397in) -- (\x1 + .2179in , \y1 - .3397in);
    \draw[thick,circdarkgray]
      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...
    \draw
      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
    \draw 
      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
    \fill[androidgray]
      let \p1 = (current page.north east) in
        (\x1 - .3974in, \y1 - .1406in) rectangle (\x1 - .3213in,\y1 - .0509in);
    \fill[androidgray]
      let \p1 = (current page.north east) in
        (\x1 - .3784in, \y1 - .0515in) rectangle (\x1 - .3403in,\y1 - .0379in);

      % Status Bars
      \@statusbar{0}
      \@statusbar{.02}
      \@statusbar{.04}
      \@statusbar{.06}
      \@statusbar{.08}

    % 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);

  \end{tikzpicture}
}

% Make the background appear on every page
\usepackage{everypage}
\AddEverypageHook{\@drawBackground}


% Commands for use by the user.
\def\setPartnerName#1{
  \def\@partnerName{#1}
}

\def\setPartnerPic#1{
  \def\@partnerPic{#1}
}

\def\setHours#1{
  \def\@hours{#1}
}

\def\setMinutes#1{
  \def\@minutes{#1}
}

\def\me#1{
  \hphantom{.}\hfill\begin{tikzpicture}
    \draw (0,0) node[anchor=north east,rectangle,rounded corners=2,fill=msggreen, scale=0.75,draw=circgray] {
      \hspace{.1in}\begin{varwidth}{1.5in}
        \vphantom{.}
        \raggedright #1\\
        \tiny \color{msggreen}.
      \end{varwidth}
      \hspace{.1in}
    };
    \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);
  \end{tikzpicture}
  \vspace{.05in}\\
}

\def\you#1{
  \begin{tikzpicture}
    \ifdefined\@partnerPic
    \draw (-.6,-.3) node[scale=1.825,circle, path picture={
        \node at (path picture bounding box.center){
          \includegraphics[width=.24in]{\@partnerPic}
        };
      }
    ] {};
    \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] {
      \hspace{.1in}\begin{varwidth}[c]{1.5in}
        \vphantom{.}
        \raggedright #1\\
        \tiny \color{white}.
      \end{varwidth}
      \hspace{.1in}
    };
    \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);
  \end{tikzpicture}
  \vspace{.05in}\\
}

\def\time#1#2{
  \hphantom{.}\hfil\begin{tikzpicture}
    \draw (0,0) node[scale=.65] {\color{kiktimepalegray}#1 \color{kiktimedarkgray}@ #2};
  \end{tikzpicture}\hfil\\
}

\makeatother

Source for the conversation:

\documentclass{kik-android}

\setPartnerName{Dave Johnson}
\setPartnerPic{Man.jpg}
\setHours{12}
\setMinutes{11}

\begin{document}
\you{Knock knock}
\me{Who's there?}
\you{Canoe}
\me{Canoe who?}
\you{Canoe help me with my homework?}
\time{Fri}{12:03 PM}
\you{...please. I'm gonna fail calculus. :-(}
\me{...}
\end{document}
share|improve this answer

A page from class notes I used to teach differential equations. Figure created with pgfplots. Colors are easily matched with color definitions. Done with a humble experience/knowledge in LaTeX. Pure LaTeX greatness!

class notes

share|improve this answer

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).

Thesis


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]{myLayout_BasisFarbe_Main}{RGB}{0,26,153} (blue)
  • \definecolor[named]{myLayout_BasisFarbe_Aux}{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


Presentation


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


share|improve this answer
2  
Hello. Thanks! I will post a blog (tex.blogoverflow.com) soon where I describe the key features. –  Manuel Kuehner Jul 24 '14 at 14:43

Is this the shameless plug place? Ok then! Here's my PhD thesis which, 4+ years later, I am still happy with the way it turned out. Style is available here. It's an amalgamation of different things I got off the interwebs and tweaked when procrastinating.

share|improve this answer

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 ...

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.

share|improve this answer

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.

share|improve this answer
1  
duplicate of tex.stackexchange.com/questions/1319/… –  Lev Bishop Dec 6 '11 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 Dec 6 '11 at 8:40

I'm not sure this is exactly 'beautiful typography'. It is a TiKZ picture. However, somebody urged me to publish it a while ago and this is the first place I've seen where it might almost belong.

It originally began as a result of seeing Claudio Fiandrino's answer but Claudio is in no way responsible for my subsequent mangling!

I modified some code from http://tex.stackexchange.com/a/29154 and http://tex.stackexchange.com/a/41628, but the timeline is also based on ideas and techniques which I learnt from other questions and answers here. I am sorry that I cannot acknowledge everybody from whom I have learnt. If I have failed to acknowledge you, do let me know!

timeline

It isn't possible to post a very large image here without its being converted to JPG. However, PDF is available here and can be zoomed to inspect the details.

share|improve this answer
1  
Cool! In my opinion it is begging for a condensed sans-serif font, something like PTSansNarrow. –  percusse Dec 3 '14 at 3:39
1  
Well should you accumulate enough courage, it's on CTAN :) –  percusse Dec 3 '14 at 3:45

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:

http://i.imgur.com/7vOYw4A.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 http://i.imgur.com/HNeqVR2.png http://i.imgur.com/0aVjJf6.png

share|improve this answer
1  
Is there a way to get a template? Looks great! I prefer the first version. –  Manuel Kuehner Jan 2 at 12:44
1  
Why don't you put it in a public space? I am interested in compiling it. :-) –  kiss my armpit Jan 3 at 3:46
3  
@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 Jan 3 at 22:34

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

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! =)

share|improve this answer

Here's an example from a series of posters I designed, displaying quotes about science. The posters all have the same basic design and are to be printed on A3 paper.

Poster

share|improve this answer

Check this out. Reply if you want the TeX file or instructions.

enter image description here

share|improve this answer
1  
Well if you have the source code couldn't you just post it? I, for sure, am interested :-) –  Arch Stanton Dec 26 '14 at 22:27

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.

https://www.politesi.polimi.it/bitstream/10589/92341/1/2014_04_Colombo.pdf

Cover and colophon

Chapter opening

Images and headers

share|improve this answer

I had to make a large poster for a conference and I used the style file baposter (link) to do it. Here's a preview:

Poster

The options look like:

\begin{poster}%
  % Poster Options
  {
  % Show grid to help with alignment
  grid=no,
  % Column spacing
  colspacing=1em,
  % Color style
  bgColorOne=lighteryellow,
  bgColorTwo=lightestyellow,
  borderColor=reddishyellow,
  headerColorOne=yellow,
  headerColorTwo=reddishyellow,
  headerFontColor=black,
  boxColorOne=lightyellow,
  boxColorTwo=lighteryellow,
  % Format of textbox
  %textborder=roundedleft,
  textborder =rounded,
%  textborder=rectangle,
  % Format of text header
  eyecatcher=no,
  headerborder=open,
  headerheight=0.14\textheight,
  headershape=roundedright,
  headershade=plain,
  headerfont=\Large\textsf, %Sans Serif
  boxshade=plain,
%  background=shade-tb,
  background=plain,
  linewidth=2pt
  }

The PDF version can be downloaded here.

You place the boxes using relative coordinates such as below contribution (where contribution is the name of a box). Here's a example:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \headerbox{\bfseries Results}{name=Results,column=0,span=2,above=Procedure,below=Contribution}{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
share|improve this answer

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).

I agree with this answer from Frank Mittelbach that this format is nice, but I was exhausted just thinking about the hard work to obtain only this "detail". Write carefully a book and then rewrite it just to fit in rectangular paragraphs? What a nightmare!

But LaTeX can make automatically rectangular paragrahs with no/minimal rewriting. With two columns, a simple \parfillskip=0pt and some reasonable tuning of microtype options make wonders. The trick is so simple that struck me not to have seen this solution anywhere. However, it was already explained in the egreg's long time ago in Is there a tool that makes paragraphs into rectangles?).

The solution is not always perfect, specially in one column. The badness concentrated in the last line of some paragraphs could be nicely scattered in the whole paragraph using \emergencystretch in many cases (explained also in the egreg's answer), but sometimes the best solution is still add or remove some words.

Nevertheless, even without \emergencystretch one can write the whole Lore Ipsum in two columns with \lipsum[1-150] (22 pages) and obtain 150 paragraphs nicely formatted. So, you can also impress to your readers without working hard:

MWE

share|improve this answer
1  
If I remember correctly, Trees, Maps, and Theorems does not use any hyphenation either. –  Aditya Jun 18 '14 at 22:34
1  
@Aditya, Yes. Preventing the hyphenation, for example with \usepackage[none]{hyphenat}, certainly add much more badness but still the automatic format with this trick is decent for many paragraphs, al least for a document as the showed above. –  Fran Jun 18 '14 at 23:10

A good comparison of MS Word vs. LaTex was done by Matthias Mühlich who wrote twice the same text (without any formula or table or anything one expects LaTex to shine) in both formats and converted them to pdf.

Just print out 1 and 2, and decide for yourself.

enter image description here

share|improve this answer
1  
I love this explicit juxtaposition of the results. It speaks for itself! –  Count Zero Sep 14 '11 at 20:54
1  
@projetmbc Could do, yes. But isn't part of the point what the default looks like? I'm guessing that the LaTeX version is not far from default - presumably babel or something must be loaded with German hyphenation, and it is using type1 fonts rather than the defaults, but I doubt there is much by way of tweaking line spacing going on. And it is not just the line spacing - it is also the line breaks and lack of hyphenation in the Word version. But I would for sure be interested to see what this looks like with Word's current defaults. (At least the font would differ.) –  cfr Jan 3 at 3:18

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.

\documentclass[twoside,12pt,english]{book}
\usepackage{babel}
\usepackage[utf8]{inputenc}
\usepackage{color}
\definecolor{marron}{RGB}{60,30,10}
\definecolor{darkblue}{RGB}{0,0,80}
\definecolor{lightblue}{RGB}{80,80,80}
\definecolor{darkgreen}{RGB}{0,80,0}
\definecolor{darkgray}{RGB}{0,80,0}
\definecolor{darkred}{RGB}{80,0,0}
\definecolor{shadecolor}{rgb}{0.97,0.97,0.97}
\usepackage[demo]{graphicx}
\usepackage{wallpaper}
\usepackage{wrapfig,booktabs}

\usepackage{fancyhdr}
\usepackage{lettrine}
\input Acorn.fd
\newcommand*\initfamily{\usefont{U}{Acorn}{xl}{n}}

\usepackage{geometry}
\geometry{
tmargin=5cm, 
bmargin=5cm, 
lmargin=5cm, 
rmargin=3cm,
headheight=1.5cm,
headsep=0.8cm,
footskip=0.5cm}


% \usepackage[full]{textcomp}
\renewcommand{\familydefault}{pplj} 
\usepackage[
final,
stretch=10,
protrusion=true,
tracking=true,
spacing=on,
kerning=on,
expansion=true]{microtype}

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


\usepackage{fourier-orns}

\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}}}

\makeatletter
\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}}}
\makeatother

\fancyhf{}

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{#1}}

\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]{\estcab{\leftmark}}

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

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

\newenvironment{Section}[1]
{\section{\vspace{0ex}#1}}
{\vspace{12pt}\centering ------- \decofourleft\decofourright ------- \par}



\usepackage{lipsum}
\setlength{\parindent}{1em} % Sangría española
\pagestyle{fancy}

\renewcommand{\footnoterule}{\vspace{-0.5em}\noindent\textcolor{marron}{\decosix \raisebox{2.9pt}{\line(1,0){100}} \lefthand} \vspace{.5em} }
\usepackage[hang,splitrule]{footmisc}
\addtolength{\footskip}{0.5cm}
\setlength{\footnotemargin}{0.3cm}
\setlength{\footnotesep}{0.4cm} 

\usepackage{chngcntr}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}


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

\chapter{Six kingdoms of life?}
\newpage

\section{Plant\ae}
\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.  

\begin{wrapfigure}{r}{0.26\textwidth}
\centering
\includegraphics[scale=.26]{Descargas/mobot31753002356449_0113.jpg}
\caption{\footnotesize \emph{Vallaris pergularia} from \emph{Icones plantarum}, vol. II., (Hooker, 1837).}
\label{fig1}
\end{wrapfigure}
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}.}.  
\lipsum[2]

\lipsum[3]

\ornamento

\section{Fungi}

\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}
\vspace{-.5cm}
\centering
\footnotesize
\caption{\label{wraptab}Estimated fungal species.}
\begin{tabular}{lr}\\\toprule  
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
\end{tabular}
\end{wraptable} 


\lipsum[4-6]

\end{document}
share|improve this answer
2  
(+1): Simply awesome!!! Would you like to share the sample code! –  MYaseen208 Apr 20 '14 at 17:00
1  
really very good!! can you share an example of the code please? –  Benoa411 May 6 '14 at 19:51
1  
I'll third that: do you have a sample code? :) –  Mario S. E. Jun 7 '14 at 18:01

My lecture notes on Flight Dynamics, in Italian.

This is Lecture Note 1.

share|improve this answer
24  
Damn, fine-tuning of caption positioning, wow! –  yo' Sep 29 '12 at 14:44
11  
Wow! @agodemar have you though on open sourcing it? At least the figure code, it must be awsome! –  perr0 Jan 15 '13 at 1:19
2  
What did you use to create the figures? –  marczellm Jan 15 '13 at 18:13
11  
@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 Feb 8 '13 at 16:57
2  
@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 Feb 28 '13 at 14:06

There are two templates for theses at CTU (Czech Technical University in Prague) and CU (Charles University in Prague). These templates provide remarkable design which differs from standard theses created by LaTeX. The first mentioned template is called CTUStyle and the second is CUStyle. The title page of a bachelor's thesis created by CUStyle is shown here: CUStyle, first page

Charles University is an ancient school so there is its logo created as Kings seal on the ribbon.

There are full examples of student's work. First two are from CTU (in English) and the third is from CU. 480.pdf, 339.pdf, mirek-bakalarka. The third one is available including source code.

Both templates are based on OPmac. Notice that students are able to use pure plainTeX + OPmac (no LaTeX were used).

share|improve this answer

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

share|improve this answer
18  
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 –  Alain Matthes Mar 2 '12 at 8:55
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 Mar 12 '14 at 17:59

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

share|improve this answer

I'd like to add Leon Harkleroad's The Math Behind The Music, an impressive example of fine page layout.

share|improve this answer
7  
Could you please add an image? –  moose Jul 18 '13 at 10:26

I just picked these three from our archives.

  • Matthew Mac Namara, La Textualisation de Madame Bovary, Rodopi, New York, 2004, 9042009845

Page from the transcription of Flaubert's manuscript, collating the notes to show the sequence of authorial progress

  • [Carlo Collodi], Éachtra Phinocchio, tr. Pádraig Ó Buachalla, ed Seán Ó Suilleabháin ⁊ Dáibhí Ó Cróinín, Random House / Coiste Litriochta Mhuscrai, 2nd ed, 2003, 0954455401

Chapter 2 of Pinocchio (in Irish). This edition was typeset to fit exactly the page layout and numbering of all the other language versions, with the images added afterwards by the printer. The challenge was that the Irish language version contains many more words than any other version!

  • Seán Connolly, Bede: On The Temple, Liverpool University Press, 1995, B001DP4V3S

A page from the analysis of Bede's book, with an authorial requirement that the footnote contained a triangular arrany of numbers.

share|improve this answer

not really as beautiful, but more careful.

To be publsihed at Holborn Project soon!

spread2

spread1

share|improve this answer

We recently created a LaTeX package for the Physics branch of my student union (at KTH, the Royal Institute of Technology in Stockholm, Sweden) that allows anyone to typeset a document in compliance with our graphical profile. The code is quite messy, but except for the implementation listing at the end (which will change when we move to dtx deployment in the next release) I'm quite happy with the output it produces.

Both the package code, the examples and the output pdf are available on Github.

share|improve this answer

I like to get ideas form http://data.imf.au.dk/system/latex/bog/version3/beta/ltxb-2011-09-13-20-10.pdf

Although it's in Danish and sometimes maybe a bit too colorful or crowded, I really like what he has done.

share|improve this answer
up vote 62 down vote
+250

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

share|improve this answer
7  
I SO want to have the source for this. This is perfect. –  Eekhoorn Jan 30 '13 at 9:28
1  
Are you that it was made with TeX? Properties of sample (that you linked to) say something different. –  random.nick Oct 3 '13 at 17:39

I really like the documentation of Philipp Lehman. The Font Installation Guide was mentioned in the question, but I also think for a simpler article (rather than the book style) his package documentation is hard to beat aesthetically, e.g. biblatex's

In biblatex manual [was: Can I make a document that looks like this?], the author explains how to recreate this style (fonts and such).

share|improve this answer

I was asked to publish complete code of bilingual dictionary typesetting in LaTex. I have added also two images of final result. Update: You can preview the result in PDF of example letters here

The work is still in progress. I will apreciate any comments and advices. I humbly admit that this is actually a community coolaborative work that helped me step by step to add usefull functions to the code. Thank you !!!

% smaller format B5 for printing in print houses
\documentclass[8pt,b5paper,twocolumn]{extbook}
% larger format A4 for easy printing
% note: B5 format uses 6cm picture width, A4 format 7.2 picture width
%\documentclass[10pt,a4paper,twocolumn]{extbook} 
\usepackage[top=2cm, headsep=0.4cm, bottom=1.5cm, left=1.5cm, right=1.5cm]{geometry}
\usepackage{fancyhdr}
\usepackage[icelandic, czech, english]{babel}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{00A0}{~} % finds hidden non-breakable space
\usepackage[T1]{fontenc}
\usepackage{tgpagella}
\usepackage[scaled]{helvet}
\usepackage{enumitem}
\usepackage{hanging}
\usepackage{makeidx}
\usepackage{stmaryrd}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{tipa}
\usepackage{fix2col}
\usepackage{dingbat}
\usepackage{manfnt}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{color}
\usepackage{titlesec}
\usepackage{fourier-orns} %used for ornaments
\usepackage{amsmath} %used for non-breakabledash
\usepackage{hyphenat} % no hyphen in abbreviations
\usepackage[labelformat=empty]{caption}

% tables
% declention and conjugation tables
\usepackage{caption}
\usepackage{booktabs}
\captionsetup{labelformat=empty}
\usepackage{floatrow}
\DeclareFloatFont{footnotesize}{\footnotesize}% "scriptsize" is defined by floatrow, "tiny" not
\floatsetup[table]{font=footnotesize}
\setlength {\heavyrulewidth }{0.1 em}

% place frequent star
\newcommand{\freqstar}{%
\raisebox{-.2ex}{%
  \textcolor{darkgreen}{\ding{167}}%
}%
}%

% float control
\renewcommand{\topfraction}{0.9}    % max fraction of floats at top
\renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
%   Parameters for TEXT pages (not float pages):
\setcounter{topnumber}{2}
\setcounter{bottomnumber}{1}
\setcounter{totalnumber}{2}     % 2 may work better
\setcounter{dbltopnumber}{2}    % for 2-column pages
\renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
\renewcommand{\textfraction}{0.07}  % allow minimal text w. figs
%   Parameters for FLOAT pages (not text pages):
\renewcommand{\floatpagefraction}{0.7}  % require fuller float pages
% N.B.: floatpagefraction MUST be less than topfraction !!
\renewcommand{\dblfloatpagefraction}{0.7}   % require fuller float pages
% remember to use [htp] or [htpb] for placement

\makeatletter
\setlength{\@fptop}{0pt}
\setlength{\@fpbot}{0pt plus 1fil}
\makeatother


% pdf information
\usepackage[pdftex,colorlinks=true]{hyperref}
\hypersetup{pdftitle={PDF title},pdfauthor={PDF author}, pdfsubject={PDF subject}, pdfkeywords={PDF keywords}, linktoc=none}

% COLORS
\definecolor{darkgreen}{rgb}{0.4, 0.01, 0.24}
\definecolor{royalazure}{rgb}{0.0, 0.22, 0.66}
\definecolor{brown}{rgb}{0.4, 0.01, 0.24}

% COLORS FOR THUMB INDEXES
\definecolor{babyblueeyes}{rgb}{0.63, 0.79, 0.95}
\definecolor{unitednationsblue}{rgb}{0.36, 0.57, 0.9}
\definecolor{blue(ryb)}{rgb}{0.01, 0.28, 1.0}
\definecolor{darkblue}{rgb}{0.0, 0.0, 0.55}
\definecolor{screamingreen}{rgb}{0.46, 1.0, 0.44}
\definecolor{limegreen}{rgb}{0.2, 0.8, 0.2}
\definecolor{islamicgreen}{rgb}{0.0, 0.56, 0.0}
\definecolor{upforestgreen}{rgb}{0.0, 0.27, 0.13}
\definecolor{icterine}{rgb}{0.99, 0.97, 0.37}
\definecolor{orange(colorwheel)}{rgb}{1.0, 0.5, 0.0}
\definecolor{orange-red}{rgb}{1.0, 0.27, 0.0}
\definecolor{oucrimsonred}{rgb}{0.6, 0.0, 0.0}
\definecolor{cottoncandy}{rgb}{1.0, 0.74, 0.85}
\definecolor{orchid}{rgb}{0.85, 0.44, 0.84}
\definecolor{vividcerise}{rgb}{0.85, 0.11, 0.51}
\definecolor{patriarch}{rgb}{0.5, 0.0, 0.5}

% Thumb indexes' colors
\newcommand\BoxColor{%
\ifcase\theletternum darkgreen!30\or babyblueeyes\or unitednationsblue\or blue(ryb)\or screamingreen\or limegreen\or islamicgreen\or upforestgreen\or icterine\or orange(colorwheel)\or orange-red%
\or oucrimsonred\or cottoncandy\or orchid\or vividcerise\or patriarch\or babyblueeyes\or unitednationsblue\or blue(ryb)\or screamingreen\or limegreen\or islamicgreen\or upforestgreen\or icterine\or orange(colorwheel)\or orange-red%
\or oucrimsonred\or cottoncandy\or orchid\or vividcerise\or patriarch\else darkgreen!30\fi}

%COMMANDS
\newcommand\entry[3][]{\hangpara{2em}{1}{\fontfamily{phv}\selectfont{\textbf{{#2}}}}\ 
#3\ifx\relax#1\relax\markboth{#2}{#2}\else\markboth{#1}{#1}\fi
\par}\nopagebreak[4]
\newcommand*{\dictchar}[1]{\parbox[c][3cm][c]{2cm}{\Huge\textbf{#1}}\par}

\newcommand*{\dictchar}[1]{
\centerline{\parbox[c][3cm][c]{2cm}{%
\fontsize{24}{24}
\selectfont
{#1}}}\par
}

\newcommand{\devision}[1]{\hspace*{-2em}{{{{\foreignlanguage{icelandic}{\color{royalazure}{\fontfamily{phv}\selectfont{\textbf{#1}}}}}}}}}

%hyperlinks in black
\makeatletter
\let\Hy@linktoc\Hy@linktoc@none
\makeatother
%FANCY PAGE STYLES
\pagestyle{fancy}

% THUMB INDEXES
% new counter to hold the current number of the letter to determine the vertical position
\newcounter{letternum}
% newcounter for the sum of all letters to get the right height of a box
\newcounter{lettersum}
\setcounter{lettersum}{33}
% some margin settings
\newlength{\thumbtopmargin}
\setlength{\thumbtopmargin}{1cm}
\newlength{\thumbbottommargin}
\setlength{\thumbbottommargin}{3cm}
% calculate the box height by dividing the page height
\newlength{\thumbheight}
\pgfmathsetlength{\thumbheight}{%
(\paperheight-\thumbtopmargin-\thumbbottommargin)%
/%
\value{lettersum}
}
% box width
\newlength{\thumbwidth}
\setlength{\thumbwidth}{0.5cm}
% style the boxes
\tikzset{
thumb/.style={
   text=white,
   minimum height=\thumbheight,
   text width=\thumbwidth,
   outer sep=0pt,
   font=\sffamily\bfseries,
}
}
\newcommand{\oddthumb}[1]{%
    % see pgfmanual.pdf for more information about this part
    \begin{tikzpicture}[remember picture, overlay]
        \node [thumb,fill=\BoxColor, text centered,anchor=north east,] at ($%
            (current page.north east)-%
            (0,\thumbtopmargin+\value{letternum}*\thumbheight)%
        $) {#1};
   \end{tikzpicture}
 }
 \newcommand{\eventhumb}[1]{%
    % see pgfmanual.pdf for more information about this part
    \begin{tikzpicture}[remember picture, overlay]
        \node [thumb,fill=\BoxColor, text centered,anchor=north west,] at ($%
            (current page.north west)-%
            (0,\thumbtopmargin+\value{letternum}*\thumbheight)%
        $) {#1};
   \end{tikzpicture}
 }
 % create a new command to set a new lettergroup with thumb indexes
 \newcommand{\lettergroup}[1]{%
 \fancyhead[LO]{\fontfamily{phv}\selectfont{\textbf{\rightmark}}\eventhumb{#1}}%
 \fancyhead[RE]{\fontfamily{phv}\selectfont{\textbf{\leftmark}}\oddthumb{#1}}%
 % step the counter of the letters
 \stepcounter{letternum}%
 }

 % BASIC PAGE STYLE
 \fancypagestyle{basicstyle}{%
 \fancyhf{}
 \renewcommand{\headrulewidth}{0.4pt}
 \renewcommand{\footrulewidth}{0pt}
 \fancyhead[LE,RO]{\textbf{\chaptitle}}
 \fancyhead[LO,RE]{\textbf{\thepage}}}

 % INDEX PAGE STYLE  
 \fancypagestyle{indexstyle}{%
 \fancyhf{}% Clear header/footer
 \renewcommand{\headrulewidth}{0.4pt}% 0.4pt header rule
 \renewcommand{\footrulewidth}{0pt}% No footer rule
 \fancyhead[C]{\thepage}% Page in footer, centred
 }

 % DICTIONARY PAGE STYLE
 \fancypagestyle{dictstyle}{%
 \renewcommand{\headrulewidth}{0.4pt}
 \fancyhf{}
 \fancyhead[LE,LO]{{\fontfamily{phv}\selectfont{\textbf{\rightmark}}}}
 \fancyhead[CO,CE]{\thepage}
 \fancyhead[RE,RO]{{\fontfamily{phv}\selectfont{\textbf{\leftmark}}}}}

 \setlength{\columnsep}{20pt}
 \setlength{\columnseprule}{0.1pt}

 \titleformat{\chapter}[block]
 {\normalfont\huge\bfseries}{\thechapter.}{1em}{\Huge}
 \titlespacing*{\chapter}{20pt}{20pt}{20pt}

 % GRAPHICS PATH
 \graphicspath{/home/SomeUser/Documents/dictionary/images/}

 % TITLE, AUTHORS, THANKS
 \title{\textbf{Name of Dictionary}
 \thanks{Words of thanks}}
 \author{Authors}
 \date{Date}

 % LOCALIZATION
 \addto{\captionsczech}{%
 \renewcommand{\indexname}{{Seznam autorů fotografií}} % renames the index name
 }
 \addto\captionsczech{% renames the contents name
 \renewcommand{\contentsname}%
 {Obsah}%
 }

 \newcommand{\HRule}{\rule{\linewidth}{0.1mm}} % rule line

 \newcommand*{\chaptitle}{}
 \renewcommand*{\chaptermark}[1]{%
 \renewcommand*{\chaptitle}{#1}}
 % index of authors of photographs
 \makeindex

\begin{document}
\twocolumn
\pagestyle{dictstyle}

% the letters in alphabetical order
\input{letters/dict_letter_a.tex}
\input{letters/dict_letter_aa.tex}
% list of all letters, each letter in separate .tex file, example of letter file, see bellow.

% print the index of authors of photographs
\clearpage
\pagestyle{empty}
\printindex
\end{document}

Here comes an pseudo example file for letter l - dict_letter_l.tex

\lettergroup{l}
\dictchar{l L}
\entry[headword_without_special_symbols]{headword_with_symbols}{senses}
\entry[2 headword_without_special_symbols]{2 headword_with_symbols}{2 senses}
% picture belongs to headword2
\begin{figure}[h]
\centering
\setlength\fboxsep{0pt}\setlength\fboxrule{0.5pt}\fbox{\includegraphics[width=7.2cm]{Name_of_the_file.jpg}}
\caption{The Caption of the Picture}
\end{figure} 
\index{Headword - Author of Photograph, Licence}}
% Clear page to start new letter on a new page, else not.
\clearpage

Updated:

Here comes an original example of letter N - dict_letter_n.tex. Note: Using \foreignlanguage{icelandic} for Icelandic and \foreignlanguage{czech} for Czech is achieved corrent line break.

% thumb index N
\lettergroup{n}
% shows N n 
\dictchar{N n}
% first headword
\entry[naðra]{{naðra} }{{\textipa{[{n}{a}{ð}{r}{a}]}}{\color{darkgreen}{\small{\textbf{  f}}}}{\color{darkgreen}{\footnotesize{ (nöðru, nöðrur)}}} {\textbf{1.}}\foreignlanguage{czech}{{\footnotesize{ zool.}}} {\foreignlanguage{icelandic}{(\textit{$\rightarrow$ slanga})}}\foreignlanguage{czech}{{ had, zmije}}; {\textbf{2.}}{\footnotesize{ přen.}}\foreignlanguage{czech}{{ had, zmije (o~falešném člověku)}}.}
% second headword
\entry[naðurtunga]{{naður$\cdot$$\cdot$tung|a} }{{\textipa{[{n}{a}{ð}{\textscy}{\textsubring{r}}{t\textsuperscript{h}}{u}{\ng}{\r{g}}{a}]}}{\color{darkgreen}{\small{\textbf{  f}}}}{\color{darkgreen}{\footnotesize{ (\hbox{-}u, \hbox{-}ur)}}}\foreignlanguage{czech}{{\footnotesize{ bot.}}}\foreignlanguage{czech}{{ hadí jazyk azorský}}{ (l.~{\foreignlanguage{latin}{Ophioglossum azoricum}})}.}
% third headword with picture
\entry[nagdýr]{{nag$\cdot$$\cdot$dýr} }{{\textipa{[{n}{a}{\textbabygamma}{\textsubring{d}}{i}{\textsubring{r}}]}}{\color{darkgreen}{\small{\textbf{  n}}}}{\color{darkgreen}{\footnotesize{ \nobreakseq{(\hbox{-}s, \hbox{-})}}}}\foreignlanguage{czech}{{\footnotesize{ zool.}}}\foreignlanguage{czech}{{ hlodavec}}{ (l.~{\foreignlanguage{latin}{Rodentia}})}.}
\begin{figure}[h]
\centering
\setlength\fboxsep{0pt}\setlength\fboxrule{0.5pt}\fbox{\includegraphics[width=7.2cm]{83259.jpg}}
\caption{Nagdýr}
\end{figure} 
\index{Nagdýr - Šárka Troníčková, COPYRIGHT/CC-BY-NC}
% forth headword
\entry[nagg]{{nagg} }{{\textipa{[{n}{a}{\r{g}}{\textlengthmark}]}}{\color{darkgreen}{\small{\textbf{  n}}}}{\color{darkgreen}{\footnotesize{ \nobreakseq{(\hbox{-}s)}}}} {\foreignlanguage{icelandic}{(\textit{$\rightarrow$ rifrildi})}}\foreignlanguage{czech}{{ hašteření, hádka}}.}

Only for Czech users: Run vlna -l -m -n dict_letter_n.tex to add non-breakable space between small prepositions.

It's necessary to run pdflatex dictionary.tex twice to display correctly thumb indexes. Then it's needed to run texindy -L icelandic -M lang/icelandic/utf8 dictionary.idx (this command orders the indexed words according to Icelandic alphabet. Then run pdflatex dictionary.tex to make index appear.

The example of current layout in B5 format, 8pt fontsize, using font Helvetica for headwords and font tgpagella for definitions.

Letter B, Dictionary

Letter L, Dictionary

Updated: The example of current layout in A4 format.

Example of current layout 1

The main change is the alingment of the pictures. Pictures are aligned directly to the headword or at the top of the page.

Example of current layout 2

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

share|improve this answer
4  
Really nice! Maybe you can upload a few pages as a PDF so one can zoom and see the details … –  Tobi Jun 2 '12 at 8:03
5  
This looks fantastic. Great job –  Ingo Jun 2 '12 at 10:39
2  
This is great! Is there a complete source repository somewhere (github or so)? –  ℝaphink Aug 29 '12 at 8:30
4  
Thank you. The complete source is posted here. Please contact me if something unclear. Here is possible to sourceforge.net/projects/dict-system/files/ICSS see and download letters of the dictionary. –  chejnik Sep 3 '12 at 5:06

Your Answer

 
discard

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.