6
votes
Arrow with reversed head
What is wrong with -<?
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[-<] (0,0) -- (1,0);
\end{tikzpicture}
\end{document}
6
votes
Accepted
Draw this scheme on TikZ
Welcome to TeX.:SE!
Reproduction of your image:
is done by:
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[very thick](-6,0) -- (-3.84,0) -- ++ (...
5
votes
Accepted
Drawing subgroup lattice of G in Tikz
You're pretty close. Use the positioning library. Then the correct syntax is below=of G, not below of=G. The node distance is measured along the diagonals, which is preventing the rows from lining up, ...
4
votes
Accepted
coding the arrows in flowchart
based on my answer on your previous question
I would not use white text, fill color of nodes is not sufficient dark that it can be easy to read
code lines for arrows, which are your problem, are in ...
4
votes
Accepted
Interface for diagrams and example
It's true—TikZ can be intimidating at first. The 1000+ page manual is downright terrifying. But it's worth it! Start with some of the tutorials at the beginning of the manual. You'll be drawing ...
4
votes
Accepted
Arrow with reversed head
You could start with something like this:
\documentclass{article}
\usepackage{tikz}
\newcommand{\ot}{\tikz[baseline=-.5ex] \draw[-to reversed] (0,0) -- (1em,0);}
\begin{document}
\[ a \ot b \]...
4
votes
Accepted
Center-align stacked molecules with chemfig
The issue is a space that you don't want after \chemfig{ M(-[0]M{\sim}) (-[4]{\sim}M) }. Add a % to remove the whitespace at the end of the line.
\subscheme{
\chemfig{H_2C=[@{bond}]CH_2}
\...
3
votes
Arrow with reversed head
TikZ has -< as a built in arrow head. To get the same size and shape arrowhead of LaTeX \to requires the arrows.meta library. To get the same length as the \to arrow requires some tweaking.
\...
3
votes
Interface for diagrams and example
A small variation of the nice @Sandy G answer (+1) which gives wee bit shorter code. For exercise :-)
\documentclass[border=3.14159]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
...
3
votes
Accepted
Drawing not simply connected domain
You are overcomplicating this. Draw all three closed curves with one \draw command using even odd rule to fill the area between the curves. Decorate with arrows and labels using \node in the ...
3
votes
Accepted
Concise code to get four identical diagrams equally spaced in four quadrants
I add bounding box for each entry in order to see effect. You could comment those lines to make the entry without bounding box. Here are two versions of the code:
Diagrams in first row aligned at ...
3
votes
Adjusting the starting coordinates of an arrow precisely inside a TikZ node
With use of the chains library and define arrows start position by perpendicular coordinate systems:
\documentclass[border=3.141592,tikz]{standalone}
\usetikzlibrary{arrows.meta,
...
3
votes
Accepted
Draw a diagram with different shapes with TikZ
Something to start with.
\documentclass[tikz, border=3.14mm]{standalone}
\usepackage{amsmath}
\usetikzlibrary{positioning, automata, arrows.meta, shapes.geometric}
\begin{document}
\begin{...
3
votes
Accepted
how to change the angle between the edges of the automaton/graph
You can add a yshift to the appropriate nodes:
\node (d) [above right=of c, yshift=-.375cm] {};
...
\node (h) [below right=of c, yshift=.375cm] {};
Here is an alternative using forest, which ...
3
votes
Accepted
Extend arrows in tikz picture
Add an additional point to connect those three lines. I added it at (-1.5,0):
\foreach \l [count=\i] in {1,2,n}
\draw [<-] (input-\i) -- ++(-1,0)node [above, midway] {$I_\l$} -- (-1.5,0);
3
votes
Tikz: Arrow tip overlaps with node
Place the node at the desired coordinates with shape and label information, and give it a name (I used Y). Then draw the line to the node, not to the coordinates, using \draw [->] (5.9,0.74) -- (Y);...
3
votes
Center-align stacked molecules with chemfig
It is not necessary to use \subscheme or \chemmove, shorter code is possible.
It is possible to insert the arrow inside the molecule without the \arrow command
\documentclass[12pt]{article}
\...
2
votes
Accepted
tkz-euclide documentation example on arrows gives error
If you have an old version you can add some styles in your file
\makeatletter
%<---------------- arrow --------------------------------------–>
% Syntax:
%
% - tkz arrow=<arrow end tip>`
...
2
votes
Draw a diagram with different shapes with TikZ
Based on @SebGlav answer (all credits to him), I added the blue fill in case it was needed as well :
\documentclass[tikz, border=3.14mm]{standalone}
\usepackage{amsmath}
\usetikzlibrary{positioning, ...
2
votes
How to position the edges of the automaton\graph
I would just \draw them separately:
...
(p) edge node [itslabel] {\(1\)} (q)
(q) edge node [itslabel] {\(\varepsilon\)} (r)
(r) edge [shorten >=1em] node [itslabel] {\(0\)} (s);
\draw[->, ...
2
votes
how to change the angle between the edges of the automaton/graph
You can just use normal Tikz drawing commands to draw the lines in different places.
Here's an MWE (note the inclusion of preamble materials to make it easier for others to run this code).
\...
2
votes
Accepted
Shading parabola and changing the arrow head
All images has the same coordinate system and their scope, which are shifted from each other. By this the images code are simplified.
Edit (1):
ups, I forgot on Feynman diagrams. Now are added/...
2
votes
Accepted
Problem raising a tikz picture in wrapfigure enviroment
Use \setlength\intextsep{0pt} to eliminate extra top and below space of the wrapped figure.
\intextsep is the vertical space placed above and below all floats not just a wrap figure. To affect only ...
2
votes
A path below the nodes
Thanks to @SebGlav, here is the solution:
\documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl}
\usepackage{amsmath}
\usepackage{amsthm,tikz,twemojis}
\usetikzlibrary {backgrounds} % <==...
2
votes
Accepted
Why does my text along the line intersect nodes?
Huh, your MWE is very (to my opinion unnecessary) complex (consequently in it can be easily lost)
My suggestion is mostly off-topic -- possible solution is already mentioned in @SebGlav comment -- ...
2
votes
Accepted
question about drawing a Markov chain using Tikz
This is because you drew the circles which are not nodes, so TikZ doesn't know it has to start the arrows on their borders. You'd better give your nodes a minimum size and a shape (circle, here) and ...
2
votes
Accepted
How to draw a path near the nodes?
Using
\draw[blue,dotted,->, shorten >=3pt] plot[smooth,tension=0.5, left] coordinates {(s) (a1) (e)};
you have:
2
votes
Accepted
Draw arrays tree with tikz
Here is a solution using forest:
The basic idea is that the diagram is a tree that grows north (grow'=north) and has arrows pointing backwards (latex-). Each node (other than the leaves at the top) ...
1
vote
Arrow with reversed head
This also will helps:
\documentclass{article}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(2,2)
\psline[ArrowInside=-]{-<}(2;2)
\end{pspicture}
\end{document}
1
vote
Accepted
Arrow is not showing correcting in Tikz Flowchart
Something like this should work:
\draw [arrow] (dec1.east) to node[anchor=north] {no} ++(0:2) |- (pro2.east);
The 0 in (0:2) refers to the angle, and the 2 refers to the distance in that angle (in cm)...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tikz-arrows × 1705tikz-pgf × 1093
tikz-styles × 253
arrows × 234
tikz-cd × 133
diagrams × 114
tikz-trees × 68
nodes × 52
flow-charts × 42
graphics × 37
commutative-diagrams × 37
beamer × 35
tikz-node × 34
tables × 31
graphs × 30
pgfplots × 25
labels × 25
circuitikz × 22
equations × 20
automata × 20
tikz-graphdrawing × 19
positioning × 18
decorations × 18
technical-drawing × 18
arrow-curve × 15