Skip to content
https://abc.microfintool.com/

Mobile & Accessories

Smartphone Reviews, Specs, Comparisons & Electronics Guides

  • Welcome to ABC Tool: Your Ultimate Portal for Smartphones and Accessories
  • PRIVACY POLICY
  • Blog
  • Contact
Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

Posted on June 23, 2026October 9, 2026 By Muhammad Safdar No Comments on Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
Blog
[ad_1]

Hi all! TikZ is a widely-used LaTeX package for drawing figures in papers. It uses commands like draw[->] (0,0) — (1,2); to draw lines, shapes, text, etc. Academics usually code up their figures by hand, so there is lots of twiddling around with the coordinates and recompiling until things look nice. I guess it’s a bit like SVG, but it’s more code than markup, for example it has loops with foreach.

I built an open-source WYSIWYG TikZ editor (available for web and desktop) that allows you to edit your TikZ source code visually by dragging and resizing elements. It simultaneously shows the source code and the rendered figure, and lets you edit either one while the two views stay in sync. I’m not aware of any other editors that are simultaneously source editors and WYSIWYG (even for editing SVG or HTML), and I’m quite pleased with how well the combination works.

The way the app is implemented is by parsing the TikZ code, and at all times keeping track of the exact source location of each object. Thereby, when a user drags an element to a new position, the app can override just the numbers in the coordinate without changing anything else in the code (such as line breaks or indentation).

This approach essentially required reimplementing a large fraction of TikZ, which is the kind of task that no human would ever want to do. I think building software that doesn’t exist yet because it would be impossibly tedious to code up is one of the great new possibilities thanks to coding agents, and it’s worth brainstorming for other examples. (This app was built almost entirely by Codex.)

Implementing the app came with lots of fun side quests, including building converters from SVG / pptx / ipe to TikZ, re-implementing the LaTeX hyphenation and line-breaking algorithm to support multi-line nodes, and making a color picker that uses the red!20!black color mixing notation used in LaTeX papers.


Comments URL: https://news.ycombinator.com/item?id=48645437

Points: 36

# Comments: 6


[ad_2]
Source link

More on show hn tikz editor

Stay tuned for updates on show hn tikz editor as the story develops. Related: Mobile & Accessories.

Frequently Asked Questions

What is the TikZ Editor?

An open-source WYSIWYG editor for TikZ figures in LaTeX, available for web and desktop. It lets you edit TikZ source code visually by dragging and resizing elements, with the source code and rendered figure views staying in sync.

How does the TikZ Editor preserve formatting?

It parses the TikZ code while tracking each object's exact source location. When you drag an element, it overrides just the coordinate numbers without changing anything else, such as line breaks or indentation.

What extra features did the developer build?

Converters from SVG, pptx, and ipe to TikZ, a reimplementation of the LaTeX hyphenation and line-breaking algorithm for multi-line nodes, and a color picker using LaTeX's red!20!black color mixing notation.

Was the TikZ Editor AI-built?

Yes. The app was built almost entirely by Codex, which the author cites as an example of building software too tedious for humans to code, newly possible thanks to coding agents.

Views: 48

Post navigation

❮ Previous Post: ROG Xbox Ally X Review – CNET
Next Post: Everyone pays the price as patent holders on seeds stifle innovation ❯

You may also like

So close to foldable greatness
Blog
So close to foldable greatness
June 17, 2026
New carrier claims to block all porn — even for adults
Blog
New carrier claims to block all porn — even for adults
May 11, 2026
Design and specs of vivo’s first wireless over-ear headphones revealed
Blog
Design and specs of vivo’s first wireless over-ear headphones revealed
May 29, 2026
The 11 standout startups from YC’s Demo Day, according to VCs
Blog
The 11 standout startups from YC’s Demo Day, according to VCs
June 20, 2026

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • OnePlus 16 Launch Date, Price, Specs: Everything Confirmed for 2026
  • Best 5G Phones 2026 for USA, UK & Europe (Every Budget)
  • Best Foldable Phones 2026: Z Fold 8 vs Pixel 11 Pro Fold vs Razr
  • Google Pixel 10 Review (2026): Still Worth $799?
  • iPhone 16 vs iPhone 17: Should You Upgrade in 2026? (Honest Answer)

Recent Comments

  1. I Hiked Using Robot Legs in the Grand Canyon. I Didn’t Even Need My Cane - Mobile & Accessories on Can Using the Hypershell Exoskeleton on a Bike Replace an E-Bike? I Tested It to Find Out
  2. The media starts receiving the first Trump Mobile T1 Phone units, launch is imminent - Mobile & Accessories on The Competitive Moat That AI Can’t Replicate
  3. Samsung’s giant The Frame Pro TV is $1,500 off until midnight - Mobile & Accessories on All Your Wearables Have One Glaring Weakness. What Can You Do About It?
  4. iPhone 18: Everything We Know About Apple's Most Ambitious Lineup Yet - Mobile & Accessories on This magnetic Qi 2.2 power bank is perfect for the iPhone 17 and it’s on sale right now
  5. Do Camera Sensor Sizes Matter? - Mobile & Accessories on Xiaomi 18 Pro set for a screen upgrade that Samsung fans will be very familiar with

Archives

  • October 2026
  • June 2026
  • May 2026
  • April 2026

Categories

  • Blog
  • Mobiles

Copyright © 2026 Mobile & Accessories.

Theme: Oceanly News by ScriptsTown