Blog Archives
center vs. centering
A frequently seen mistake is to use \begin{center} … \end{center} inside a figure or table environment. This center environment can cause additional vertical space. If you want to avoid that just use \centering instead like in this example: \begin{figure}[ht] \centering … Continue reading
Prevent page breaks
A page break directly after a first item of a itemize oder enumerate environment or other lists may be annoying. How to prevent that? A common way to prevent a page break is to use a minipage (or samepage) environment, … Continue reading
EPS file with incorrect BoundingBox
If an included eps image does not show up at the right position the coordinates of the BoundingBox may be incorrect. You could get an impression of if you open the image with an external viewer like gsview (Evince). epstool … Continue reading
Sumatra PDF 0.8.1 released
Sumatra PDF is a slim, free, open-source pdw viewer for Windows. Important new features are automatic reloading of changed PDFs tex integration (support for pdfsync) For more information see Sumatra PDF homepage and Version History. Kjell Magne Fauske provided links … Continue reading
Used fonts in pdf files
Sometimes it may be useful to examine the fonts actually used by a pdf file, even when it’s self-produced, for instance when the font quality is too low. That can be caused for instance when using Computer Modern fonts if … Continue reading
LEd 0.52 released
Version 0.52 of the LaTeX Editor LEd released on May 29 2008 now supports MiKTeX 2.6 and 2.7. LEd is a freeware LaTeX IDE designed to work on Windows operating systems. To get more informations about features and license and … Continue reading
Kile under Windows
Recently I got to know that the very recommendable integrated LaTeX environment Kile can be used on Windows too by installing andLinux, an Ubuntu Linux Version running natively inside Windows, still in the beta state. Chris has written a HowTo … Continue reading
Increase font size
Sometimes the question is raised how to get bigger font sizes than the standard LaTeX command \Huge provides (see: font sizes). It can easily done by using the \fontsize command followed by \selectfont. If unusual sizes are used the fix-cm … Continue reading
Full justification with typewriter font
In a typewriter font aka monospaced font each character is given the same width. Monospaced fonts are frequently used by programmers to increase the readability of source code, but long text passages with monospace typeface are considerably less readable than … Continue reading
pgf version 2.00 debian package released
On my Ubuntu 8.04 (“Hardy Heron”) the pgf/TikZ graphics package version 1.18 was installed. The pgf version 2.0 offers new features and is needed by newer documents and packages. A debian package of that version is now available. For information … Continue reading
Matrices with alignment
The entries of matrix columns are centered by default. Let’s see an example: \[ \begin{pmatrix} 1 & 2 & 1 \\ 0 & -2 & -3 \\ 0 & 3 & -2 \end{pmatrix} \] Output: For right alignment you could … Continue reading
Changing margins for just one paragraph
If you want to indent a paragraph just by a certain length but the standard LaTeX environments don’t meet the requirements you could use the TeX primitive \leftskip. To limit its effect it can be enclosed in \begingroup … \endgroup. … Continue reading