TeX Community Aggregator

Category Active

Moving contact line

\documentclass[border=10pt]{standalone} \usepackage{asymptote} \begin{document} \begin{asy}[width=\the\linewidth,inline=true] unitsize(1cm); path a = (1,2.4)–(4,0.6)..(4.5,1)..(4.1,1.9)..(3.9,2)..cycle; draw(a); fill(a,cyan); path b = (0,3)–(5,0); draw(b,linewidth(2)); path c = shift(4,0.6)*scale(0.6)*unitcircle; draw(c,red+dashed); path d = (5,1.2)–(6,1.8); draw(d,EndArrow); path e = shift(8,3)*scale(2)*unitcircle; draw(e,red+dashed); path f = (9.4,1.6)–(6.1,3.58); draw(f,linewidth(2)); path g = (8,2.44)..(8.8,3.2)..(8.6,3.8)..(8.4,4.1);… Continue Reading →

Emacs 29.4

Emacs 29.4 ist heute veröffentlicht worden. Und with a little help from my friends gelang es mir, auch die letzten Unzulänglichkeiten beim Kompilieren unter macOS Sonoma zu beseitigen. Entpacken muss man den Tarball nun auf der Kommandozeile. Aber erst wenn… Continue Reading →

The Periodic Table of the Elements

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 →

About the Radio Silence

I haven’t blogged for a while. I owe you an apology and an explanation, so here goes… Why I’m not blogging I’ve been reflecting a lot over the last few years on why I don’t really blog anymore. I think… Continue Reading →

LaTeX 2024-06-01 PL1 released and distributed

We sent the 2024-06-01 release (patch level 1) of the LaTeX kernel to CTAN. By now it should be available to most users via TeX Live or MiKTeX. The LaTeX Tagged PDF project As with the previous release the team… Continue Reading →

BibTeX 0.99 is the end of the line

Die letzte Version von BibTeX ist bekanntlich 0.99. Oren Patashniks Anleitung „BibTeXing“ trägt das Datum vom 8. Februar 1988, und diese Version ist noch immer Teil des BibTeX-Pakets, das mit den heutigen TeX-Distributionen ausgeliefert wird, hier beispielhaft TeX Live 2024: % bibtex… 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-システム

リンデンマイヤーシステム、通称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 →

TUGboat 45:1 published

TUGboat volume 45, number 1, has been mailed to TUG members. It is also available online and from the TUG store. In addition, prior TUGboat issue 44:3 is now publicly available. The next issue will be the TUG’24 proceedings; the… Continue Reading →

Drawing in Spherical Coordinates

\documentclass[border=10pt]{standalone} \usepackage{lmodern} \usepackage{upgreek} \usepackage[inline]{asymptote} \begin{document} \begin{asy}[width=\the\linewidth,inline=true] settings.outformat=”pdf”; settings.render=0; settings.prc=false; import three; import graph3; import grid3; currentprojection=obliqueX; //Draw Axes pen thickblack = black+0.75; real axislength = 1.0; draw(L=Label(“$x$”, position=Relative(1.1), align=SW), O–axislength*X,thickblack, Arrow3); draw(L=Label(“$y$”, position=Relative(1.1), align=E), O–axislength*Y,thickblack, Arrow3); draw(L=Label(“$z$”, position=Relative(1.1), align=N), O–axislength*Z,thickblack,… Continue Reading →

Minkowski diagrams & Lorentz transformations

This post contains Minkowski diagrams of flat spacetime with light cones to illustrate the causal structure, as well as graphical interpretations of Lorentz transformations (“boosts”), and more. Some figures were inspired by Very special relativity – An illustrated guide by… Continue Reading →

Penrose diagrams of Minkowski and Schwarzschild spacetime

Penrose diagram of Minkowski and Schwarzschild metrics to illustrate the causal structure of different spacetime geometries. Lightlike worldlines remain at 45 degrees as indicated by the photons and light cones, i.e. the diagrams are conformal. The grid indicates lines of… Continue Reading →

Kruskal diagrams of Schwarzschild black holes

Kruskal diagram of Schwarzschild spacetime with light cones to illustrate the causal structure. Using Kruskal-Szekeres coordinates, lightlike worldlines remain at 45 degrees, i.e. the diagrams are conformal. The grid indicates lines of constant r and t. The horizon is at… Continue Reading →

Development releases for the L3 Programming Layer

The team have made development releases of the LaTeX kernel available for some time, to allow active users and developers to test new features. We have now extended this concept to cover the core of expl3 (packages l3kernel and l3backend)… Continue Reading →

Quadrilateral hierarchy

Hasse diagrams illustrating how quadrilaterals are related, and marking congruent and right angles, as well as same length sides with a custom macro via pic. Inspired by this image on Wikimedia Commons. Most basic diagram to relate squares, rectangles, rhombi,… Continue Reading →

TUG 2024 conference (July 19-21, Prague): Call for papers extended

The call for papers for TUG’24 has been extended to June 1, as long as there is space in the schedule: cfp info (any TeX or typography-related topic is welcome). The bursary (financial assistance) deadline is also extended, to May… Continue Reading →

Neural networks

Some examples of neural network architectures: deep neural networks (DNNs), a deep convolutional neural network (CNN), an autoencoders (encoder+decoder), and the illustration of an activation function in neurons. Basic idea The full LaTeX code at the bottom of this post… Continue Reading →

Word clouds

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 →

Crystal structure

\documentclass[border=10pt]{standalone} \usepackage{asymptote} \begin{document} \begin{asy}[width=\the\linewidth,inline=true] settings.outformat=”pdf”; settings.render=0; settings.prc=false; size(300); import solids; currentprojection=orthographic ( camera=(8,5,4), up=(0,0,1), target=(2,2,2), zoom=0.5 ); // save predefined 2D orientation vectors pair NN=N; pair SS=S; pair EE=E; pair WW=W; //%points on cube triple A = (0,0,0); triple B… Continue Reading →

Diagram with Gradients

\documentclass[border=10pt]{standalone} \usepackage{lmodern} \usepackage{upgreek} \usepackage[inline]{asymptote} \begin{document} \begin{asy}[width=\the\linewidth,inline=true] import graph; import roundedpath; import math; //texpreamble(“\usepackage{upgreek}”); defaultpen(fontsize(10pt)); real sc=2; unitsize(sc*1bp); // 1. bounding ellipse guide ell=(150,60)..(75,120)..(3.4,60)..(75,0)..cycle; // 2. day pen penA=rgb(0.773,0.831,0.882); pen penB=rgb(0.09,0.09,0.09); pair a=(70,60); pair b=(100,60); fill(box((0,0),(90,120)),penA); axialshade(box((0,0),(100,120)),penA,a, extenda=false,penB,b, extendb=false); // night… Continue Reading →

LaTeX Cookbook zweite Auflage erschienen

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 →

LaTeX Cookbook second edition published

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 →

ISO PDF/UA-2 standard released – Examples made by LaTeX

In March 2024 the new Universal Accessibility standard for PDF (PDF/UA-2) was released. It is based on PDF 2.0 and improves accessibility compared to PDF/UA-1 (based on PDF 1.7) in many important aspects. The standard is closely related to the… Continue Reading →

Accessibility talks at DEIMS 2024 conference in Tokyo

The conference was held as a hybrid conference, i.e., all talks were recorded and also streamed. Some of the talks were given remotely. The full playlist with all talks is available at YouTube. Ulrike and I gave a talk on… Continue Reading →

Emacs 29.3

GNU Emacs 29.3 ist heute veröffentlicht worden. ./configure – make – make install lief unter macOS Ventura problemlos durch. GNU Emacs 29.3 (build 1, aarch64-apple-darwin22.6.0, NS appkit-2299.77 Version 13.6.5 (Build 22G621)) of 2024-03-24 Der Programmstart ist ein bisschen umständlich, weil man… Continue Reading →

Aufräumarbeiten bei MacTeX 2024

Nach der Veröffentlichung von TeX Live 2024 ist nun auch die MacTeX-Website aktualisiert worden. Dort findet man einen wichtigen Hinweis für ConTeXt-Anwender, die bitte noch im Terminal das folgende Initialisierungsskript ausführen sollten, das es leider nicht mehr in das Setup geschafft… Continue Reading →

TeX Live 2024 ist veröffentlicht worden

Karl Berry hat den Release von TeX Live 2024 bekanntgegeben. Neuigkeiten werden in den Release Notes beschrieben. Unstimmigkeiten, die man in den letzten Wochen über die Mailinglisten verfolgen konnte, betrafen vor allem Neuerungen bei LuaTeX. Es hakte mitunter erheblich, die… Continue Reading →

Lead nucleus & Pb-Pb collisions

Nucleus of a (lead) isotope:Lead-lead (PbPb) collisions at the LHC with electromagnetic fields (note Lorentz-contraction):Indicating the impact parameter: Main idea At first I tried randomly assigning an angle and radius (sampling sqrt((rand+1)/2) for uniform distribution along the radius):This did not… Continue Reading →

Earth seasons

Seasons of Earth due to Earth’s tilted axis of rotation w.r.t. its orbital plane. Main idea One can use pic to predefine a picture of Earth: \documentclass[border=3pt,tikz]{standalone} \tikzset{ pics/earth/.style={ % Earth in orbit (argument #1 = polar angle) code={ \message{^^JEarth… Continue Reading →

TeX Live 2024 pretest

The pretest for TeX Live 2024 is well along, for those who’d like to help with the upcoming release. The new binaries are presumed stable at this point, barring critical bug reports, so please try it out with your own… Continue Reading →

TUG 2024 conference: July 19-21, Prague, Czechia

The TUG’24 conference will take place in Prague, Czechia, from July 19-21, 2024 (Friday-Sunday), with a LaTeX developers’ workshop on Thursday July 18. The conference will be held at the Hotel Grandior in the Prague city center, with additional accommodations… Continue Reading →

Pre-Print meines neuen TikZ-Artikels, Teil 2

In Pre-Print meines neuen TikZ-Artikels hatte ich den Folgeteil versprochen, der ist jetzt auch soweit gediegen, dass ich ihn präsentieren kann. Uwe-TikZ_II (PDF) Uwe-TikZ_II (LaTeX) Uwe Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content… Continue Reading →

Pre-Print meines neuen TikZ-Artikels

Für die DTK habe ich einen neuen Artikel zum Thema TikZ geschrieben, hier das Pre-Print PDF und der LaTeX-Quelltext. Ein Folgeartikel ist bereits in der Entstehung. Uwe-TikZ (PDF) Uwe-TikZ (Quellcode) Uwe Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined…. Continue Reading →

Pretest TeX Live 2024 beginnt

Karl Berry weist auf der TeX-Live-Mailingliste darauf hin, dass der Pretest für TeX Live 2024 anläuft. Die wichtigste Änderung betreffe LuaTeX, das von nun an (ohne –shell-escape) auf der Lua-Ebene so eingeschränkt worden sei, dass es nur noch in das… Continue Reading →

The trouble with AUCTeX 14

AUCTeX 14 ist veröffentlicht worden. Leider gibt es ein Problem beim Upgrade. Das Setup läuft nicht sauber durch, wenn schon eine frühere Version von AUCTeX installiert und aktiv ist. Emacs friert ein und läuft mit einer Prozessorlast von 100 Prozent. In… Continue Reading →

babel-german kann nun auch gendern

Die LaTeX-Unterstützung für deutschsprachige Texte babel-german kann nun auch gendern. In der heute auf CTAN veröffentlichten Version 2.14 wurden Shorthands für den Genderstern “*, den Doppelpunkt “: und den Unterstrich “_ neu eingeführt, die die Trennstellen eines Worts unberührt lassen. Eingedenk… Continue Reading →

ADSR Hüllkurve mit TikZ

Hier die Darstellung einer ADSR Hüllkurve (Quelle: Wikipedia) mit TikZ: \begin{tikzpicture} %\draw[step=0.5cm,lightgray,thin] (0,0) grid (10,7); \draw[very thick, black,->](1,1) — (9.5,1); \draw[very thick, black,->](1,1) — (1,6.5); \draw[very thick, green,](3,1) — (3,6); \draw[very thick, orange,](5,1) — (5,6); \draw[very thick, black](7,1) — (7,6);… Continue Reading →

Emacs 29.2

GNU Emacs 29.2 ist heute veröffentlicht worden. ./configure – make – make install lief unter macOS Ventura problemlos durch. GNU Emacs 29.2 (build 1, aarch64-apple-darwin22.6.0, NS appkit-2299.70 Version 13.6.3 (Build 22G436)) of 2024-01-18 Der Programmstart ist ein bisschen umständlich, weil man… Continue Reading →

Das thematicpuzzle Paket

Es gibt ein neues Paket auf CTAN, thematicpuzzle. Damit gehen dann TikZ-basiert Dinge wie die folgenden (der Anleitung entnommen): Uwe Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content and would like to thank me… Continue Reading →

Video meines Vortrags zu „LaTeX-Formulare erstellen mit eforms“

Unter https://www.youtube.com/watch?v=WMCj_EPDms8 ist jetzt das geschnittene Video meines Vortrags zur „Formularerstellung mit eforms“ online. Uwe Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content and would like to thank me for it? Consider making a… Continue Reading →

Python und LaTeX in einem Lauf kombinieren mit pylualatex

Mi dem pylualatex Paket gibt es eine neue Möglichkeit, Python und LaTeX miteinander zu „verheiraten“. Das Besondere an diesem Paket ist, dass es keine zwei Durchläufe benötigt, sondern nur einen einzigen. %!TEX TS-program = Arara % arara: lualatex: {shell: yes}… Continue Reading →

TexLive Mirror setzen

So setzt man den TeX Live mirror auf einen der zentralen Server: tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet Uwe Uwe Ziegenhagen likes LaTeX and Python, sometimes even combined. Do you like my content and would like to thank me for it? Consider… Continue Reading →

LaTeX Thesis Template 3.3.0 released – based on LuaLaTeX

A major update of the LaTeX Thesis Template has been released.This release is based on LuaLaTeX instead of pdflatex. Note: There is a file embedded within this post, please visit this post to download the file. The documentation can be… Continue Reading →

TUGboat 44:3 published

TUGboat volume 44, number 3, has been mailed to TUG members. It is also available online and from the TUG store. In addition, prior TUGboat issue 44:2 is now publicly available. Submissions for the next regular issue are also welcome… Continue Reading →

Talks from the TUG Conference 2023 in Bonn

The TUG conference 2023 in Bonn was a hybrid conference, i.e., all talks were recorded and also streamed. The recordings have been cut and cleaned up by a few relentless volunteers and are now available on YouTube. All in all,… Continue Reading →

Probleme mit TeX Live Utility

Derzeit gibt es ein Problem mit der TeX Live Utility (TLU), die mit der TeX-Distribution MacTeX ausgeliefert wird. Standardmäßig werden Updates unter MacTeX über die TeX Live Utility eingespielt. Nun steht ein Upgrade des TeX-Live-Paketmanagers tlmgr an, das zwar von… Continue Reading →

« Older posts Newer posts »

© 2025 TeX.social