Tag Info

Hot answers tagged

5

I'd typeset \xrightarrow, back up a little and add \rightarrow: \documentclass{article} \usepackage{amsmath,amssymb} \newcommand{\rightarrowdbl}{\rightarrow\mathrel{\mkern-14mu}\rightarrow} \newcommand{\xrightarrowdbl}[2][]{% \xrightarrow[#1]{#2}\mathrel{\mkern-14mu}\rightarrow } \begin{document} $A \rightarrowdbl B$ $A \xrightarrow[\beta]{\alpha} B$ ...


4

Adapting my answer at LaTeX package to help diagram translation of one language to another, I provide a first cut. The syntax is \notate[B<race>]{<referenced math>}{<dropline length in \baselineskips>}{<math notation>} The <math notation> can be given as a \parbox, if longer text is needed (shown in first example below). ...


4

Here's another option using the tikzmark library; the basic idea is to place some marks that will be later used to draw the braces with the arrows and place the explanatory texts: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{tikzmark,decorations.pathreplacing} \begin{document} \begin{equation*} \implies \frac{d}{dt} ...


3

Same principle as in egreg's answer, only using the low level command \ooalign to place the arrows. \documentclass{article} \usepackage{amsmath,amssymb} \newcommand\dhrightarrow{% \mathrel{\ooalign{$\rightarrow$\cr% $\mkern3.5mu\rightarrow$}} } \newcommand\dhxrightarrow[2][]{% \mathrel{\ooalign{$\xrightarrow[#1\mkern4mu]{#2\mkern4mu}$\cr% ...


3

You could use \overrightarrow: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \overrightarrow{\dim} , \quad \overrightarrow{\text{dimension}} \] \end{document} This and further alternatives can be found at the LaTeX-Community forum in the topic Extended Vector Arrow. So there are nice arrows with esvect: \documentclass{article} ...


3

You can use the library arrows.meta and explicitly state the length and width or the arrows. You can do this for the entire picture, once - no need to do it for each individual case. \documentclass[tikz,border=20pt]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[>={LaTeX[width=10mm,length=10mm]},->] \draw[line ...


1

It seems that the backing up done by \arrowfill@ is insufficient when Latin Modern Math is used. Here's a fix: \documentclass{article} \usepackage{ifxetex} \usepackage{amsmath} \usepackage{etoolbox} \ifxetex \usepackage{unicode-math} \makeatletter \patchcmd{\arrowfill@}{-7mu}{-14mu}{}{} \patchcmd{\arrowfill@}{-7mu}{-14mu}{}{} ...


1

Do you want something like this? This uses the baseline key with the value (current bounding box.center) to align the centres of the pictures with the current baseline. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[ tlabel/.style={pos=0.4,right=-1pt}, baseline=(current bounding box.center) ] ...



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