Skip to main content

New answers tagged

2 votes

Tikz: How to vertically align text across multiple nodes?

The tcolorbox package does this natively. Here I'm using the fitting library, which gives tcolorboxes fixed dimensions. To space them, I've placed jumps \hspace{1cm}. \documentclass{article} \...
AndréC's user avatar
  • 26k
1 vote

Syntax/Railroad diagrams in LaTeX

Here are two dedicated packages to syntax diagrams. syntaxdi Based on tikz so has all the flexibility that package can offer. \documentclass{article} \usepackage{syntaxdi} \begin{document} \begin{...
mbert's user avatar
  • 4,541
0 votes

Syntax/Railroad diagrams in LaTeX

This is a solution for adding railroad diagrams in Overleaf. I have tested it. Edit the EBNF code on Railroad Diagram Generator Download the View diagram result, choosing HTML and SVG, but not ...
4 votes

Customizable Vertical Rule / Divider Like `\vrule` With Automatic Height

Answer to revised question To do this in arbitrary contexts, you need to have a self-sufficient way of measuring the height and depth of the content on each side of the rule. The most straightforward ...
cfr's user avatar
  • 208k
1 vote

semiconductor supply chain flowchart

See comments in the code for a few remarks. Code \documentclass[tikz]{standalone} \usepackage{tikz} \usetikzlibrary{ arrows.meta, % for arrow tips calc, % for $ syntax (...
Qrrbrbirlbel's user avatar
0 votes

Is There an Online Diagram Graphical Editor that Produces the Corresponding LaTeX Code?

\documentclass{article} $\usepackage{tikz}$ \usetikzlibrary{er,positioning} $\begin{document} \begin{tikzpicture}[node distance=3cm, every edge/.style={link}] % Entities \node[entity] (student) {...
7 votes

Drawing waves using tikz in latex

You could use a path decoration to draw the wave effect. This way you can easily change the amplitude: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.pathmorphing} \begin{...'s user avatar
2 votes

Understanding Spiral Function (potentially 3D) for tikz

tikz's local document name is "pgfmanual.pdf". You can also view the online document at \usepackage{tikz} \usepackage{tikz-3dplot} ...
houzw's user avatar
  • 188
1 vote

Packages for string diagrams

Since 2023 there is a strings-diagram package on CTAN. I have not personally tried it yet, but plan to.
brittAnderson's user avatar
0 votes

tikz-uml sequence diagram "Extra \or" error

The accepted answer seems to be outdated. This patch worked for my team: --- a/tikz-uml.sty +++ b/tikz-uml.sty @@ -16,6 +16,7 @@ \RequirePackage{xstring}% \RequirePackage{calc}% \RequirePackage{...
TecCheck's user avatar
1 vote

3D graph - issues filling space between curves and xy-plane

In the end, I found a proper solution, which is not ideal because it requires two more lines of code per curve, but good enough, here is the final MWE : \documentclass[french]{article} % \...
Marck's user avatar
  • 167
1 vote

3D graph - issues filling space between curves and xy-plane

If this is what you are looking for, you need only to use fill=red, in the corresponding drawing instruction \addplot3. To fill the whole area between the curve and the Oy axis in the Oyz plane, it ...
Daniel N's user avatar
  • 6,142

Top 50 recent answers are included