5
votes
Accepted
best way to double-bend arrows smoothly
This is maybe not a full answer, but note that you can make use of the options out and in that specify where the arrow exits and enters the nodes and that each take a value in degrees where zero ...
5
votes
modify tikz arrow tips for a chain of arrows
Arrow tips only appear at the last segment of a path, each only once. That's just how arrow tips work with PGF.
I would recommend you use proper nodes/coordinates and separate edges if this is ...
4
votes
How to center the out arrow of a box?
If you use forest, most of the work is done automatically with the forked edges style from the edges library and the remainder is more efficiently and flexibly applied.
I added \strut to the contents ...
4
votes
Accepted
Plotting fuctions with domain markers at endpoints
Instead of defining an arrow, define a tip; to change the myopen arrow, you can use a Straight Barb:
\documentclass[margin=20pt]{standalone}
\usepackage{sansmathfonts}
\usepackage{pgfplots}
\...
4
votes
How to create rounded arrows to highlight inflection points in a TikZ graph?
A bit of googling led me to this page which brought me to this idea:
\documentclass[10pt,letterpaper]{article}
\usepackage{tikz}
\begin{document}
\begin{figure}[ht!]
\centering
\begin{tikzpicture}
...
4
votes
Accepted
Is it possible to draw arrows and nodes with the same command?
You need to name the nodes with the (...) syntax or name=... option to be able to draw from the border. So splitting it up in sections is the probably the best way. If you want you could combine it in ...
3
votes
How to draw a smooth curve with arrows on both of its ends with tikz?
Purely for comparison, here is a version in Metapost, the drawing language built into lualatex.
\documentclass[border=5mm]{standalone}
\usepackage{luamplib}
\begin{document}
\mplibtextextlabel{enable}
...
3
votes
How to create rounded arrows to highlight inflection points in a TikZ graph?
This computes the slope/angle of the line to locate the text and arc starting point. I rotated the text mostly to verify the angle.
Interstingly, I could not get \settowidth to work inside the ...
2
votes
Accepted
Why does `yshift` crash the compilation when I switch the intersection order
Such a syntax is not supported. But it does not really make sense to me anyways: You try to get (mixer-y.east |- [yshift=5pt]viterbi.west) working, but which coordinate would that be? It would be the ...
2
votes
Accepted
Midway arrow between each vertex
Something like this:
With use of the decorations.markings:
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
decorations.markings}
\begin{document}...
2
votes
Accepted
diagonal argument in latex
For comparison, here is an effort in Metapost, with an entertaining use of loops.
Replacing the extremities with dots is left as an exercise...
You need to compile this source with lualatex:
\...
2
votes
diagonal argument in latex
With just a bit of visual formatting:
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\[
\settowidth{\dimen0}{$(0.0)$}
\newcommand{\fcdot}{\makebox[\dimen0]{$\mathstrut\cdot$}}
\begin{...
1
vote
Error when drawing geometric rays in Tikz
Don't see any problem with your code snippet ... Usually you have to boil it down into an artificial short version, which
compiles (!)
still shows your problem
When embedded correctly:
\...
1
vote
Is it possible to draw arrows and nodes with the same command?
The graphs library's syntax comes close.
Code
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows.meta, graphs}
\tikzset{
hv/.style={to path={-|(\tikztotarget)\tikztonodes}},
vh/.style={to ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tikz-arrows × 2095tikz-pgf × 1345
tikz-styles × 332
arrows × 261
diagrams × 162
tikz-cd × 160
tikz-trees × 84
nodes × 62
flow-charts × 60
tikz-node × 47
beamer × 46
commutative-diagrams × 42
graphics × 41
pgfplots × 38
graphs × 37
tables × 35
labels × 29
circuitikz × 28
equations × 27
automata × 22
decorations × 21
positioning × 20
tikz-graphdrawing × 20
arrow-curve × 20
chemfig × 19