• About
    • Cookie Policy
  • Code Snippets
    • Beamer (presentation)
    • Figures
    • Lists
    • Standard classes
    • Tables
  • Consulting
  • LaTeX Installation
  • Posting Questions
  • TeX/LaTeX Resources

texblog

because LaTeX matters

TikZ

Drawing trees with TikZ/PGF and LuaLaTeX

16. September 2015 by tom 14 Comments

TikZ/PGF is a flexible and powerful package for creating graphics in LaTeX. It’s syntax can be somewhat overwhelming at the beginning. In this post I show the basics of tree drawing using TikZ and LuaLaTeX.   The following code only works with LuaLaTeX. Make sure you use the lualatex engine rather than standard tex/latex for … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Introduction, LaTeX, Package, Tips & tricks Tagged: directed, edge, graph, LaTeX, node, pgf/TiKZ, TikZ, tree, usepackage

Replacing repetitive values in a table column by an arrow

10. April 2015 by tom 2 Comments

Ideally, tables are quickly and easily readable. Removing repetitive content helps the reader to grasp the essential result quicker and makes tables more readable. A possible option to make a table more readable is to replace repetitive content across a column with an arrow.   Preparations We will use TikZ to draw an arrow from … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, LaTeX, Tips & tricks Tagged: arrow, column, LaTeX, readable, repeat, repetitive, table, tabular, TikZ

Simple DNA – protein interaction model with TikZ

28. April 2014 by tom Leave a Comment

I was looking for a simple schematic representation of DNA – protein interaction and didn’t find anything of the sort on the web. Below is what I came up with. I hope that some of you might find it useful.   DNA The two strands of DNA are represented by two wavy lines, using the … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, LaTeX, Tips & tricks Tagged: DNA, figure, interaction, LaTeX, model, promoter, protein, schema, TikZ

Tiny leaves for official LaTeX announcements

7. May 2013 by tom 15 Comments

Seth Godin mentioned in his recent blog post on simple typography that certain fonts remind us of something. I’m not a professional. But for to fun it, I tried to reproduce Seth’s first example using PGF/TikZ. And here is the result (using LaTeX’s standard font Computer Modern). Below is the code. Just copy and paste … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: LaTeX, Tips & tricks Tagged: film, LaTeX, laurel leaves, leaves, movie award, movies, official, TikZ

Simple Smiley faces with TiKZ in LaTeX

22. April 2013 by tom Leave a Comment

I recently wrote an article on side-by-side figures in LaTeX (TUGboat 34:1), based on a series of posts on this blog. For illustration of the code samples, I created a series of very basic Smileys faces for which I publish the code here. Let me know below if you have suggestions for improvement or ideas … [Read more…]

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
Posted in: Figure & table, Introduction, LaTeX, Tips & tricks Tagged: code, emoticon, LaTeX, Smiley, Smiley faces, TikZ




Consulting

Need help with your thesis or book project? Let’s discuss.

Join 6,570 other subscribers
doi2bib




Top Posts & Pages

  • Multi-column and multi-row cells in LaTeX tables
  • LaTeX documentclass options illustrated
  • Control the width of table columns (tabular) in LaTeX
  • Adding line numbers to documents
  • Big O and related notations in LaTeX

Tags

addcontentsline array article bibliography Bibtex & biblatex book caption chapter citation cite code color definecolor description documentclass draft enumerate equation fancyhdr figure graphicx hyperref includegraphics item itemize label landscape LaTeX letter listoffigures listoftables math minipage reference renewcommand report section subfigure table tableofcontent tabular text TikZ usepackage xcolor

Copyright © 2025 texblog.

Omega Child WordPress Theme by ThemeHall