Tag Info

Hot answers tagged

7

\documentclass{article} \usepackage{stackengine,amssymb,graphicx} \newcommand\blivet[2]{\stackengine{-.3ex}{#1}{\stackon[1pt]{\CAL}{#2}}{O}{c}{F}{T}{L}} \newcommand\CAL{\scalebox{2}{\rotatebox[origin=center]{170}{$\circlearrowleft$}}} \stackMath \begin{document} \begin{equation} S\rightarrow \blivet{K}{D}\rightarrow S \end{equation} \end{document} Note: ...


6

Here's a version based on the turnstile package. On the left are the standard versions of the three turnstiles you used in the question. On the right are versions using a modified version of the package's \makever command: \documentclass{article} \usepackage{turnstile,calc} \newcommand\mysststile{% single vertical with fins pointing backwards ...


5

Is this what you want? \documentclass[]{article} \usepackage{MnSymbol} \usepackage{pict2e} \makeatletter \DeclareRobustCommand{\cvdash}{% \mathrel{\mathpalette\cvd@sh\relax} } \newcommand{\cvd@sh}[2]{% \sbox\z@{$\m@th#1\vdash$}% \setlength{\unitlength}{1.1\wd\z@}% \begin{picture}(1,0.75) \roundcap\roundjoin ...


4

It's a tikz graphic, but: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \node (A) {A}; \node (B) [right= of A] {B}; \node (C) [right= of B] {C}; \draw [->] (A) -- (B); \draw [->] (B) -- (C); \draw [->] (B) edge [loop, out=45, in=135, looseness=5] node [above] ...


4

Simple option with fontawesome which provide icon \faPlayCircle \documentclass{article} \usepackage{fontawesome} \usepackage[dvipsnames]{xcolor} \begin{document} \colorbox{black}{{\color{ForestGreen}\faPlayCircle}\ {\color{white}\sf Run}} \end{document} Which gives


3

The comments have already mentioned \overleftrightarrow. Here is an alternative that tries to make the segment use the same heads as \vec, also shown for comparison. Based on my answer at "Double headed" vector, except that I had to make it extensible to match segments of different sizes. On the left are two \vecs, two \dvecs and on the right ...


3

Thre options (I wasn't sure if "west" in your question meant the west anchor or the north west one so my example covers both): The code: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[text=black, fill = green, text width =3cm, scale=0.5] at (1,2)(t1){Access Port mit VLAN 2050}; ...


3

I found a trick that will do a decent job without having to install packages or anything. Just write in math mode $A-\!\! \rightarrow B$ The minus sign after the A is followed by two negative spaces in LaTeX and this will give the impression of a broken or dashed arrow. I was working on a poster and was loading several conflicting packages which made the ...


3

Since this seems to be a commutative diagram, you should use a dedicated tools for those kind of diagrams such as tikz-cd. Since the package already offers you the required elements, the code now is a one-liner: \documentclass{standalone} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[column sep=small] S\ar[r] & ...


2

You may try arrows={-Computer Modern Rightarrow[line cap=round]}, arrows={Latex} or arrows={-Triangle} via the TikZ library arrows.meta: \documentclass[tikz,margin=1mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[line width=1mm] \draw[blue,arrows={-Computer Modern Rightarrow[line cap=round]}] (0,0) -- (1,0); ...


2

Unless you need to do more complex stuff, you can use tikz-cd. Output Code \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{figure}[!h] \[ \begin{tikzcd} & & & 4 \arrow[dr, rightarrow] & \\ 3 \arrow[r, leftrightarrow] & 1 \arrow[r, leftrightarrow] & 0 \arrow[r, rightarrow] \arrow[ur, rightarrow] & 8 ...


2

A wide range of examples for drawing graphs with tikz can be found here. Also the pgfmanual has examples and much more information. For adjusting the images style please refer to this resources. Here a simple matrix-based solution for your problem. \documentclass[tikz, border=6mm]{standalone} \usetikzlibrary{matrix} \begin{document} ...


2

You can build your icon using TikZ: The code: \documentclass{article} \usepackage{amssymb} \usepackage{tikz} \definecolor{playgreen}{RGB}{58,193,62} \newcommand\PlayButton{% \begin{tikzpicture} \node[draw=black,fill=black,thick,minimum width=3.7em,minimum height=3.2ex] (bframe) {}; \node[minimum ...


1

Using stacks: \documentclass{article} \usepackage{amsmath,stackengine} \stackMath \begin{document} \[ \sum_{p,q}g^{pq}A_{1\ldots \stackengine{2pt} {\scriptstyle p} {\scriptstyle\text{$a$th position}\rule[1pt]{2ex}{.5pt}\mkern-5mu\raisebox{1.1pt} {\stackon[-.1pt]{\rule{.5pt}{9.1pt}}{\uparrow}}}{U}{r}{F}{T}{S} \ldots \stackengine{2pt} {\scriptstyle ...


1

You can play with looseness parameter or some others which are explained in section "70.3 Curves" from pgfmanual \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[->,>=stealth', shorten >=1pt, auto, node distance=5cm, thick,main node/.style={circle, fill=blue!20,draw,thick,align=center}] ...



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