Typography with TeX and LaTeX

## New package: zwpagelayout

Dezember 28th, 2008 by Stefan Kottwitz

On December 26th Zdenêk Wagner has released the zwpagelayout package, dealing with page layout in general, like the well known geometry package.
It may not provide as many features as geometry but it brings additional tools, for instance it’s supporting cropmarks.

The package can be loaded by:

\usepackage[options]{zwpagelayout}

All options have to be set in the preamble, either by this line or given to the document class.
Options may be paper sizes (by name or by lengths), orientation (portrait, landscape), margins, text dimensions (also concerning head and foot), cropmark related options and options concerning the design of book covers like spine and flap.

There are even options to reflect pages horizontally or vertically, that are intended for printing but shouldn’t be used for documents providing hyperlinks.

Further the package is capable of calculating missing page layout dimensions if enough dimensions are already given.

Category: News, Layout | 2 Comments »

## WinShell 3.30 released

Dezember 18th, 2008 by Stefan Kottwitz

The version 3.30 of WinShell has been released on Monday this week. WinShell is a LaTeX Editor with Unicode support, spellchecking (Hunspell), project environment, configurable toolbars, syntax highlighting and provides many more features.

Some the new features of the version 3.30 are

• SyncTeX/Sumatra PDF support,
• improved UTF8 support for the spell checker,
• update to Hunspell 1.2.8, Scintilla 1.77,
• BibTeX front-end,
• a pdfLaTeX optimized toolbar,
• Linux support by wine.

Category: News, IDEs and Editors | No Comments »

## New package: pdfcomment

Dezember 9th, 2008 by Stefan Kottwitz

Though pdflatex provides the command \pdfannot for pdf annotations it is somehow complicated to use. The new package pdfcomment offers a user-friendly way to insert comments/ annotations into pdf files.

pdfcomment requires the packages hyperref, xkeyval, ifpdf, marginnote and packages needed by them.

pdfcomment provides options for subject, author and color of annotations, supports icons used as graphics for pdf annotations.

For further information you could have a look at

Category: News, Tools for LaTeX, LaTeX General | No Comments »

## TeXnicCenter 1.0 RC is out

Dezember 8th, 2008 by Stefan Kottwitz

The first candidate for TeXnicCenter 1.0 has been released as announced yesterday. It’s expected to be more stable than the beta release. Visit its download page to get it.

Category: News, IDEs and Editors | No Comments »

## TeXblog related news

Dezember 4th, 2008 by Stefan Kottwitz

Some weeks ago I began to work as IT Technician onboard of a passenger ship. I’ve already worked some years as IT Administrator on a ship (for a different company) and also in the position of the IT Communication Officer there, so it’s not completely new to me but will require most of my time.
That’s why I will publish less posts here at the moment, at least for some time.
I’m hoping that readers of this blog would return from time to time to check out if there’s something new. I will continue working on this site.

Stefan

Category: News, LaTeX General | 3 Comments »

## Texmaker 1.8 released

November 4th, 2008 by Stefan Kottwitz

The today released version 1.8 brings the following changes:

• faster spell checker, based on a more recent hunspell version,
• inverse search will no more launch a new instance of Texmaker because now it can be started only once per user,
• brace matching again,
• improved autocompletion, \begin{…} completed with \end{…},
• improved error detection.

Texmaker is a free LaTeX IDE running under Linux, Mac OS X and Windows and is published under the GPL 2.

Category: News, IDEs and Editors | 3 Comments »

## KOMA-Script 3 available

November 3rd, 2008 by Stefan Kottwitz

The new version KOMA-Script 3 by Markus Kohm et al. has been released today.

Some of the new features are:

• possibility to change almost all settings, even the paper or font size, after loading the class and even after \begin{document},
• arbitrary base font size, not only in pt, also in other units of measure like pica (pc),
• new key=value interface, backward compatible,
• new package tocbasic for generation of table of contents and other lists, supporting the multilingual babel package,
• arbitrary choice where chapters are allowed to start,
• improved documentation.

There are release notes in English and more extensive in German.

edit Nov 11: KOMA-Script 3 is available now also as MiKTeX package. I’ve installed it with TeX Live on Ubuntu Linux by the MiKTeX package manager.

Category: News, LaTeX General | No Comments »

## Ubuntu 8.10 “Intrepid Ibex” released

November 1st, 2008 by Stefan Kottwitz

On Oct 30 2008 the Ubuntu team announced the release of Ubuntu 8.10 Desktop and Server. You can read about its features in the press release.

Check out the release notes and look at the new features.

Category: Linux/ Ubuntu Linux | No Comments »

## Using \expandafter for macro redefinitions

Oktober 26th, 2008 by Stefan Kottwitz

Sometimes I want to redefine a macro of a class or package but want to use its original definition. Instead of copy&paste one could use the original macro directly:

1. come up with a new macro, ensure that it’s not defined yet,
2. save the definition of the original macro to the new macro,
3. redefine the original macro using the new macro with the saved original code,

I will give a very simple example for a demonstration. Today a LaTeX Community member said that he’s using the quote environment but wants the enclosed text to have a smaller size. A straightforward solution is to use \renewenvironment copying the original code, let’s say from article.cls, and to make a small modification:

\renewenvironment{quote} {\list{}{\rightmargin\leftmargin}% \item\relax\small} {\endlist}

Just the \small was added. This solution needs the writer to examine the class source, that may also be changed later.

The second solution is the method I’ve described above:


The \newcommand line may be omitted, I’ve just used it to ensure that an error would be raised if a macro with that name was already defined by somehing else.
The last code works like the first solution, but respects the original class code and it will also respect further changes of the class, therefore I’m preferring it.

But the third solution is similar, shorter and doesn’t need the creation of another macro. It’s doing the same job but uses the original macro directly, avoiding a recursion problem by using \expandafter:

\expandafter\def\expandafter\quote\expandafter{\quote\small}

You can find the same method applied in my comment to a previous blog post.

If you want to know how expandafter works you will find explanations in TeX books and documentations. Further there’s an extensive tutorial by Stephan v. Bechtolsheim (TUGboat, Volume 9, 1988), old but still valid of course.

This topic was discussed in the LaTeX Community Forum and on Matheplanet.com.

Category: LaTeX General, plain TeX | 4 Comments »

## Ubuntu 8.10 “Intrepid Ibex” Release Party

Oktober 24th, 2008 by Stefan Kottwitz

On October 30, 2008 the version 8.10 of Ubuntu Linux will be released. The user group Ubuntu Berlin is inviting to the Intrepid Ibex Release Party:

The party in the c-base Berlin will start on November 1, 2008, 4pm, admission will be free. There will be presentations showing new features of Ubuntu 8.10, its new network management, talks about first steps with Ubuntu and tuning the desktop. Of course I’ll be there too.

If you cannot come to Berlin but want to celebrate the Intrepid release too, have a look at the Intrepid release parties worldwide.

Category: Events, Linux/ Ubuntu Linux | No Comments »