Skip to main content
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 ...
Jasper Habicht's user avatar
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 ...
Qrrbrbirlbel's user avatar
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 ...
cfr's user avatar
  • 212k
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} \...
Rmano's user avatar
  • 42.6k
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} ...
MPa's user avatar
  • 121
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 ...
hpekristiansen's user avatar
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} ...
Thruston's user avatar
  • 43.3k
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 ...
John Kormylo's user avatar
  • 82.3k
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 ...
Jasper Habicht's user avatar
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}...
Zarko's user avatar
  • 302k
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: \...
Thruston's user avatar
  • 43.3k
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{...
egreg's user avatar
  • 1.2m
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: \...
MS-SPO's user avatar
  • 15k
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 ...
Qrrbrbirlbel's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible