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

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

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
9  
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
4  
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
    
I just want to come and vote this up! – Daniel Jul 9 '13 at 20:37
    

76 Answers 76

If you were asked to show examples of beautifully typeset documents in LaTeX, what would you suggest?

This is my rendering of a long-ago torture test of technical text (say that three times fast!).

I think the technical material came out fine-looking, certainly up to anyone's professional standards, but the biggest point for me is that getting LaTeX to do it was straightforward.

Personally, when I was first shown some of the wonderful things that TeX could put out I was amazed at what other people could do. But when I saw the original version of this document in the AMS Notices then I was delighted at what I could do. :-)

Preferably documents available online ... Extra bonus for documents whose LaTeX source is available.

Yes, in the same directory.

share|improve this answer
10  
The link does not work. – xport May 30 '11 at 18:29
    
Dunno. Works for me now. – Jim Hefferon Mar 1 '12 at 1:01
1  
@JimHefferon: The link is still broken. – Werner Feb 27 '14 at 16:57
1  
The following link seems to have the document, plus a zip of the source. I'm on an iPad so couldn't check the source. joshua.smcvt.edu/bcs – Mike Taylor Jul 22 '14 at 1:35

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

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 second that thought. – Mario S. E. Mar 19 '15 at 19:35

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
    
The pdf file contains 0 bytes. – Marcel Korpel Nov 19 '14 at 1:09
    
Fixed, a cron script normally compiles the poster each day (to synchronize updates), but apparently, something went wrong this time. – Willem Van Onsem Nov 19 '14 at 2:02
    
Thanks. BTW, I looked at other posters (which are very nice) in your git repository and ‘Fundamentals of Computer Science’ is rather empty. Is it not finished (yet)? – Marcel Korpel Nov 19 '14 at 11:54
    
Indeed, I was planning to finish the poster in june. But my PhD supervisor asked me to focus more on my research than helping my students ;). Now each year per subject I give a poster to the the student that was most active (in a positive sense). ;) – Willem Van Onsem Nov 19 '14 at 12:13
1  
The pdf is still 0 bytes. – Sverre May 21 '15 at 12:37

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

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

...and for a great example of TeX typesetting in an open access scholarly journal, check out the Australasian Journal of Logic.

share|improve this answer
    
Very nice, but I can't find the LaTeX package anywhere in the site. – Hugo S Ferreira Feb 7 '11 at 1:00
    
I don't like the design of the journal: The font is harder to read and misses good sans-serif variant, moreover e.g. the usage of italics in section headers makes the font significantly inconsistent. Generally, I think that unwise changes of the font faces does not make the design any better. (This is just my opinion, I don't say that someone made a wrong template, I just point out some issues I see there.) – yo' Jul 4 '12 at 9:49

I found the pocket books from the brazilian publisher "Hedra" to be very beautiful. For example, Conrad's Heart of Darkness translation. However, there's no source.

share|improve this answer
    
Is there any reason to believe this was produced with TeX? – cfr Jan 3 '15 at 3:02
    
The editors say so in the book's colophon, which unfortunately is not available in google books anymore (by the time I posted it, the whole book was available). There's another pocket book from the same collection (a collection of short stories by Ryūnosuke Akutagawa) available at download.uol.com.br/diversao/…. The chief editor was very active in the old brazilian tex mailing list (TeX-BR) also. – henrique Jan 3 '15 at 21:00
    
Interesting. Thanks for replying. I just couldn't tell from what the link showed me which was basically the front cover! – cfr Jan 3 '15 at 22:10

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
    
would you please give us a template or part of the code you used in your Thesis. I looks really nice. – Mauramz Feb 12 '15 at 18:45
1  
Overall is a nice design, but I think you have been too brave using illuminated capitals at start of chapters in a computer science thesis! I beat that this was a bit controversial with your advisor ;) – TeXtnik Feb 13 '15 at 11:44
1  
@zunbeltz Not really. Even the examiners were pretty pleased with it aesthetically (as well as content wise!). – Yehia Feb 13 '15 at 14:14
    
@Yehia Good for you! Maybe I will try to use them in my tech reports ;) – TeXtnik Feb 13 '15 at 20:15

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
    
Nice! Is the source available? – Paul Gessler Mar 30 '15 at 11:51
    
For 'pgfplots'? – jak123 Mar 30 '15 at 13:26

Easy. The TeX showcase from the TeX Users' Group.

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'd like to add Leon Harkleroad's The Math Behind The Music, an impressive example of fine page layout.

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

I wrote both my PhD thesis and presentation in LaTeX. Most images were directly created in LaTeX, using tikz/pgfplots.

A particularity of my template is that it features one page turning animation on each side (hourglass on the left and a glider on the right). Both animations were also generated using LaTeX.

The source code is available at GitHub1.

Thesis

Presentation

share|improve this answer
    
Welcome and thank you for your contribution. – Johannes_B Jul 14 at 8:52
    
Your documents are very colourful. Some people are colourblind and might miss one of your points. Colorblind, links hard to see – Johannes_B Jul 14 at 8:53
    
Thank you for your comment, you are absolutely right. I did not think about that problem. However, since a lot of us print stuff black and white, I always tried to be redundant in the places colors are really important, e.g., the plots redundantly have colors and symbols to depict the same subjects. – nunopcardoso Jul 14 at 9:28

How about sesamath's book class ?https://www.ctan.org/tex-archive/macros/latex/contrib/sesamanuel

Available with texdoc sesamath on distributions such as TeX Live

share|improve this answer
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review – Henri Menke May 23 at 21:52
\PassOptionsToPackage{dvipsnames,table,svgnames,xcdraw,showerrors}{xcolor}
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}  % Allows the definition of hex colors}
\usepackage{pst-blur}
\usepackage{pst-circ}
\usepackage{pst-tree}
\usepackage{fp}
\usepackage{hyperref}
\usepackage{geometry}
\geometry{paper=a4paper,left=25mm,right=25mm,top=5mm,bottom=15mm,includeheadfoot}

\xdefinecolor{dunkelgrau}{rgb}{0.8,0.8,0.8}
\xdefinecolor{hellgrau}{rgb}{0.95,0.95,0.95}

                \def\PSBB#1#2{\begin{pspicture}(#2,0.40)%
                \psTextFrame[blur=true, shadow=true,fillcolor=hellgrau,fillstyle=solid,linecolor=black,framearc=0.3](0,0)(#2,0.40){%
                    \shortstack{\tiny{#1}}}\end{pspicture}
                    }%
                %
                % \def\psedge{\ncdiag[armA=0cm,angleB=180,armB=1cm]}
                \def\PSBF#1#2#3{\begin{pspicture}(#2,0.40)%
                \psTextFrame[blur=true, blursteps=50, shadow=true,fillcolor=#3,fillstyle=solid,linecolor=black,framearc=0.3](0,0)(#2,0.40){%
                    \shortstack{\tiny{#1}}}\end{pspicture}
                    }%


\parindent=0pt
% \usepackage{syntonly} \syntaxonly
\begin{document}
\tableofcontents
\section{morewrites}
\label{sec:morewrites}
\begin{itemize}
\item Parent: None
\item Children: expl3, primargs, atbegshi
\end{itemize}
\multido{\r=100+-5}{1}
{
    \begin{pspicture}(9,-2.0)(26,1.85)
        \rput(30.25,0.5){%
            \begin{pspicture*}(9,-2.0)(26,1.85)
            %
            % \xdefinecolor{treedesigncolor}{rgb}{1,0,0}
                %
                % \xdefinecolor{treelightgrey}{RGB}{0,191,255}
                %
                \FPset\armAsepvalue{0.35}
                \FPset\armBsepvalue{0.35}
                \FPset\angelAvalue{180}
                \FPset\angelBvalue{180}
                %
                %armAsepvalue
                \FPset\armAsepvalue{0.45}
                \FPset\armBsepvalue{0.45}
                \FPset\angelAvalue{180}
                \FPset\angelBvalue{180}
                %
                \FPset\rootlevelsep{1.2}
                \FPset\onelevelsepv{0.9}
                \FPset\twolevelsepv{0.5}
                \FPset\threelevelsepv{0.0}
                \FPset\fourlevelsepv{0.0}
                \FPset\fivelevelsepv{-0.5}
                \FPset\sixlevelsepv{0.4}
                \FPset\sevenlevelsepv{0.4}
                \FPset\distfactor{0.5}
                \FPset\defaultsz{2.85}
                \FPset\levelzero{2.25}
                \FPset\levelzerob{3.05}
                \FPset\rootlevelsepva{4.05}
                % \FPset\rootlevelsepva{0.0}
                \FPset\onelevelsepva{3.65}
                \FPset\twolevelsepva{3.65}
                \FPset\threelevelsepva{3.65}
                \FPset\fourlevelsepva{3.65}
                \FPset\fivelevelsepva{3.65}
                \FPset\sixlevelsepva{3.65}
                \FPset\levelone{2.85}
                \FPset\leveloneb{3.05}
                \FPset\leveltwo{3.45}
                \FPset\leveltwob{2.55}
                \FPset\levelthree{4.75}
                \FPset\levelthreeb{4.25}
                \FPset\levelfour{5.55}
                \FPset\levelfourb{2.05}
                \FPset\levelfive{3.65}
                \FPset\levelsix{3.05}
                \FPset\levelseven{2.55}
                \FPset\leveleight{7.65}
                \FPset\levelfiveb{2.35}
                %
                \FPset\levelonestamp{3.75}
                \FPset\leveltwostamp{3.25}
                \FPset\levelthreestamp{3.25}
                \FPset\levelfourstamp{3.25}
                %
                %onelevelsepastamp
                \FPset\onelevelsepastampA{4.85}
                \FPset\twolevelsepastampA{7.85}
                %
                \FPset\onelevelsepastamp{4.85}
                \FPset\twolevelsepastamp{7.85}
                \FPset\threelevelsepastamp{9.85}
                %
                \FPupn{onelevelsepastamp}{levelonestamp 2 + 2 round}
                \FPupn{twolevelsepastamp}{leveltwostamp 2 + 2 round}
                %
                %
                \FPupn{twolevelsepastampt}{twolevelsepastamp 5.5 + 2 round}
                \FPupn{armAsepvaluet}{armAsepvalue 5.5 + 2 round}
                %
                \FPupn{rootlevelsepa}{rootlevelsep distfactor + 2 round}
                \FPupn{defaultsza}{defaultsz 1.15 + distfactor + 2 round}
                \FPupn{onelevelsep}{rootlevelsep onelevelsepv - neg 2 round}
                \FPupn{onelevelsepa}{levelone onelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{twolevelsep}{onelevelsep twolevelsepv  - neg 2 round}
                \FPupn{twolevelsepa}{leveltwo twolevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                % \FPset\signsz{3.05}
                %
                \FPupn{threelevelsep}{twolevelsep threelevelsepv  - neg 2 round}
                \FPupn{threelevelsepa}{levelthree threelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{fourlevelsep}{threelevelsep fourlevelsepv  - neg 2 round}
                \FPupn{fourlevelsepa}{levelfour fourlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                \FPupn{fivelevelsep}{fourlevelsep fivelevelsepv  - neg 2 round}
                \FPupn{fivelevelsepa}{levelfive fivelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                % A3
                \FPupn{sixlevelsep}{fivelevelsep sixlevelsepv  - neg 2 round}
                \FPupn{sixlevelsepa}{levelsix sixlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                %
                \FPupn{sevenlevelsep}{sixlevelsep sevenlevelsepv  - neg 2 round}
                \FPupn{sevenlevelsepa}{levelseven sevenlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                % Second Rootnode
                \FPupn{rootlevelsepaa}{rootlevelsepva distfactor + 2 round}
                \FPupn{onelevelsepaaa}{rootlevelsepva onelevelsepva - neg 2 round}
                \FPupn{onelevelsepaab}{leveloneb onelevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                % \onelevelsepaab
                %
                %
                \FPupn{twolevelsepaaa}{onelevelsepva twolevelsepva - neg 2 round}
                \FPupn{twolevelsepaab}{leveltwob twolevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                %
                \FPupn{threelevelsepaaa}{twolevelsepva threelevelsepva - neg 2 round}
                \FPupn{threelevelsepaab}{levelthreeb threelevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{fourlevelsepaaa}{threelevelsepva fourlevelsepva - neg 2 round}
                \FPupn{fourlevelsepaab}{levelfourb fourlevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                \def\psedge{\ncdiag[armA=\armAsepvalue cm,angleB=\angelBvalue,armB=\armBsepvalue cm]}
                \pstree[treemode=R,levelsep=\onelevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                    \PSBB{\nameref{sec:morewrites}.sty [2013/01/08] 0.2e}{\levelonestamp}\pnode(0,0.20){morewrites}{}}}
                        {
                        \def\pspred{morewrites}%
                            \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                \PSBB{\textbf{R} expl3.sty [2012/08/14]}{\leveltwostamp}\pnode(0,0.20){expl3}{}}}%
                                    {%
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Tätigkeit}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Rechtsform}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Eintragung}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Normative Kraft der Zeit}{\levelthreestamp}}
                                    }%
                        %
                        \def\pspred{morewrites}%
                            \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                \PSBB{\textbf{R} primargs.sty [2013/01/08]}{\leveltwostamp}\pnode(0,0.20){primeargs}{}}}%
                                    {%
                                    \def\pspred{primeargs}\Tr[ref=lc]{\PSBB{expl3.sty [2012/08/14]}{\levelthreestamp}}
                                    % \def\pspred{primeargs}\Tr[ref=lc]{\PSBB{Rechtsform}{\levelthreestamp}}
                                    % \def\pspred{primeargs}\Tr[ref=lc]{\PSBB{Eintragung}{\levelthreestamp}}
                                    %
                                    }%
                        %[2010/04/08
                        \def\pspred{morewrites}%
                            \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                \PSBB{\textbf{O} atbegshi.sty [2011/10/05]}{\leveltwostamp}\pnode(0,0.20){atbegshi}{}}}%
                                    {%
                                    \def\pspred{atbegshi}\Tr[ref=lc]{\PSBB{infwarerr.sty [2007/09/09]}{\levelthreestamp}}
                                    \def\pspred{atbegshi}\Tr[ref=lc]{\PSBB{\nameref{subsec:ltxcmds}.sty \textcolor{red}{[2010/03/01]}}{\levelthreestamp}}
                                    \def\pspred{atbegshi}\Tr[ref=lc]{\PSBB{\nameref{subsec:ifpdf}.sty \textcolor{red}{[2011/01/30]}}{\levelthreestamp}}
                                    %[2011/01/30]
                                    }%
                                    % \def\pspred{morewrites}%
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBF{Schuldrecht}{\leveltwostamp}{Cyan}{}}}{}
                        %
                        % \def\pspred{morewrites}
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBB{Familienrecht}{\leveltwostamp}{}}}{}
                        %
                        % \def\psedge{\ncdiag[armA=\armAsepvalue cm,angleB=\angelBvalue,armB=\armBsepvalue cm]}
                        %
                        % \def\pspred{morewrites}
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBB{Erbrecht}{\leveltwostamp}{}}}{}%
                        %
                        }
            \end{pspicture*}
        }
    \end{pspicture}
}
\subsection{ltxcmds}
\label{subsec:ltxcmds}
\begin{itemize}
\item Parent: atbegshi
\item Children: eolgrab
\end{itemize}
\multido{\r=100+-5}{1}
{
    \begin{pspicture}(9,-0.67)(26,1.85)
        \rput(30.25,0.75){%
            \begin{pspicture*}(9,-0.67)(26,1.85)
            %
            % \xdefinecolor{treedesigncolor}{rgb}{1,0,0}
                %
                % \xdefinecolor{treelightgrey}{RGB}{0,191,255}
                %
                \FPset\armAsepvalue{0.35}
                \FPset\armBsepvalue{0.35}
                \FPset\angelAvalue{180}
                \FPset\angelBvalue{180}
                %
                %armAsepvalue
                \FPset\armAsepvalue{0.45}
                \FPset\armBsepvalue{0.45}
                \FPset\angelAvalue{180}
                \FPset\angelBvalue{180}
                %
                \FPset\rootlevelsep{1.2}
                \FPset\onelevelsepv{0.9}
                \FPset\twolevelsepv{0.5}
                \FPset\threelevelsepv{0.0}
                \FPset\fourlevelsepv{0.0}
                \FPset\fivelevelsepv{-0.5}
                \FPset\sixlevelsepv{0.4}
                \FPset\sevenlevelsepv{0.4}
                \FPset\distfactor{0.5}
                \FPset\defaultsz{2.85}
                \FPset\levelzero{2.25}
                \FPset\levelzerob{3.05}
                \FPset\rootlevelsepva{4.05}
                % \FPset\rootlevelsepva{0.0}
                \FPset\onelevelsepva{3.65}
                \FPset\twolevelsepva{3.65}
                \FPset\threelevelsepva{3.65}
                \FPset\fourlevelsepva{3.65}
                \FPset\fivelevelsepva{3.65}
                \FPset\sixlevelsepva{3.65}
                \FPset\levelone{2.85}
                \FPset\leveloneb{3.05}
                \FPset\leveltwo{3.45}
                \FPset\leveltwob{2.55}
                \FPset\levelthree{4.75}
                \FPset\levelthreeb{4.25}
                \FPset\levelfour{5.55}
                \FPset\levelfourb{2.05}
                \FPset\levelfive{3.65}
                \FPset\levelsix{3.05}
                \FPset\levelseven{2.55}
                \FPset\leveleight{7.65}
                \FPset\levelfiveb{2.35}
                %
                \FPset\levelonestamp{3.75}
                \FPset\leveltwostamp{3.25}
                \FPset\levelthreestamp{3.25}
                \FPset\levelfourstamp{3.25}
                %
                %onelevelsepastamp
                \FPset\onelevelsepastampA{4.85}
                \FPset\twolevelsepastampA{7.85}
                %
                \FPset\onelevelsepastamp{4.85}
                \FPset\twolevelsepastamp{7.85}
                \FPset\threelevelsepastamp{9.85}
                %
                \FPupn{onelevelsepastamp}{levelonestamp 2 + 2 round}
                \FPupn{twolevelsepastamp}{leveltwostamp 2 + 2 round}
                %
                %
                \FPupn{twolevelsepastampt}{twolevelsepastamp 5.5 + 2 round}
                \FPupn{armAsepvaluet}{armAsepvalue 5.5 + 2 round}
                %
                \FPupn{rootlevelsepa}{rootlevelsep distfactor + 2 round}
                \FPupn{defaultsza}{defaultsz 1.15 + distfactor + 2 round}
                \FPupn{onelevelsep}{rootlevelsep onelevelsepv - neg 2 round}
                \FPupn{onelevelsepa}{levelone onelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{twolevelsep}{onelevelsep twolevelsepv  - neg 2 round}
                \FPupn{twolevelsepa}{leveltwo twolevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                % \FPset\signsz{3.05}
                %
                \FPupn{threelevelsep}{twolevelsep threelevelsepv  - neg 2 round}
                \FPupn{threelevelsepa}{levelthree threelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{fourlevelsep}{threelevelsep fourlevelsepv  - neg 2 round}
                \FPupn{fourlevelsepa}{levelfour fourlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                \FPupn{fivelevelsep}{fourlevelsep fivelevelsepv  - neg 2 round}
                \FPupn{fivelevelsepa}{levelfive fivelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                % A3
                \FPupn{sixlevelsep}{fivelevelsep sixlevelsepv  - neg 2 round}
                \FPupn{sixlevelsepa}{levelsix sixlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                %
                \FPupn{sevenlevelsep}{sixlevelsep sevenlevelsepv  - neg 2 round}
                \FPupn{sevenlevelsepa}{levelseven sevenlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                % Second Rootnode
                \FPupn{rootlevelsepaa}{rootlevelsepva distfactor + 2 round}
                \FPupn{onelevelsepaaa}{rootlevelsepva onelevelsepva - neg 2 round}
                \FPupn{onelevelsepaab}{leveloneb onelevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                % \onelevelsepaab
                %
                %
                \FPupn{twolevelsepaaa}{onelevelsepva twolevelsepva - neg 2 round}
                \FPupn{twolevelsepaab}{leveltwob twolevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                %
                \FPupn{threelevelsepaaa}{twolevelsepva threelevelsepva - neg 2 round}
                \FPupn{threelevelsepaab}{levelthreeb threelevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{fourlevelsepaaa}{threelevelsepva fourlevelsepva - neg 2 round}
                \FPupn{fourlevelsepaab}{levelfourb fourlevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %\RequirePackage{eolgrab}[2011/01/12]%
                %
                \def\psedge{\ncdiag[armA=\armAsepvalue cm,angleB=\angelBvalue,armB=\armBsepvalue cm]}
                \pstree[treemode=R,levelsep=\onelevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                    \PSBB{\nameref{subsec:ltxcmds}.sty \textcolor{red}{\rnode{B}{[2010/03/01]}}}{\levelonestamp}\pnode(0,0.20){ltxcmds}{}}}
                        {
                        \def\pspred{ltxcmds}%
                            \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                \PSBB{\textbf{R} eolgrab.sty [2011/01/12]}{\leveltwostamp}\pnode(0,0.20){eolgrab}{}}}%
                                    {%
                                    \def\pspred{eolgrab}\Tr[ref=lc]{\PSBB{\textbf{R} \nameref{subsec:ltxcmds}.sty \textcolor{red}{\rnode{A}{[2010/12/04]}}}{\levelthreestamp}}
                                    \def\pspred{eolgrab}\Tr[ref=lc]{\PSBB{\textbf{R} infwarerr.sty \textcolor{red}{[2010/04/08]}}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Eintragung}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Normative Kraft der Zeit}{\levelthreestamp}}
                                    }%[2010/04/08]
                        %  \RequirePackage{ltxcmds}[2010/12/04]%
  % \RequirePackage{infwarerr}[2010/04/08]%
                        %
                                    % \def\pspred{morewrites}%
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBF{Schuldrecht}{\leveltwostamp}{Cyan}{}}}{}
                        %
                        % \def\pspred{morewrites}
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBB{Familienrecht}{\leveltwostamp}{}}}{}
                        %
                        % \def\psedge{\ncdiag[armA=\armAsepvalue cm,angleB=\angelBvalue,armB=\armBsepvalue cm]}
                        %
                        % \def\pspred{morewrites}
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBB{Erbrecht}{\leveltwostamp}{}}}{}%
                        %
                        }
                        \nccurve[angleB=135,angleA=50,linecolor=red]{<->}{A}{B}
                        % \ncbar[angleB=90,offsetA=-4pt]{<->}{A}{B}
                        % \pccurve[angleB=135,angleA=50]{<->}{A}{B}
            \end{pspicture*}
        }
    \end{pspicture}
}
\subsection{ifpdf}
\label{subsec:ifpdf}
\begin{itemize}
\item Parent: atbegshi
\item Children: ifluatex
\end{itemize}
\multido{\r=100+-5}{1}
{
    \begin{pspicture}(9,-0.27)(26,0.85)
        \rput(29.25,0.75){%
            \begin{pspicture*}(9,-0.27)(26,0.85)
            %
            % \xdefinecolor{treedesigncolor}{rgb}{1,0,0}
                %
                % \xdefinecolor{treelightgrey}{RGB}{0,191,255}
                %
                \FPset\armAsepvalue{0.35}
                \FPset\armBsepvalue{0.35}
                \FPset\angelAvalue{180}
                \FPset\angelBvalue{180}
                %
                %armAsepvalue
                \FPset\armAsepvalue{0.45}
                \FPset\armBsepvalue{0.45}
                \FPset\angelAvalue{180}
                \FPset\angelBvalue{180}
                %
                \FPset\rootlevelsep{1.2}
                \FPset\onelevelsepv{0.9}
                \FPset\twolevelsepv{0.5}
                \FPset\threelevelsepv{0.0}
                \FPset\fourlevelsepv{0.0}
                \FPset\fivelevelsepv{-0.5}
                \FPset\sixlevelsepv{0.4}
                \FPset\sevenlevelsepv{0.4}
                \FPset\distfactor{0.5}
                \FPset\defaultsz{2.85}
                \FPset\levelzero{2.25}
                \FPset\levelzerob{3.05}
                \FPset\rootlevelsepva{4.05}
                % \FPset\rootlevelsepva{0.0}
                \FPset\onelevelsepva{3.65}
                \FPset\twolevelsepva{3.65}
                \FPset\threelevelsepva{3.65}
                \FPset\fourlevelsepva{3.65}
                \FPset\fivelevelsepva{3.65}
                \FPset\sixlevelsepva{3.65}
                \FPset\levelone{2.85}
                \FPset\leveloneb{3.05}
                \FPset\leveltwo{3.45}
                \FPset\leveltwob{2.55}
                \FPset\levelthree{4.75}
                \FPset\levelthreeb{4.25}
                \FPset\levelfour{5.55}
                \FPset\levelfourb{2.05}
                \FPset\levelfive{3.65}
                \FPset\levelsix{3.05}
                \FPset\levelseven{2.55}
                \FPset\leveleight{7.65}
                \FPset\levelfiveb{2.35}
                %
                \FPset\levelonestamp{3.75}
                \FPset\leveltwostamp{3.25}
                \FPset\levelthreestamp{3.25}
                \FPset\levelfourstamp{3.25}
                %
                %onelevelsepastamp
                \FPset\onelevelsepastampA{4.85}
                \FPset\twolevelsepastampA{7.85}
                %
                \FPset\onelevelsepastamp{4.85}
                \FPset\twolevelsepastamp{7.85}
                \FPset\threelevelsepastamp{9.85}
                %
                \FPupn{onelevelsepastamp}{levelonestamp 2 + 2 round}
                \FPupn{twolevelsepastamp}{leveltwostamp 2 + 2 round}
                %
                %
                \FPupn{twolevelsepastampt}{twolevelsepastamp 5.5 + 2 round}
                \FPupn{armAsepvaluet}{armAsepvalue 5.5 + 2 round}
                %
                \FPupn{rootlevelsepa}{rootlevelsep distfactor + 2 round}
                \FPupn{defaultsza}{defaultsz 1.15 + distfactor + 2 round}
                \FPupn{onelevelsep}{rootlevelsep onelevelsepv - neg 2 round}
                \FPupn{onelevelsepa}{levelone onelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{twolevelsep}{onelevelsep twolevelsepv  - neg 2 round}
                \FPupn{twolevelsepa}{leveltwo twolevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                % \FPset\signsz{3.05}
                %
                \FPupn{threelevelsep}{twolevelsep threelevelsepv  - neg 2 round}
                \FPupn{threelevelsepa}{levelthree threelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{fourlevelsep}{threelevelsep fourlevelsepv  - neg 2 round}
                \FPupn{fourlevelsepa}{levelfour fourlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                \FPupn{fivelevelsep}{fourlevelsep fivelevelsepv  - neg 2 round}
                \FPupn{fivelevelsepa}{levelfive fivelevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                % A3
                \FPupn{sixlevelsep}{fivelevelsep sixlevelsepv  - neg 2 round}
                \FPupn{sixlevelsepa}{levelsix sixlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                %
                \FPupn{sevenlevelsep}{sixlevelsep sevenlevelsepv  - neg 2 round}
                \FPupn{sevenlevelsepa}{levelseven sevenlevelsep + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                % Second Rootnode
                \FPupn{rootlevelsepaa}{rootlevelsepva distfactor + 2 round}
                \FPupn{onelevelsepaaa}{rootlevelsepva onelevelsepva - neg 2 round}
                \FPupn{onelevelsepaab}{leveloneb onelevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                % \onelevelsepaab
                %
                %
                \FPupn{twolevelsepaaa}{onelevelsepva twolevelsepva - neg 2 round}
                \FPupn{twolevelsepaab}{leveltwob twolevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %
                %
                \FPupn{threelevelsepaaa}{twolevelsepva threelevelsepva - neg 2 round}
                \FPupn{threelevelsepaab}{levelthreeb threelevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                \FPupn{fourlevelsepaaa}{threelevelsepva fourlevelsepva - neg 2 round}
                \FPupn{fourlevelsepaab}{levelfourb fourlevelsepaaa + armAsepvalue + armBsepvalue + distfactor + 2 round}
                %
                %\RequirePackage{eolgrab}[2011/01/12]%
                %
                \def\psedge{\ncdiag[armA=\armAsepvalue cm,angleB=\angelBvalue,armB=\armBsepvalue cm]}
                \pstree[treemode=R,levelsep=\onelevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                    \PSBB{\nameref{subsec:ifpdf}.sty [2011/01/30] v2.3}{\levelonestamp}\pnode(0,0.20){ifpdf}{}}}
                        {
                        \def\pspred{ifpdf}%
                            \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                \PSBB{\textbf{O} ifluatex [2009/04/10]}{\leveltwostamp}\pnode(0,0.20){ifluatex}{}}}%
                                    {%
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Tätigkeit}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Rechtsform}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Eintragung}{\levelthreestamp}}
                                    % \def\pspred{expl3}\Tr[ref=lc]{\PSBB{Normative Kraft der Zeit}{\levelthreestamp}}
                                    }%
                        %
                        %
                                    % \def\pspred{morewrites}%
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBF{Schuldrecht}{\leveltwostamp}{Cyan}{}}}{}
                        %
                        % \def\pspred{morewrites}
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBB{Familienrecht}{\leveltwostamp}{}}}{}
                        %
                        % \def\psedge{\ncdiag[armA=\armAsepvalue cm,angleB=\angelBvalue,armB=\armBsepvalue cm]}
                        %
                        % \def\pspred{morewrites}
                            % \pstree[treemode=R,levelsep=\twolevelsepastamp cm,treesep=0.15cm]{\Tr[ref=lc]{%
                                % \PSBB{Erbrecht}{\leveltwostamp}{}}}{}%
                        %
                        }
            \end{pspicture*}
        }
    \end{pspicture}
}           
\end{document}

compile with latex -> dvips -> ps2pdf but this example is maybe not worth to publish, delete if you want. /2 threadowner

enter image description here

share|improve this answer
    
Care to post the output of your example as an image? Some people aren't that fluent in tex to immediately get your post. – Dohn Joe Feb 15 at 10:28

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.