Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
31–40 of 88 posts
Re: Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
#32I was quite proud of the hours of work I had put in to configure it just so, with the 3d look and all.
Re: Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
#33That's cool. I guess it doesn't support TikZ' relative positioning (left of etc) because WYSIWYG features like drag-and-drop require absolute positioning?
\begin{tikzpicture}
\node[draw] (A) at (0,0) {A};
\node[draw, right of=A] (B) {B};
\end{tikzpicture}Re: Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
#34Is their anyone here old enough to remember Xfig ? I was quite proud of the hours of work I had put in to configure it just so, with the 3d look and all.
Re: Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
#35Is their anyone here old enough to remember Xfig ? I was quite proud of the hours of work I had put in to configure it just so, with the 3d look and all.
I do. I used it in the late noughts for my cryptology BSc because I was too lazy/busy to learn TikZ proper
What I loved about Xfig was that one could use latex and latex fonts in the diagrams.
Re: Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
#36That's cool. I guess it doesn't support TikZ' relative positioning (left of etc) because WYSIWYG features like drag-and-drop require absolute positioning?
It does support editing it if relative positioning is used in the code, i.e. if you drag the object it will continue being relatively positioned. But if you add new elements with the various tools, they will be absolutely positioned (not sure what would be a good UI for switching an element to relative positioning) unless you edit the source. You can try with \begin{tikzpicture} \node[draw] (A) at (0,0) {A}; \node[dr…
1. Right-click on an existing object, offer drop-down context menu.
2. Menu item `Position relative to...`.
3. The cursor now selects _other_ objects in the field.
a. If there is no other object, then offer to create a new label-less node with (x,y); default to the origin.
b. Once an object is selected, then offer `right of`, `left of`, `north of`, `south of`, `southeast of`, etc as a drop-down menu, and a field for radial displacement.
i. As a stretch goal, offer a `Custom position...` button to specify an (x, y) displacement, or a polar angle and radial displacement. These three options (fixed offsets, Cartesian, polar) could also be tabs in the resultant menu from (b) above.
You could use this same UI/UX for `anchor`, too.Re: Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX
#37Neat! I also enjoyed https://q.uiver.app/ by https://github.com/varkor which is a bit more specialized.