TeX Community Aggregator

Author Stefan Kottwitz

The author Stefan Kottwitz studied mathematics in Jena and Hamburg. He works as a network and IT security engineer for Lufthansa Industry Solutions.

For many years, he has been providing LaTeX support on online forums. He maintains the web forums LaTeX.org and goLaTeX.de and the Q&A sites TeXwelt.de and TeXnique.fr. He runs the TeX graphics gallery sites TeXample.net and PGFplots.net, the TeXdoc.org service, and CTAN LaTeX software mirrors. He is a moderator of the TeX Stack Exchange site and on matheplanet.com. He publishes ideas and news from the TeX world on his blogs LaTeX.net and TeX.co. He authored the LaTeX Beginner’s Guide in 2011, with the second edition in 2021, the LaTeX Cookbook in 2015 and 2024, and LaTeX Graphics with TikZ in 2023, with a Japanese edition in 2024.

Building snowmen

It’s winter here, and we are waiting for snow. So we will use TeX instead of snow to build some fancy snowmen. For the impatient, there’s an Unicode snowman: . It’s U+2603. Copy and paste to use. For us TikZ… Continue Reading →

Happy Christmas!

Happy Christmas to everyone! For all, who don’t celebrate christmas, have a great holiday season too! The picture of this greeting card was made in TikZ by cfr, our catcode specialist. (You noticed the cat.) What would christmas be without… Continue Reading →

TikZ people

Why do we make fancy things with TikZ? Because we can. Nils Fleischhacker created tikzpeople, a package for drawing people shapes with TikZ. It was heavily inspired by Microsoft Visio’s people shapes. It provides real pgf shapes with anchors for… Continue Reading →

TeX shapes the landscape

Computer games and science fiction movies use procedural landscapes. Why not use TeX to generate some. The approach is: Using the diamond-square algorithm for generating the height map Using Lua for implementing the algorithm Print with pgfplots, that provides a comprehensive interface for… Continue Reading →

Easy ball mindmaps

Since TikZ provides a mindmap library, drawing them is pretty easy: Define your styles Use the tree syntax for nesting nodes and children I liked to produce this drawing: And that’s the short code: \documentclass{article} \usepackage[landscape]{geometry} \usepackage{tikz} \usetikzlibrary{mindmap} \usepackage{dtklogos} \begin{document}… Continue Reading →

Calculating IP addresses in TeX

Just testing this blog, why not writing a post as an exercise. In big projects I have hundreds of sub networks. There’s a lot of small transport networks with small subnet masks, that partition a summarizing net, and there are gateways…. Continue Reading →

TUG 2016 in Toronto – The meeting

Here is a small report about the TUG meeting we had during the TUG 2016 conference in Toronto. I already posted it on LaTeX-Community.org, where we collect TeX conference reports since years. At 4:15 the TUG meeting started. Jim Hefferon… Continue Reading →

e-TeX and LaTeX

Our fellow moderator Joseph wrote on his blog www.texdev.net, that from the next release on LaTeX2e will require e-TeX. Why? Wasn’t LaTeX2e intended to be stable, nowadays only getting bug fixes and new features? Could it break something? Well, e-TeX… Continue Reading →

LyX in the cloud

Every tried running LyX on a Blackberry phone? Or iOS? No problem. Scott told us at LaTeX-Community.org, that there’s a cloud service for running LyX. He and me tested it, and it seems to work well. You can reach it at:… Continue Reading →

LaTeX diary of a pandemic

Several virulent diseases have broken out simultaneously all over the world – that’s the board game Pandemic Legacy. Your team of players travel around the world as disease-fighting specialists, researching cures for the plagues and treating disease hotspots. Dominik Wagenführ played that… Continue Reading →

Motivation model diagram Heckhausen Rheinberg

A diagram of the cognitive motivation model of Heckhausen and Rheinberg. I made it as an answer to a question at http://golatex.de/schaubild-mit-tikz-t16597.html styles are used styles base on other styles (inheritance) foreach-loops for repeating things a matrix is used for… Continue Reading →

A mindmap showing TeX projects supported by DANTE e.V.

A mindmap showing TeX projects supported by DANTE e.V., the german language TeX user group with home page at www.dante.de DANTE sponsors their server costs for the web sites shown in the mindmap. TeX forums TeX galleries TeX blogs Tools,… Continue Reading →

Bar chart

A bar chart can be used for comparing values. Here we create a horizontal bar chart. The pgfplots package provides an easy way. In this example, I reduced axis data to focus on the values. So I do not show… Continue Reading →

A simple Tree

A simple tree with a style for all nodes. Edit and compile if you like: % A simple Tree % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[sibling distance=10em, every node/.style = {shape=rectangle, rounded corners, draw, align=center, top color=white,… Continue Reading →

A bottom-up chart of a TeX workflow

A priority chart showing a common TeX workflow from bottom to top, using the smartdiagram package. Edit and compile if you like: % A bottom-up chart of a TeX workflow % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \begin{document} \smartdiagram[priority… Continue Reading →

A diagram of TeX software

A diagram presenting TeX software using the smartdiagram package. Edit and compile if you like: % A diagram of TeX software % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \begin{document} \smartdiagram[constellation diagram]{\TeX\ software, Editor, Compiler, Converter, PDF Reader} \end{document} Click… Continue Reading →

A Venn diagram with PDF blending

PDF blend mode requires TikZ version 3.0 or above. Edit and compile if you like: % A Venn diagram with PDF blending % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \begin{scope}[blend group = soft light] \fill[red!30!white] ( 90:1.2)… Continue Reading →

A circular diagram of a TeX workflow

A diagram showing a TeX workflow using the clever smartdiagram package. Edit and compile if you like: % A circular diagram of a TeX workflow % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \begin{document} \smartdiagram[circular diagram:clockwise]{Edit, pdf\LaTeX, Bib\TeX/ biber, make\-index,… Continue Reading →

A flowchart of a TeX workflow

A flowchart showing a common TeX workflow, using the smartdiagram package. Edit and compile if you like: % A flowchart of a TeX workflow % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \begin{document} \smartdiagram[flow diagram:horizontal]{Edit, \LaTeX, Bib\TeX/ biber, make\-index, \LaTeX}… Continue Reading →

A descriptive diagram of TikZ tasks

A diagram showing various TikZ drawing tasks, using the smartdiagram package. Edit and compile if you like: % A descriptive diagram of TikZ tasks % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \begin{document} \smartdiagram[descriptive diagram]{ {Style,{Define shapes, colors, shading, and… Continue Reading →

Mindmap

A mindmap of TeX concepts. Edit and compile if you like: % Mindmap % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border = 60pt]{standalone} \usepackage[landscape]{geometry} \usepackage{tikz} \usetikzlibrary{mindmap} \usepackage{metalogo} \usepackage{dtklogos} \begin{document} \begin{tikzpicture} \path [ mindmap, text = white, level 1 concept/.append style =… Continue Reading →

Decision tree

A horizontal tree, growing to the right. I created a basic style for tree nodes, and derived styles for specific kinds of nodes. Edit and compile if you like: % Decision tree % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{tikz}… Continue Reading →

A diagram of TeX engines

A diagram of TeX engines using the clever smartdiagram package. Edit and compile if you like: % A diagram of TeX engines % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \usepackage{metalogo} \usepackage{dtklogos} \begin{document} \smartdiagram[bubble diagram]{\TeX\ engines, \TeX\ (dvi), pdf\TeX, \XeTeX,… Continue Reading →

Flowchart

A flowchart showing how we may choose a math environment. It shows using styles, placing nodes in a matrix, and drawing arrows using loops. Edit and compile if you like: % Flowchart % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border=20pt]{standalone} \usepackage[a4paper,vmargin=3cm]{geometry}… Continue Reading →

Drawing a graph

In graph theory, models and drawings often consists mostly of vertices, edges, and labels. So, it may be possible, to use a simpler language for generating a diagram of a graph. The tkz-graph package offers a convenient interface. The code… Continue Reading →

Commutative diagram

A simple example of a commutative diagram using TikZ, short and readable. It has been posted as answer to the question http://tex.stackexchange.com/q/45741/213 of Elias. A matrix is used for positioning the main nodes Arrows are drawn as edges, between the… Continue Reading →

Highlighting elements in matrices

A submatrix within a matrix should be highlightened. Instead of simply drawing a rectangle, we can use TikZ for producing a rectangle node, using the fit library for fitting the desired area, defining a style for the highlighted node, so… Continue Reading →

A calendar of circles

A calendar example from the PGF manual. Modifications are changes in font family and size commands shaded background circle shaded month circles font sizes and distances. Edit and compile if you like: % A calendar of circles % Author: Till… Continue Reading →

Logic diagram

Math formulas and arrows with TikZ http://texblog.net/latex-archive/maths/logic-tikz/ In the Art of Problem Solving Forum http://www.artofproblemsolving.com/Forum/viewtopic.php?p=1359679#1359679 somebody asked for help in creating a construction for proofs and demonstrations in Logic by LaTeX commands. Math expressions should be aligned, some connected by… Continue Reading →

A family tree

Posted for discussing and improving on http://tex.stackexchange.com/q/39696/213 Edit and compile if you like: % A family tree % or: an organisational chart % Author: Stefan Kottwitz , http://texblog.net \documentclass{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt}% % \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[ man/.style={rectangle,draw,fill=blue!20}, woman/.style={rectangle,draw,fill=red!20,rounded corners=.8ex},… Continue Reading →

Chains with labeled edges

http://texblog.net/latex-archive/maths/pgf-tikz-commutative-diagram/ The chains library is very useful for writing exact sequences. Yet there’s no feature for labeling the edges of a chain. Besides arrows, we might need to write symbols for maps over, under, or just next to it. This… Continue Reading →

Fancy colorful tables with TikZ

Edit and compile if you like: % Fancy tables with TikZ % Author: Stefan Kottwitz % http://texblog.net \documentclass[svgnames]{beamer} \setbeamertemplate{background canvas}[vertical shading]% [top=blue!1,bottom=blue!30] \setbeamertemplate{navigation symbols}{} \usepackage{tikz} % The table is built using TikZ matrix library features: \usetikzlibrary{matrix} \usepackage[active,tightpage]{preview} \usepackage{subfig} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt}%… Continue Reading →

Lindenmayer systems

Edit and compile if you like: % Lindenmayer systems % Dec 18, 2011, Stefan Kottwitz % http://texblog.net \documentclass{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \usepackage{subfig} \PreviewEnvironment{tabular} \setlength\PreviewBorder{5pt}% \usetikzlibrary{lindenmayersystems} \usetikzlibrary[shadings] \begin{document} \pgfdeclarelindenmayersystem{Koch curve}{ \rule{F -> F-F++F-F}} \pgfdeclarelindenmayersystem{Sierpinski triangle}{ \rule{F -> G-F-G} \rule{G -> F+G+F}} \pgfdeclarelindenmayersystem{Fractal… Continue Reading →

Commutative diagram with crossing edges

Edit and compile if you like: % Commutative diagram with edges passing under/over % Jan 7, 2009, Stefan Kottwitz % http://texblog.net \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \usepackage[active,tightpage]{preview} \usepackage{subfig} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{5pt}% \begin{document} \begin{tikzpicture} \matrix (m) [matrix of math nodes, row sep=3em, column sep=3em]{… Continue Reading →

LyX 2.0.0 beta 4 and LyX 1.6.9 released

The fourth beta version of LyX 2.0.0 has been released. This is probably the last beta version. Testers of of previous betas are encouraged to test the new version. The current stable release for any serious work remains 1.6., 1.6.9… Continue Reading →

LaTeX auf der Ubucon 2009

Die Konferenz für die deutschsprachige Ubuntu Linux Community “Ubucon” wird vom 19. bis 22. Oktober 2009 zum dritten Mal stattfinden, in der Georg August Universität in Göttingen.   Das Konferenzprogramm enthält drei LaTeX-Veranstaltungen: LaTeX im Jahr 2009: Vorstellung neuer TeX… Continue Reading →

Fancy chapter headings

An example of how you can use TikZ and absolute positioning to create fancy chapter headings. Edit and compile if you like: % Fancy chapter headings % Author: Stefan Kottwitz % Source: http://texblog.net/latex-archive/layout/fancy-chapter-tikz/ \documentclass[svgnames]{report} \usepackage{tikz} \usepackage{kpfonts} \usepackage[explicit]{titlesec} \newcommand*\chapterlabel{} \titleformat{\chapter} {\gdef\chapterlabel{}… Continue Reading →

Sudoku 3D cube

This example shows how to create an effective 3D effect using the slant transformation. Shading has been added to enhance the 3D impression. Read more about this example over at TeXblog. Edit and compile if you like: % :Author: Stefan… Continue Reading →

Newer posts »

© 2025 TeX.social