# Tag Info

0

In case you accept to place the arrow on the right side of your equations, you can use witharrows and it's direct. \documentclass{article} \usepackage{amstext} \usepackage{witharrows} \begin{document} \begin{DispWithArrows*}[format = l] ^\text{1}\text{H} + {}^\text{1}\text{H} \rightarrow {}^\text{2}\text{H} + \text{e}^+ + \nu \Arrow[tikz=<-,jump=5]{} \\ ...

2

As was the case in my answer to your earlier query (which was about how to indicate the dimensions of the components of a row vector), I would not use arrows here. Instead, I would use vertical curly braces to the right of the column vector. I would also like to suggest that you use \vdots ("vertical dots") instead of \dotso\\ \dotso. The following answer ...

2

I have two proposals. In the first one, the arrow reaches a bit beyond the commas, in the second one the arrow covers all objects to be replicated. The top line is meant to show that the spacing is the same. \documentclass{article} \usepackage{amsmath,calc} \makeatletter \newcommand{\replA}[2]{% #1 = number of times, #2 = object \vtop{\offinterlineskip\...

9

I actually would not use arrows for the job at hand. I suggest, instead, that you use \underbrace directives (provided by the amsmath package) to provide a platform for the two explanatory text snippets $n-1$ times and $n$ times. Indicating explicitly that \mathbf{v} is a 2n\times1 vector might be helpful too. \documentclass{article} \usepackage{amsmath} % ...

4

The amsmath package provides \underrightarrow and \underset for this job. \documentclass{article} \usepackage{amsmath} \begin{document} $\mathbf{v}=(2n-1,n-1,n-1,\underset{n-1}{\underrightarrow{\ldots}},n-1,1,1,\underset{n}{\underrightarrow{\ldots}},1)$. \end{document}

3

You are already using yshift so you can chaneg it to whatever value you prefer, as that changes the height you can adjust the resizebox to scale to a fraction of 1ex again choose whatever looks right. I didn't have the fonts you used but changed the values a bit to get \documentclass{article} \usepackage{tikz-cd} \usetikzlibrary{arrows.meta} \tikzcdset{...

4

The default \rightarrow does not define any scaling it is just a character in a font so like a or b it is justtypeset at the current font size, which is specified elsewhere. Specifically this is all set up in fontmath.ltx (although classes and font packages may change the defaults) The relevant lines are \DeclareMathSymbol{\rightarrow}{\mathrel}{symbols}{"...

3

Using \overset or \underset you can obtain also your desidered output. With \Rightarrow command, you will have: \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb} \begin{document} $x = 2 \Rightarrow 2 \cdot 2 \underset{2=x}{\Rightarrow} x \cdot x = 2 \cdot 2 \Rightarrow x^2 = 4$ x = 2 \Rightarrow 2 \cdot 2 \overset{2=x}{\Rightarrow} x ... 1 One could use calc to shift the coordinates of the arrow a bit Also tikzstyle is deprecated and the font size changes in your nodes give incorrect spaces \documentclass[border=2pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{pgfplots} \usetikzlibrary{positioning,calc} \tikzset{ fonction/.style={ align=center, line width=2pt, ... 0 I actually thought of a way to answer the first part changing \draw[fleche,<->] (Trai.350) -- (Com.190) -- ++ (0.25,0cm); in \draw[fleche,->] (Trai.350) -- ++ (-0.25,0cm); \draw[fleche,->] (Trai.350) -- (Com.190) -- ++ (0.25,0cm); Is there a better way ? and the second question still stands. How do I do that without some copy and paste for ... 5 Like this? \documentclass[margin=3mm]{standalone} \usepackage{tikz} \tikzset{ pics/arcirc/.style args={#1,name=#2}{ code={ \begin{scope}[local bounding box=#2,>=latex] \foreach \x in {0,30,...,360} \draw[<-,#1] (\x:0.35cm) -- (\x:0.7cm); \end{scope} } } } \begin{document} \begin{tikzpicture} \pic at (0,0) {arcirc={... 1 You could with a little creativity create a lot of codes for what you ask for. I suggest these two, one of which uses a beautiful macro of the best user @egreg that you can see in this link: How to elongate down arrow?. This type of macro is useful to increase the length of the vertical arrow. First proposal using xy package \documentclass[a4paper,12pt]{... 1 A simple solution with stackengine: \documentclass{article} \usepackage{amsmath, amssymb, amsthm} \newcommand{\pd}[2]{\dfrac{\partial#1}{\partial#2}} \usepackage[usestackEOL]{stackengine} \begin{document} ’Twas brillig, and the slithy toves did gyre and gimble in the wabe; all mimsy were the borogoves, and the mome raths outgrabe. \begin{equation*} \... 1 With tikz-cd: \documentclass[11pt,a4paper]{report} \usepackage{amsmath} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd}[row sep=2em] \begin{array}{c} \text{word or phrase} \\ \text{word or phrase} \end{array} \arrow[d] & \text{word or phrase} \arrow[d] \\ \dfrac{\partial f}{\partial x} & \dfrac{\partial f}{\partial t} \end{tikzcd} \end{...

2

I add two little answers: 1st proposal \documentclass{article} \usepackage{mathtools} \begin{document} $f\colon X\overset{\raise-.5ex\hbox{\sim}}{\longrightarrow}Y$ \end{document} 2nd proposal Using tikz-cd package: \documentclass[12pt]{article} \usepackage{tikz-cd,relsize} \tikzset{close/.style={outer sep=-1.2pt}} \usepackage{lipsum} \begin{...

2

Simply add y axis line style={stealth-} at the end of your axis options. See pgfplots manual p271 §4.9. Axis description (in v1.15) \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \begin{tikzpicture} \begin{axis}[ legend pos=outer north east, legend cell align={left}, grid, grid style=dashed, xmax=1....

3

Two individual arrows with a small offset: \documentclass{article} \usepackage[all]{xy} \begin{document} \xymatrix{ \ar@<-0.5ex>[d]\ar@<0.5ex>[d] \\ {} } \end{document} For people who might prefer tikz-cd: \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} \arrow[d]\arrow[d,xshift=1ex] \\ {} \end{...

2

As described in the manual, section 70.6 Shapes with multiple text parts, there are predefined anchors at the borders between the node parts. If you name your node foo, then foo.two split north is the point where your arrow is pointing to, so you can do \draw [<-] (foo.two split north) -- +(0,1cm) node[above]{bar}; to get \documentclass[]{article} \...

1

Define as node the starting and the ending points. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node (A) at (2,1) {}; \node (B) at (3,2) {}; \draw[-latex,thick] (A) edge[bend left=50] (B); \end{tikzpicture} \end{document}

4

You could define an escape character with escapechar so that you can define your tikz code in your listing code. In addition, to prevent the tikz figure from disrupting your listing code, activate the overlay option. You could furthermore make use of remember picture if you want to be able to reference the code from elsewhere in the slide. \documentclass{...

Top 50 recent answers are included