{arrows} is about drawing arrows, usually in {math-mode} or inside {diagrams}.

learn more… | top users | synonyms (1)

0
votes
0answers
131 views

Make a 2cell diagram more beautiful (or less ugly)

I want to draw a two-cell diagram using xypic, the problem is that the bigone label is to long, how can I make the following diagram: looks like this one: using exclusively the two-cell feature ...
4
votes
1answer
2k views

TikZ: remove margin, padding, border around nodes containing images

I want to create a simple figure where images are connected with arrows. Here is what I did: \begin{tikzpicture} \node[](A) {\includegraphics[width=0.2\textwidth]{a}}; \node[right=1mm of A](B) ...
1
vote
0answers
65 views

Is there an extensive library of arrow tips with a standardized naming convention?

I am drafting diagrams where I need a lot of different arrow tips to indicate different types of directionality. Currently I am using a mixed set of libraries, which I mainly found through detexify. ...
3
votes
1answer
365 views

Inserting floating text near decision tree arrows

How do I insert Yes and No beside the solid arrows? I tried putting node [near end, right] {Yes} after each node and child declaration but this just messes up the flow of the decision tree. Code ...
7
votes
1answer
1k views

TikZ: configuring arrow tip appearance not working according to documentation

I'm trying to follow the details outlined in the manual for configuring the appearance of arrow tips. But, I get nothing but errors. I'm trying to get the examples from section 16.3 on Arrow keys to ...
3
votes
0answers
52 views

Nodes linked by a horizontal arrow in enumerate environment [duplicate]

Alright, here's what I need. I need links between nodes a la tkz-linknodes, but, unlike that package, I need linking arrows that appear beneath the sentence as opposed to linking arrows that appear in ...
5
votes
1answer
169 views

Drawing transitive diagram in Tikz

I am very new to Tikz. How to draw rounded arrows and nodes without rectangular boundary. I want to draw something like this:
6
votes
1answer
248 views

\Mapsto in tikz-cd

I'm loving using tikz-cd to draw compiler correctness diagrams, but I can't manage to get quite the same arrows for relations that I'm using in the text. In particular, I'm not sure how to get \Mapsto ...
3
votes
1answer
97 views

Arrow end points problem

I keep getting these circles in my graph and I cannot figure out why. This is the code, is there something wrong with it? Every arrow has a circle at its start and end points and there are also 3 more ...
1
vote
1answer
165 views

Arrow tikz cd don't appear

Tikzcd arrows don't appear in my pdf document. Why? \documentclass[12pt,a4paper]{book} \usepackage[latin1]{inputenc} \usepackage[brazilian]{babel} \usepackage[T1]{fontenc} ...
2
votes
1answer
158 views

How can one insert an arrow on the z-axis of a ternary diagram to indicate increasing order of the element on this axis?

I need help on how I can insert X_{Bi} and a rightarrow on the z-axis of each of the subfigures in my ternary diagram. X_{Bi} implies X subscript Bi while rightarrow is as in LaTeX to indicate that Bi ...
4
votes
1answer
472 views

How to write 2 parallel arrows in the xymatrix environment?

I want to draw 2 parallel arrows in the xy matrix environment. Basically instead of the standard arrow (\ar[r]), I want to have something like ...
16
votes
2answers
671 views

Making the size of the arrow head proportional to the magnitude of a vector field in TikZ

Consider a scaled vector field v = (-x, 2x+y-1) living on the triangle at (0,1), (1,0), and (0,0): \documentclass{minimal} \usepackage{tikz} \begin{document} \begin{tikzpicture} \coordinate (A) at ...
7
votes
1answer
988 views

How to draw slanting arrows between columns of a table?

I'd like to draw some simple slanting arrows between cells in a table. The two cells can be in almost any position in the table. For example given this table: How can I modify it to obtain: ...
2
votes
1answer
101 views

Simple horizontal path

I am trying to create just a simple horizontal arrow (line 1) from Advertiser to Scanner above line 2 in a certain distance. Since too much time I am trying to find out the right grammatics but ...
3
votes
2answers
233 views

Forked arrows with chemfig

How can one make a forked arrow in chemfig? Semantically it is exactly opposite to \merge command but seems like it's not implemented in a package. I don't have any experience with TikZ graphics but ...
4
votes
1answer
552 views

How do I add only arrowheads to an EPS gnuplot figure?

As part of a diagram I want to add arrowheads indicating direction, but don't want the lines that normally come with them. Creating a very short line with an arrowhead is acceptable and works in ...
7
votes
1answer
364 views

A Basic TikZ Drawing

I've not yet had enough experience drawing in TikZ to be able to do it quickly. I also find the manual a bit daunting -- though if I had time, I'm sure it does a fabulous job explaining everything I ...
11
votes
2answers
765 views

Proper way to draw a tikz flowchart with arrows pointing back and forth between two nodes

I apologize if this is a duplicate, but I'm having a hard time finding an elegant solution. I have something that "works," but feels wonky. I'm making a presentation in beamer and I want to have ...
1
vote
1answer
828 views

Change arrowhead in line style definition

I'm trying to define a size for the arrowhead of a style, like this: \begin{tikzpicture} [line/.style={draw, ->, >=stealth, arrowhead=1cm}] % define nodes ... % define links ...
5
votes
2answers
441 views

Tikz-cd: How can I arrange diagonal arrows parallel?

The two lower diagonal arrows in the following diagram are obviously not exactly parallel. How can I arrange them correctly? \documentclass{article} \usepackage{tikz-cd} \usepackage{amsmath} ...
3
votes
0answers
57 views

Tikz: Arrow description closer to arrow [duplicate]

I want $Q(g)$ closer to the diagonal arrow in this tikz-picture. How can I manage that? Thanks. \begin{tikzpicture}[description/.style={fill=white,inner sep=2pt},baseline={([yshift=1.5em]current ...
6
votes
2answers
234 views

Straight math arrows

Is there any way to redefine all arrows in math mode (\rightarrow, \leftarrow, \Rightarrow, \Leftarrow, \to, etc.) to another arrows that finish with angle 90 TikZ option? I have done some tries and ...
5
votes
2answers
409 views

Big arrow across the table (overlay)

As shown in picture, is there a way to achieve this? \documentclass[12pt,a4paper]{article} \usepackage{rotating} % sidewaytables \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} ...
10
votes
1answer
682 views

How can I tikz the equivalence (i.e. $\Leftrightarrow$) as arrow?

I found in the manual that implies is the right kind of arrow tip, so I tried \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[>=latex] ...
1
vote
1answer
131 views

Label the source/target object in the middle of compositemaps from 2cell package of xy?

In the 2cell package for xy, there is a command for typesetting 2cells between composite arrows, namely \..compositearrow (where the .. stands for some number of u,l,d,r). I would like to use this ...
2
votes
1answer
131 views

Change the orientation of Arrow of xtwocell in the 2cell option for xy

I'm trying to make a diagram similar to this (from wikipedia) Except that I want to the double arrow $\eta$ two be pointing from node $B$ toward the middle of arrow $X$ (it is, after all, a natural ...
6
votes
3answers
337 views

Countability of the rationals: a pictorial diagram

I am trying to reproduce the diagram below: I'm wondering what I should use to generate this. I can make the matrix, that's simple, but getting the arrows right is what's difficult... It would be ...
4
votes
2answers
451 views

limits to \oplus not working and double ended arrow equation

I am having an equation which having \oplus with limits, but \limits for \oplus gives error and there is another critical equation with double ended arrow. can anyone please help me to key this ...
3
votes
1answer
202 views

Representing Equivalence Relations with Nodes, Loops, and Edges

I've never used TikZ for illustrating equivalence relations, but I thought I'd try it out. What I'd like to produce is something like this: What is the general method for connecting points to ...
3
votes
1answer
243 views

Arrow alongside table

Long time listener, first time caller. I've got a table \begin{center} \begin{tabular}{cc} And two columns of pictures displaying results with a particular parameter increasing. I am trying to ...
5
votes
2answers
972 views

Extended \Mapsto with text above

\documentclass{standalone} \usepackage{centernot} \usepackage{mathtools} \usepackage{ stmaryrd } \begin{document} $\xmapsto{sdfkjhsdf}$ % This is similar to what I want $\Mapsto$ % however ...
5
votes
2answers
375 views

Flow of current in a circuit

I am trying to create a circuit with resistors and voltage sources. I need to have each resistor labeled with their resistance (above) and the unknown current (below) flowing through the resistor. I ...
4
votes
0answers
404 views

Changing Size of Arrows, Labels, Loops in Diagrams and Directed Graphs [closed]

Consider this MWE: \documentclass[12pt]{article} \usepackage{tkz-graph, tikz-cd} \usetikzlibrary{calc} \usetikzlibrary{decorations.markings} \begin{document} Blah ... blah. ...
4
votes
2answers
431 views

Creating a digraph with formulas instead of nodes

I am looking to make a diagram with lines similar to this one: Labeling Edges in a Weighted Digraph But I am trying to have a mathematical formula, which is the label, instead of being above the dot ...
4
votes
1answer
265 views

TikZ - Smooth curve surrounding points without specifying control points

This is what I have right now: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,automata} \definecolor{light-gray}{gray}{0.6} \begin{document} \begin{tikzpicture}[line ...
2
votes
1answer
634 views

Adjusting arrow style on pgfplots axes

Using axis line=middle in pgfplots creates arrow tips on the end of the axes. How can I adjust the size, style, etc? I suppose one way would be to make axes without arrows (using axis line*=middle) ...
5
votes
1answer
180 views

Accessing the middle of a path

In the following example, I'd like to move the dotted vertical lines to the (horizontal) center of the arrows connecting the lower elements. For example, the right dotted line should be centered with ...
10
votes
3answers
288 views

Vertical cofibration arrow in xypic

I want to use xypic to make diagrams using vertical cofibration arrows, i.e. ones that look like $\rightarrowtail$. Naively using \ar@{>->} gives an arrow whose tail overlaps with the ...
8
votes
2answers
200 views

Underarrow with smaller depth, shorter minimum length, and smaller arrow head?

I am using underarrows from amsmath to decorate messages with their direction, as in $\underleftarrow{\mathsf{msg}}$ () and $\underrightarrow{\mathsf{msg}}$ (). I am looking for a better underarrow, ...
6
votes
1answer
313 views

Arrows crossing blocks TikZ

I did several research and many tests and I didn't figure out how to draw the line from (U) and goes to the bottom of S and Q. This is the code of what I did right now and I want your help to add the ...
5
votes
1answer
143 views

How to put a label at the beginning of an arrow?

I came with the following code to display the graph below: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ actor/.style={ rectangle, draw=black, ...
3
votes
1answer
311 views

Arrow Definition in PGF/TikZ

I'm trying to define an arrow for use in tikzpictures that (similar to the small arrows IPE uses) is 5pt long (tip to end) and 3.333pt wide (base). Here's what I came up with: \documentclass{article} ...
3
votes
3answers
2k views

How I can code long down arrow in equations

I want to design an equation which includes a long down arrow and long up arrow. I'm having just down arrow which is short. I need some help.
9
votes
3answers
308 views

Drawing “bus width”-like markers with number on arrows

I'm trying to draw arrows with / marks and numbers like in the following picture: My current solution looks like this: \begin{tikzpicture} [ inverter/.style={rectangle,draw,inner ...
3
votes
0answers
33 views

Drawing arrows from one side of a rectangle to other nodes without suitable anchors [duplicate]

I'd like to draw dashed lines from the right (east) border of one rectangle to the west anchor of two other rectangles, but the line should be horizontal. Is there an elegant way to decide where the ...
6
votes
2answers
561 views

Double head and hook arrows of length x

I am creating several commutative diagrams with diagonal arrows, and I'm so close to the look I want. My last step is to be able to create double head arrows and hook arrows of length x. I found an ...
2
votes
1answer
383 views

Text both above and below double arrows

I would like to use a command like \xleftrightarrows[#1]{#2} namely extendable arrows for double arrows with an optional superscript and subscript Mathtools package provides ...
8
votes
2answers
355 views

Highlight and use arrows in an equation In a robust manner

I am trying to give a very simple analogy to what I am trying to do with LaTeX. I simply want to write two vectors, one below or next the other, and then, use nodes to link the last two elements of ...
8
votes
4answers
150 views

How do I create a negated arrow on \xRightarrow?

Similar to this question, but with the \xRightarrow instead. I tried changing the 3rd version to use \Rightarrow like so: \documentclass{standalone} \usepackage{amsmath} \usepackage{amssymb} % for ...