The TeX Users Group (TUG) meeting 2025 will take place in Trivandrum, Kerala, India, from July 18-20 (Fri-Sun), 2025. It is hosted by TeXFolio, an institutional member and sponsor of the TeX Users Group. Conference information and the registration form… Continue Reading →
Original drawing by Daniel Littmann on X/Twitter, here drawn in TikZ. I used the hobby library for smooth open or closed paths, “to” paths with in and out angles for further smooth paths with a certain looseness, all nodes set… Continue Reading →
X/Twitterで、こちらの投稿を@884_96さんによって見かけました。 (4) の木構造が気に入ったので、素早くこの図を作成しました: Screenshot コードは以下の通りです: \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[every node/.style = { execute at begin node = $, execute at end node = $}, level distance = 1cm, level 1/.style = {sibling distance = 2cm}, level 2/.style = {sibling distance… Continue Reading →
\documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{angles,calc,decorations.markings} \begin{document} \begin{tikzpicture}[thick, draw only after/.style = { preaction ={decorate, decoration={markings,mark=at position 0 with {\pgfmathsetmacro\mypoff{\pgfdecoratedpathlength*#1}\xdef\mypoff{\mypoff} \pgfmathsetmacro\mypl{\pgfdecoratedpathlength}\xdef\mypl{\mypl}}}}, postaction={draw, dash pattern = on 0pt off \mypoff on \mypl}}] \coordinate (o) at (0,0); \coordinate (a1) at (0.72, 1.33); \coordinate (a2) at (0.72,… Continue Reading →
\documentclass[border=10pt,tikz]{standalone} \usepackage{dsfont} \usetikzlibrary{angles, decorations.pathmorphing} \begin{document} \tikzset{smallcircle/.style = {circle, draw, fill=white, inner sep=2pt}} \def\r{1.2} \newcommand*{\U}[5]{% \path (#2,#3) coordinate (0) +(#4:\r) coordinate (1) +(#5:\r) coordinate (2) pic[thick, draw = red!80!black, angle radius=\r cm] {angle = 1–0–2} pic[thick, draw = black, angle radius=\r… Continue Reading →
On X (Twitter), I saw a post by Ben Levinstein asking if any AI could do a good job turning hand-drawn diagrams into TikZ equivalents. I guess AI is not ready for this yet, but I can show how I… Continue Reading →
On X/Twitter, I saw a drawing by 黄餅もち. It is pretty easy to do in TikZ, so I quickly made this drawing, using LuaLaTeX: The code is: \documentclass[tikz,border=10pt]{standalone} \usepackage{luatexja-fontspec} \usetikzlibrary{trees} \begin{document} \begin{tikzpicture}[edge from parent fork right, grow=east, every node/.style={draw}] \node… Continue Reading →
On X/Twitter, I saw a drawing by toshᴉzumi. It’s pretty complex, well made, I like it very much. I had a few thoughts how I would adjust it a bit to my taste. toshᴉzumi shared the code, so I played… Continue Reading →
I saw a question on X/Twitter by とと about drawing certain circles, partially filled, together with aligned equations. So, I quickly wrote some TikZ code to demonstrate how such drawings can be done. This is the result: And this is… Continue Reading →
I saw a question on X/Twitter by @ritsudesu_yoro about drawing arrows and adding labels to chemical equation. @RARARARAICHUUU recommended doing it in TikZ, and I fully agree with this suggestion. So I wrote quickly some TikZ code to demonstrate how… Continue Reading →
The periodic table is a huge chart that organizes all known chemical elements by their atomic number and other properties. It makes it easy to see their relationships by grouping similar ones together. This table is essential for chemists and… Continue Reading →
PGFplots.netの開始後、私はpgfplotsでさらに実験をしました。私がいつものように各グラフィックソフトウェアで行うように、フラクタルをどのように表現できるか、そしてそれによって有用または興味深い側面があるかどうかを考えました。ここでは速度やメモリスペースは二次的なもので、時間とともに容量は変わります。 私が興味を持っているのは、例えば 反復的に定義された関数を渡してプロットできるか イテレーション数のように、カラーマップ(colormaps)を利用できるか イテレーション関数システム(IFS、バーンズリー・ファーンなど)のように、幾何学的変換がうまく使えるか 三次元でも可能か 以下では、Luaで実装されたアルゴリズムを使用してマンデルブロ集合をプロットします。LaTeXで表現すると、以下のようになります: 次のコードはLuaとpgfplotsを使用した実装です: %!TEX lualatex \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{width=7cm, compat=1.18} \usepackage{luacode} \begin{luacode} function mandelbrot(cx, cy, imax, smax) local x, y, x1, y1, i, s x, y, i, s = 0, 0, 0, 0 while (s <=… Continue Reading →
私はフラクタル風景を生成し、LaTeXなどで利用可能な機能を活用したいと考えています。 アプローチ: Luaを使用してダイヤモンド・スクエア・アルゴリズムによる風景の計算 pgfplotsを使用して出力することで、多様な表示オプションが利用できる メッシュを使用したサーフェスプロット Colormapを使用して色付けを行う:海面下は青、山は緑、雪は白、高度によって色が変わる この解決策は、Marc Lepageによる実装でダイヤモンド・スクエア・アルゴリズムを使用しています。Luaコードはもちろん外部に配置することもでき、それが推奨されています。ここでは扱いやすさのためにドキュメント内に残しています。 Luaでの計算 pgfplots Surface-Plotで出力し、colormapを使って色付け(海、山、雪)、viewで視点設定 シード値を変更してバリエーションを加えることができます。これはTerrain関数を呼び出すときの最初のパラメータです。viewだけを変更したい場合はこれを保持します。shader=interpは色を補間しますが、完璧には見えないかもしれません。 計算には時間がかかります。テスト時にはマトリックスの次元やメッシュ行(次元+1)の値を小さくすることがよいでしょう。 \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.15} \usepackage{luacode} \begin{luacode*} function terrain(seed,dimension,options) — inner functions come from the Heightmap module — Module Copyright (C) 2011 Marc Lepage local max, random = math.max,… Continue Reading →
リンデンマイヤーシステム、通称L-システムは、「置換システム」です:ある(グラフィック)オブジェクトの部分が、最も単純な場合にはその縮小されたオブジェクト自体に置き換えられます。これが繰り返され、例えば再帰的に行われます。これにより、非常に複雑なフラクタル構造が生まれ、同時に非常にシンプルに定義されることがあります。 最も単純な例はコッホ曲線で、スノーフレーク曲線とも呼ばれます。知らない人は、Wikipediaのリンクをフォローしてください。:-) ここでは説明するつもりはありませんが、TikZを使って最も簡単に生成する方法を簡単に示します。 基本となるのは、線を引いたり角度を変えるなどの単純なグラフィック操作のためのシンボルです。これらのシンボルは文字列に指定され、この文字列の一部は「生産ルール」によって段階的に置換されます。文字列はどんどん長くなり、最後にこの図が描かれます。 TikZマニュアルでは、第55章でこれらのルールが説明されており、それはリンデンマイヤーシステム図書館を記述しています。これは、そのようなオブジェクトとルールを簡単に宣言するための構文を提供し、描画を行います。 動機づけとして、以前TeXample.netに書いたいくつかの例が含まれるドキュメントがあります。見るとわかるように、4つの例のそれぞれがシンプルに定義されています。私はさらに、TikZでさらに加工できることを示すために、派手な色やグラデーションを加えました。 \documentclass{article} \usepackage{tikz} \usetikzlibrary{lindenmayersystems} \usetikzlibrary[shadings] \pgfdeclarelindenmayersystem{Koch curve}{ \rule{F -> F-F++F-F}} \pgfdeclarelindenmayersystem{Sierpinski triangle}{ \rule{F -> G-F-G} \rule{G -> F+G+F}} \pgfdeclarelindenmayersystem{Fractal plant}{ \rule{X -> F-[[X]+X]+F[+FX]-X} \rule{F -> FF}} \pgfdeclarelindenmayersystem{Hilbert curve}{ \rule{L -> +RF-LFL-FR+} \rule{R -> -LF+RFR+FL-}} \begin{document}… Continue Reading →
ここでは、繰り返し関数システム、略してIFSについて扱います。ここでは繰り返し変換が行われます。空間が何度も自分自身にマッピングされます。このプロセスにはさまざまなマッピング規則があり得ます。理想的にはこれを無限に行い、すべての間で不変である空間内の集合を考察します。この集合はフラクタルになる可能性があります! 理論はさておき、Wikipediaで基本的な内容を、そして素晴らしい本でより深く理解することができます。では、これをどのように生成するのでしょうか? 最も簡単な方法は「カオスゲーム」と呼ばれるものです。一点を取り、その点に一つの変換を適用します。変換によって不変である点集合に関わるため、目的の点は集合内に落ちなければなりません。この新しい点でプロセスを繰り返し、何千回も繰り返して図が浮かび上がるまで続けます。 それでは、有名なバーンズリー・ファーンでこれを実行しましょう! しかし、どうやって? ループとアフィン変換を計算する能力が必要です。pgfmathでこれは可能ですが、私の見解では読みにくいです。そのため、通常のプログラミング言語を統合できる利点を活かしてLuaを使用します。これにより、コーディングは簡単になります。パラメータは行列に書き込まれます。つまり、変換パラメータとカオスゲームの変換選択の確率です。点を走らせましょう! 翻訳にはLuaTeXと忍耐が必要です。試行錯誤やパラメータの調整をするときは、最初は反復回数を少なくしてください。 % !TEX lualatex \documentclass[tikz,border=10pt]{standalone} \usepackage{luacode} \begin{luacode*} function barnsley(iterations,options) local x = math.random() local y = math.random() local m = { 0.0, 0.0, 0.0, 0.16, 0.0, 0.0, 0.01, 0.85, 0.04, -0.04, 0.85, 0.0, 1.6,… Continue Reading →
While a word cloud is a pretty picture made of words, it’s a tool that can visualize the importance of topics or keywords, or how often a word appears in a text. Bigger words indicate higher frequency. Word clouds can… Continue Reading →
Die zweite, verbesserte und erweiterte Ausgabe des LaTeX Cookbook ist diesen Monat, März 2024, in englischer Sprache erschienen. Die erste Ausgabe, veröffentlicht in 2015, wurde überarbeitet und die Code-Beispiele wurden aktualisiert, um mit den neuesten Klassen und Paketen von LaTeX… Continue Reading →
The second, improved, and extended edition of the LaTeX Cookbook was published this month, March 2024. The first edition, published in 2015, has been revised, and the code examples have been updated to work with the latest classes and packages… Continue Reading →
That’s the hippo from the tikzlings package with a thought bubble and a toy lightsaber serving as a flagpole for the flag of his homeland Malawi, done with the worldflags package. \documentclass[tikz,border=10pt]{standalone} \usepackage{tikzlings} \usepackage{worldflags} \begin{document} \begin{tikzpicture} \hippo[body=brown!60!black, lightsaber=brown, think={\textsf{The end}}]… Continue Reading →
This is from my tweet here, an example illustrating the tikzbricks package that I featured in the fun section of my new TikZ book. (It shall be released in July, you can follow me on Twitter for updates.) \documentclass[tikz,svgnames,border=20pt]{standalone} \usepackage{tikzbricks}… Continue Reading →
Dienstag abend hat die LaTeX Community Twitter erfolgreich durchgespielt: es wurde das Level erreicht, dass LaTeX in Deutschland auf Twitter trendet, den Abend lang. Und zwar in der korrekten Schreibweise, wichtig. Keine andere Sache. Was ist passiert? Wir haben uns… Continue Reading →
That’s an English translation a German blog post that you can find here: LaTeX.net/verein. I’d like to support promoting becoming a new member of DANTE e.V. because I wish to see more LaTeX friends here. February 8, 2022: More than… Continue Reading →
An English translation of this post is here: LaTeX.net/members. Da ich mir mehr LaTeX-Freunde für unseren Verein DANTE e.V. wünsche, möchte ich die Werbung von Neumitgliedern mit einem LaTeX-Buch unterstützen. 8. Februar 2022: Mehr als 10 Bücher verfügbar. Warum DANTE-Mitglied… Continue Reading →
Heute, am Donnerstag, 13. Januar 2022, gibt es den ersten Berliner LaTeX-Stammtisch des Jahres 2022, um 19 Uhr. Nur für Berliner? Weiß nicht, hab ich gerade auf Twitter gefragt. Weil es ist ja online mit jitsi-meet auf dieser Adresse: https://meet.ffmuc.net/LaTeXStammtischBerlin… Continue Reading →
Antioch Sanders told us on LaTeX.org about his new project that he called extexify. That’s a browser extension for finding LaTeX symbols by drawing them with mouse or finger on the display. It is inspired by detexify, but works integrated… Continue Reading →
A Lorenz system by Henri Menke: % !TEX lualatex \documentclass[tikz]{standalone} \usepackage{luacode,pgfplots} \begin{luacode*} — Differential equation of Lorenz attractor function f(x,y,z) local sigma = 3 local rho = 26.5 local beta = 1 return {sigma*(y-x),-x*z + rho*x – y,x*y – beta*z}… Continue Reading →
Another flower without comment. function source is here. \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \renewcommand*{\r}{(sin(4*u)^3 + cos(2*u)^3 + sin(6*v)^2 + cos(6*v)^4)} \begin{document} \begin{tikzpicture} \begin{axis}[ view = {120}{310}, hide axis, colormap = {flower}{ color(0cm) = (yellow); color(4cm) = (yellow!70!red); color(8cm) = (red!60!black); color(12cm) =… Continue Reading →
Without much comments a flower, or a Parametric Breather Pseudospherical Surface. \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \pgfplotsset{trig format plots=rad} \begin{document} \begin{tikzpicture} \begin{axis}[ view = {60}{-60}, hide axis, colormap = {flower}{% color(0cm) = (yellow); color(4cm) = (orange); color(8cm) = (red!40!black); color(12cm) = (red!80!black);… Continue Reading →
That’s from my German blog TikZ.de. Recently I played with the sine function, that “wave” that everybody knows in cartesian coordinates. Let’s take a look at a 3d polar complex sine made plot. In polar coordinates the sine function is… Continue Reading →
That plot is from my German blog TikZ.de. I planned to model this nice cake: (Foto by Guido Draheim). Like a cruller, just, ehm, more digital and mathematical. How do we draw it? Let’s think of a cross-section. In polar… Continue Reading →
Die DANTE-Frühjahrstagung fand wegen der Corona-Kontaktbeschränkungen komplett online statt. Auch die Herbsttagung wird virtuell stattfinden, über die Plattform „Online Schule Saarland“. Das Programm, vom 17. bis 19. September 2021: Freitag, 17.9.: ab 19:30 Uhr Vorabendtreff Samstag,18.9.: ab 9 Uhr Begrüßung… Continue Reading →
The following text is in German because it’s about the German language user group meeting 2021. Im vergangenen Jahr sind leider beide DANTE-Tagungen wegen der Pandemie ausgefallen. Die Frühjahrstagung fand wegen der Kontaktbeschränkungen komplett online statt. Auch die Herbsttagung wird… Continue Reading →
The following text is in German because it’s about the German language user group meeting 2021. Im vergangenen Jahr sind leider beide DANTE-Tagungen wegen der Pandemie ausgefallen. Die Frühjahrstagung fand wegen der Kontaktbeschränkungen komplett online statt. Auch die Herbsttagung wird… Continue Reading →
MacKichan Software, Inc. stopped it’s business on June 30, 2021. Their products Scientific WorkPlace (SWP), Scientific Word, and Scientific Notebook, that are based on LaTeX, will not be sold or supported anymore. The future plan for Scientific Word is to… Continue Reading →
StackExchange, bekannt als StackOverflow, ist an Prosus verkauft worden für 1,8 Milliarden Dollar. Das beinhaltet die TeX StackExchange Q&A Seite (TeX.SE). Prosus ist ein Technology-Investor und eine Holding Company die bereits Unternehmen wie Udemy, Codecadamy und Brainly (“Your 24/7 homework… Continue Reading →
Nach einem kurzen Gespräch auf TeXnique.fr hat Patrick Bideault das coffeestains-Paket auf TikZ portiert. Das ursprünglich von Hanno Rein in 2009 entworfene Paket erfuhr damit eine Modernisierung und läuft einwandfrei mit pdfLaTeX, XeLaTeX, und LuaLaTeX auf TeX Live 2021. Damit… Continue Reading →
Gerade in Internet-Foren ist es üblich, Problem-Beispiele zu posten, und Antworten enthalten oft vollständige Lösungs-Codes. Mit TeXlive.net kann man nun Code mit einem einzigen Klick direkt auf der Webseite übersetzen. Das geht auch auf dem Tablet oder Mobiltelefon, wo auch… Continue Reading →
The following text is in German because it’s about the German language user group meeting 2021. Im vergangenen Jahr sind leider beide DANTE-Tagungen wegen der Pandemie ausgefallen. Dieses Jahr wird die Frühjahrstagung stattfinden, jedoch wegen der Kontaktbeschränkungen komplett online. Anmelden… Continue Reading →
Here I fill the space below the function z = x^2+y^2 to get a solid object. I did it by: Plotting the curves at the edges, for x=0 and y=0 Plotting the bottom edges Naming the paths above using name… Continue Reading →
The sine function is a well known periodic function. Choose an argument factor, which doesn’t divide the period well, and you can see a complicated path around the origin. This plot was originally made for my blog post on TikZ.de:… Continue Reading →
The sine function is a well known periodic function. Choose an argument factor, which doesn’t divide the period well, and add another sine function with a different factor, and you can see a complicated path around the origin. This plot… Continue Reading →
This is a picture of a Julia set, named after the French mathematician Gaston Julia. Computing requires a lot of iterations, that’s why we use Lua. The function for the set is z -> z^2 – 0.742 + 0.1i. The… Continue Reading →
The Mandelbrot consists of points whose boundary is a two-dimensional fractal shape. It is named after the mathematician Benoit Mandelbrot. It’s computed using a lot of iterations, that’s why we use Lua here for the calculation. The sampling is done… Continue Reading →
With pgfplots 1.10 and its fillbetween library we can fill the area between curves in a new convenient way: draw the first function and give it a name draw the second function and name it too add a fill between… Continue Reading →
We know for example informational or scientific posters seen at conferences or at walls in universities or institutes. They mostly have certain characteristics in common: They have a large size, such as A2, A1 or even A0. People may look… Continue Reading →
Functions with two arguments can be visualized in three-dimensional plots. Getting this on paper or into a PDF, is a bit more challenging. We need a projection, a view point, or angle, there’s a depth which means parts should be… Continue Reading →
A well-known classic field of mathematics is geometry. You may know Euclidean geometry from school, with constructions by compass and ruler. Math teachers may be very interested in drawing geometry constructions and explanations. Underlying constructions can help us with general… Continue Reading →
Using basic TikZ function it’s not too hard to create a line, add some ticks and date values and annotations. This example shows another colorful predesigned way using the timeline library. Until the timelime library becomes official part of TikZ… Continue Reading →
© 2025 TeX.social