Tag Info

Hot answers tagged

18

There you go : \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{calc,decorations.pathmorphing,patterns} \pgfdeclaredecoration{penciline}{initial}{ \state{initial}[width=+\pgfdecoratedinputsegmentremainingdistance,auto corner on length=1mm,]{ \pgfpathcurveto% {% From ...


14

Edit Sorry, I misread the question and thought that you wanted to circle the exponents. Modifying my first solution you can circle the coefficients with: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{decorations.text} \newcommand{\tikzmark}[2]{% \tikz[remember picture,baseline=-2pt] ...


10

You have to remove the option overlay from \tikzmark definition first. And second, alter the definition to take the same argument as label and content. Also, if you want circles to have same radius, fix some value for minimum width key. With these it becomes, \newcommand{\mathtikzmark}[1]{\tikz[baseline={(#1.base)},remember picture] \node[draw,circle,inner ...


8

Here's the way, reflecting the arrow: \documentclass{article} \usepackage{amsmath,amssymb,graphicx} \makeatletter \providecommand{\leftsquigarrow}{% \mathrel{\mathpalette\reflect@squig\relax}% } \newcommand{\reflect@squig}[2]{% \reflectbox{$\m@th#1\rightsquigarrow$}% } \makeatother \begin{document} $A\rightsquigarrow B\leftsquigarrow C$ \end{document} ...


8

The following examples stacks the symbols and scales them to fit the line height: \documentclass{article} \usepackage{amssymb} \usepackage{graphicx} \usepackage{calc} \newcommand*{\textdoubletriangle}{% \resizebox{!}{\heightof{X}}{% \vbox{% \hbox{$\blacktriangle$}% \nointerlineskip \kern.75ex \hbox{$\blacktriangledown$}% ...


7

Here another approach with reusable code and relative coordinates. This way you can reposition your nodes without the need to redraw your arrow-lines with hand. It hasn't got this nice pencil-decoration, but it shows how you can reduce your amount of code by reusing parts of it and connect them dynamically. You can fit the coordinates of the custom arrow ...


6

You were actually quite close with the idea \stackrel{\blacktriangle}{\blacktriangledown} To overcome the problem of the upper symbol being smaller than the lower one, all one needs to do is to insert \textstyle at the beginning of the first argument of \stackrel. To center the resulting symbol vertically on the math axis, you could place the ...


6

It is not amsmathcommand, but one can obtain it through txfonts package: \documentclass{article} %\usepackage{amsmath} \usepackage{txfonts} \begin{document} $\leftsquigarrow$ \end{document}


5

Here is an alternative using the stackengine package. \documentclass[letterpaper]{article} \usepackage{amssymb} \usepackage{graphicx} \usepackage{stackengine} \usepackage{calc} \newcommand{\updowntriangle}{% \resizebox{!}{\heightof{X}}{% \stackMath\Shortstack[c]{% {\blacktriangle} \blacktriangledown}% }% } \begin{document} ...


4

mathabx also has: As to MnSymbol, it has a whole tribe: MdSymbol has about as many:


3

In this case you need to use Arrow3 instead of just Arrow. With a simple data file it gives \begin{filecontents*}{data.csv} 0.81,0.59,0.1 0.31,0.95,0.2 -0.31,0.95,0.3 -0.81,0.59,0.4 -1,0,0.5 -0.81,-0.59,0.6 -0.31,-0.95,0.7 0.31,-0.95,0.8 0.81,-0.59,0.9 1,0,1 \end{filecontents*} \documentclass[margin=1cm]{standalone} \usepackage{asymptote} ...


3

The resolution on your dropbox image is a little low, but I think that you are trying to make something like this: If this is what you want then you can get it using the double option to the \draw command. This draws "double lines" rather than single lines. You can control the distance between the lines using double distance. Here's the full code: ...


3

Use \mapstochar and \leadsto, that's simple! With just a small correction for hiding the bump. \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} $a\mapstochar\mathrel{\mspace{0.45mu}}\leadsto b$ \end{document} Of course you'll want to define a macro for it: \newcommand{\foo}{\mapstochar\mathrel{\mspace{0.45mu}}\leadsto} If you ...


2

You can try writing the arrow in a resize box $x_{\uparrow}$ $x_{\resizebox{0.1cm}{0.1cm}{{$\uparrow$}}}$


1

You can get a smaller size uparrow using \scriptscriptstyle $x_{1} 1 \uparrow x_{\scriptscriptstyle\uparrow}$ I can't judge if this is a more aesthetically pleasing result, though.



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