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}
user avatar
  • 16.2k
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) -- ++ (...
user avatar
  • 250k
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, ...
user avatar
  • 19.7k
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 ...
user avatar
  • 250k
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 ...
user avatar
  • 19.7k
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 \]...
user avatar
  • 19.3k
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} \...
user avatar
  • 19.7k
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. \...
user avatar
  • 19.7k
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, ...
user avatar
  • 250k
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 ...
user avatar
  • 19.7k
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 ...
user avatar
  • 1,258
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, ...
user avatar
  • 250k
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{...
user avatar
  • 16.2k
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 ...
user avatar
  • 19.7k
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);
user avatar
  • 19.7k
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);...
user avatar
  • 19.7k
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} \...
user avatar
  • 1,210
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>` ...
user avatar
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, ...
user avatar
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[->, ...
user avatar
  • 19.7k
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). \...
user avatar
  • 270
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/...
user avatar
  • 250k
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 ...
user avatar
  • 24.4k
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} % <==...
user avatar
  • 2,377
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 -- ...
user avatar
  • 250k
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 ...
user avatar
  • 16.2k
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:
user avatar
  • 28.7k
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) ...
user avatar
  • 19.7k
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}
user avatar
  • 10.9k
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)...
user avatar

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