Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can I make a document that looks like this?

679 views
Skip to first unread message

Robin

unread,
Jun 4, 2008, 8:06:32 AM6/4/08
to
Hi,

I came across this:
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/biblatex.pdf

and I really like the clean modern look to the class/style - I haven't
seen anything like that in latex before. Unfortunately I couldn't find
the source in the package so I was wondering if anyone knew what was
used here or how I could recreate this or a similar look.

Thanks,

Robin

Bob Tennent

unread,
Jun 4, 2008, 8:42:30 AM6/4/08
to

Why don't you send an e-mail to the author? The address is on the title
page. Note that the document uses proprietary fonts (CharterBT,
Frutiger, PrimaSansMonoBT).

Mariano Suárez-Alvarez

unread,
Jun 4, 2008, 10:12:06 AM6/4/08
to
On Jun 4, 9:06 am, Robin <robi...@gmail.com> wrote:
> Hi,
>
> I came across this:http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/bibla...

>
> and I really like the clean modern look to the class/style - I haven't
> seen anything like that in latex before. Unfortunately I couldn't find
> the source in the package so I was wondering if anyone knew what was
> used here or how I could recreate this or a similar look.

Indeed, Philipp Lehman has come up with some of the nicest
styles I've seen lately. Take a look at hist Font Instalation
guide for another example.

-- m

Randy Yates

unread,
Jun 4, 2008, 5:21:02 PM6/4/08
to
Robin <rob...@gmail.com> writes:

Can't help you there. It does look very nice. What I'd like to know is
how he tightened up the vertical spacing so nicely, e.g., the spacing
around section headers. LaTeX's standard vertical spacing is so loose it
drives me nuts.
--
% Randy Yates % "Rollin' and riding and slippin' and
%% Fuquay-Varina, NC % sliding, it's magic."
%%% 919-577-9882 %
%%%% <ya...@ieee.org> % 'Living' Thing', *A New World Record*, ELO
http://www.digitalsignallabs.com

Dan

unread,
Jun 4, 2008, 6:09:50 PM6/4/08
to
On Jun 4, 4:21 pm, Randy Yates <ya...@ieee.org> wrote:

> Robin <robi...@gmail.com> writes:
> > Hi,
>
> > I came across this:
> >http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex/doc/bibla...

>
> > and I really like the clean modern look to the class/style - I haven't
> > seen anything like that in latex before. Unfortunately I couldn't find
> > the source in the package so I was wondering if anyone knew what was
> > used here or how I could recreate this or a similar look.
>
> Can't help you there. It does look very nice. What I'd like to know is
> how he tightened up the vertical spacing so nicely, e.g., the spacing
> around section headers. LaTeX's standard vertical spacing is so loose it
> drives me nuts.

That's what section heading packages are for (titlesec, sectsty).

The LaTeX Companion discusses how to do it by oneself:
Copy the definition of \section, etc., from the .cls file and change
the numbers.


Dan

Randy Yates

unread,
Jun 4, 2008, 7:30:23 PM6/4/08
to
Dan <luec...@uark.edu> writes:
> [...]

> That's what section heading packages are for (titlesec, sectsty).

Turns out I've been using compact option ot titlesec for some time.
It's still not compact enough for my tastes.

> The LaTeX Companion discusses how to do it by oneself:
> Copy the definition of \section, etc., from the .cls file and change
> the numbers.

You mean via \renewcommand's? That's another good idea. Thanks Dan.

These are things I've gotten stuck in a rut accepting for years without
revisiting.
--
% Randy Yates % "Though you ride on the wheels of tomorrow,
%% Fuquay-Varina, NC % you still wander the fields of your
%%% 919-577-9882 % sorrow."
%%%% <ya...@ieee.org> % '21st Century Man', *Time*, ELO
http://www.digitalsignallabs.com

Philipp Lehman

unread,
Jun 5, 2008, 3:15:13 PM6/5/08
to
Robin wrote:

> and I really like the clean modern look to the class/style - I
> haven't seen anything like that in latex before. Unfortunately I
> couldn't find the source in the package so I was wondering if anyone
> knew what was used here or how I could recreate this or a similar
> look.

I get similar inquiries on a more or less regular basis so here are
some general hints for the record. I'm using this style for other
packages as well. You will find sources here:

http://www.ctan.org/tex-archive/macros/latex/contrib/etoolbox/
http://www.ctan.org/tex-archive/macros/latex/contrib/csquotes/

but that won't teach you much except that I like to move class and
package configuration code to external files as much as possible ;)

Essentially, latexdoc.cls is a simple wrapper class which loads a very
flexible backend class plus latexdoc.sty and sets up the fonts etc.
The backend class has also been used to typeset this manual:

http://www.ctan.org/tex-archive/info/Type1fonts/fontinstallationguide/

I've been planning to release this class for years but truth be said,
it's just not going to happen. I simply don't find the time to write
another manual with those 150 pages of instructions it would take to
document a class comparable in complexity to memoir. In fact, it's
very similar in concept to memoir so there's no pressing need to
release it because memoir is readily available and extremely well
documented.

I do plan to release latexdoc.sty one of these days but that's not
what most people inquire about. All latexdoc.sty does is to provide
class-independent facilities like the ltxsyntax, changelog,
ltxexample etc. environments as well as markup commands such as
\ltxcmd, \ltxenv. However, most inquiries I get are concerned with
things like fonts, headings, and so on which are handled by the
backend class.

If you like the style of the package manuals, I recommend starting
with a configurable class such as memoir or scrbook & friends (from
the KOMA-script bundle). Except for a few finicky features related to
footnote/endnote formatting, special TOC layouts, and PDF hyperlinks,
there's nothing in that class which you couldn't do with memoir or
scrartcl/scrbook. For example, the section heading setup involves
code such as this:

\definecolor{spot}{rgb}{0,0.2,0.6}
\renewcommand*{\sectionfont}{\color{spot}\sffamily\bfseries}
\setlength{\aftersectionskip}{0.75\baselineskip}

As you can see, there is no magic involved. You simply need a class
which supports configurable headings or article/book.cls plus the
section heading packages mentioned by Dan. The rest is standard LaTeX
(font switching) or based on core LaTeX packages (color.sty).

I'd browse the memoir manual and the KOMA manual and settle on one of
these classes. That's much easier than using one of the standard
LaTeX classes plus half a dozen add-on packages. You get a consistent
user interface and all the instructions are in a single manual.

Both memoir and the KOMA classes are full-featured, flexible,
well-maintained, and extensively documented. My impression is that
memoir is a bit more flexible whereas the latest KOMA classes have a
cleaner user interface. Note that memoir mimics book.cls by default so
you need to configure a lot if you want a different style.

scrartcl/scrbook provide a more 'modern' look by default (sans serif
headings with tighter spacing being the most noticeable difference).
If that's closer to what you want, you may get started faster with
the KOMA classes. I'm pretty sure that everything you can do with
scrartcl/scrbook could also be done with memoir, though. Go with the
class you like better. You won't go wrong either way.

Here are a few more hints:

* The fonts used in the package manuals are, for the body text,
Bitstream Charter with SC/OsF extensions; for the headings, Adobe
Frutiger; for inline verbatim, Latin Modern Typewriter; for display
verbatim, Bistream Letter Gothic. Except for Computer/Latin Modern TT,
these fonts are commercial.

The base set of Charter is available from CTAN for free. Frutiger
could be replaced by a Helvetica clone (helvet.sty). I don't know of
any free font similar to Letter Gothic but if you want something
different from Computer/Latin Modern TT, check out Luxi Mono on CTAN
for a change.

* The spot color is RGB 0/50/152 (#003298 in HTML notation).

* For two column text, use multicol.sty.

* For clean table layouts, use tabularx.sty with booktabs.sty.
See also:

http://www.ctan.org/tex-archive/info/german/tabsatz/

The tutorial is in German but you can still learn a lot from looking
at the examples and code snippets. This is a must-read!

* For code listings, use listings.sty.

I think that's it.

--
Sender address blackholed; do not reply to From: address.
You can still reach me by email at: plehman gmx net.

Philipp Lehman

unread,
Jun 5, 2008, 3:35:47 PM6/5/08
to
Randy Yates wrote:

> Dan <luec...@uark.edu> writes:
>> [...]
>> That's what section heading packages are for (titlesec, sectsty).
>
> Turns out I've been using compact option ot titlesec for some time.
> It's still not compact enough for my tastes.
>
>> The LaTeX Companion discusses how to do it by oneself:
>> Copy the definition of \section, etc., from the .cls file and
>> change the numbers.
>
> You mean via \renewcommand's? That's another good idea. Thanks Dan.
>
> These are things I've gotten stuck in a rut accepting for years
> without revisiting.

If you're redefining the lower-level sectioning code, your preamble
will be half the size of the class file. Try

\usepackage[small,compact]{titlesec}

for a quick fix if you're using the standard classes. I'd really look
at memoir and KOMA-script, though.

Philipp Lehman

unread,
Jun 5, 2008, 4:01:31 PM6/5/08
to
Philipp Lehman wrote:

> * The fonts used in the package manuals are, for the body text,
> Bitstream Charter with SC/OsF extensions; for the headings, Adobe
> Frutiger; for inline verbatim, Latin Modern Typewriter; for display
> verbatim, Bistream Letter Gothic. Except for Computer/Latin Modern
> TT, these fonts are commercial.

The inline verbatim font is Bitstream Prima Sans Mono (commercial),
sorry. The rest still applies.

> The base set of Charter is available from CTAN for free. Frutiger
> could be replaced by a Helvetica clone (helvet.sty). I don't know of
> any free font similar to Letter Gothic but if you want something
> different from Computer/Latin Modern TT, check out Luxi Mono on CTAN
> for a change.

--

Robin

unread,
Jun 6, 2008, 12:27:05 PM6/6/08
to
On Jun 5, 8:15 pm, Philipp Lehman <devnull.1.leh...@spamgourmet.com>
wrote:

> I think that's it.

Thanks very much for your comprehensive reply.

With your pointers, and a bit more research (which possibly I should
have done initially instead of asking the question) I've found it's
actually not that difficult to get a similar effect.

I'm using KOMA Script since I find the article and report styles
convenient, with helvet for the headings as you suggested - and have
also discovered mathdesign with the bitstream-charter and utopia
options. At the moment I am using utopia. Together with your tip for
tightening and coloring the headings I'm pretty happy with the result.

In case any one doesn't know it I found this link very helpful with
choosing fonts:

A Survey of Free Math Fonts for TeX and LaTeX
http://ctan.tug.org/tex-archive/info/Free_Math_Font_Survey/survey.html

Thanks again,

Robin

0 new messages