# Tag Info

6

I think plain TikZ is not so difficult as OP complained ^^ What does plain mean? SIMPLE! Change [yscale=.8,xscale=1.4] as you wish! \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture}[yscale=.8,xscale=1.4] \draw[shift={(-.5,.5)}] (0,0) rectangle +(8,-5) (0,-1)--+(0:8) (0,-2)--+(0:8) (1,0)--+(-90:5); \path (0,0) node{$x$} ...

5

I used the intermediate tab value command from page 33 of the manual \tkzTabVal{2}{3}{0.5}{$x^*(\alpha)$}{0} the {2}{3} refers to the column precedent and antecedent and 0.5 on the sloped line -- -- a second negative/descent/derivative is provided with the help of intermediate entries-- these intermediate entries are not shown with a column heading of - ...

8

A short code with pstricks: \documentclass[pdf, svgnames]{article} \usepackage{pstricks-add} \usepackage{eqparbox} \begin{document} \begin{pspicture} \sffamily \psset{framearc=0.3,framesep=5pt} \begin{psmatrix}[colsep=-0.75, rowsep=0.25] \psDefBoxNodes{SA}{\psframebox{\eqparbox{FC}{Sample \\Acquisition}}}\\ & \psDefBoxNodes{SC}{\psframebox{\...

7

Pure TikZ picture, simplified version of your image: \documentclass[12pt,a4paper]{memoir} \usepackage{tikz} \usetikzlibrary{arrows.meta, chains, positioning} \begin{document} \begin{tikzpicture}[ node distance = -1mm and -1mm, start chain = A going below right, arr/.style = {-{Triangle[length=4mm,width=6mm]}, ...

1

The most difficult part of answering such questions is to punch in texts from a screen shot (and trying to decipher them). \documentclass[tikz, margin=3mm]{standalone} \usepackage{enumitem} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[every pin/.append style={text width=8em}, every pin edge/.style={draw},node distance=5em] \begin{...

2

If your question is to obtain equally sized nodes that are just wide enough to fit the widest text, you can use eqparbox. \documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta, calc, chains, positioning} \usepackage{eqparbox} \newbox\eqnodebox \tikzset{equal size/.style={execute at begin node={\setbox\...

2

New answer \documentclass[border=5mm,tikz]{standalone} \begin{document} \tikzset{ doublesided/.pic={ \draw[<->](-.4,0)--(.4,0); \draw[<->](0,.4)--(0,-.4); } } \begin{tikzpicture}[] \draw (0,0)grid(5,3); \foreach \i in {0,...,4} \foreach \j in {0,...,2}{\pic at (\i+.5,\j+.5){doublesided}; } \end{tikzpicture} \end{document} Old answer Like ...

2

Today's new version of dynkin-diagrams on CTAN allows using the expression arrow style as a synonym for arrow color, so that you can use the same solution as Schrödinger's cat, but it looks a little more natural. I suggest using tikzset to make global settings for your document, so that all Dynkin diagrams have the same style. \documentclass{article} \...

5

This draws such polyhedra and illustrates the point that they provide a tessellation of 3d space. Symbol 1 correctly identified the polyhedron as truncated octahedron. The data can of (such) polyhedra can be obtained from Mathematica via N[PolyhedronData["TruncatedOctahedron", "GraphicsComplex"]]. The main purpose of this answer is to provide one way to ...

1

One can swap the labels with a prime. \documentclass{article} \usepackage{tikz-cd} \begin{document} \begin{center} \begin{tikzcd} & I &\\ 0 \arrow[r]&M \arrow[r, "\psi"] \arrow[u, "\phi" near start] & N \arrow[lu,"\chi"' near end] \end{tikzcd} \end{center} \end{document} This is a short cut of swap, as suggested by @...

6

With the new version 3.02c of tkz-euclide (which I'm discovering for the occasion), you get this: Some explanations are given as comments in the code. \documentclass{article} \usepackage{tkz-euclide} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[vect/.style={->,>={Straight Barb[angle=60:2pt 3]}}] \tkzInit[xmin=-3,xmax=6,ymin=-1,...

10

There are many ways to draw this, here is one. \documentclass[tikz,border=3mm]{standalone} \begin{document} \begin{tikzpicture}[>=stealth,scale=0.5,line cap=round, bullet/.style={circle,inner sep=1.5pt,fill}] \draw[->] (-9,0) -- (9,0) node[right]{$x$}; \draw[->] (0,-7) -- (0,7) node[above]{$y$}; \draw foreach \X in {3,6} {(\X,0.1) -- ++ (0,...

4

Like this? \documentclass[tikz, border=1pt]{standalone} \usepackage{tikz} \usetikzlibrary{positioning}% To get more advances positioning options \usetikzlibrary{arrows}% To get more arrow heads \usetikzlibrary{math,calc} \definecolor{MyColor1}{rgb}{0.24, 0.59, 0.32} \definecolor{MyColor2}{rgb}{0.85, 0.49, 0.19} \definecolor{MyColor3}{rgb}{0.22, 0.42, 0.69} ...

2

It turns out I can indeed just \draw a bunch of plot()s with the hyperbolic function cosh(\x/1.625) (\x is divided by 1.625 here because that just happened to adjust it to intersecting with the points on the second axis I drew). \draw [->,help lines,Gray,domain=0:2,samples=20+1,smooth,variable=\x] plot({-1*cosh(\x/1.625)}, {0}, {\x}); \draw [->...

0

Welcome! This combines the nodes 5 and 8 to one. More importantly, it uses the positioning library for better positioning (and also quotes). \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{automata,positioning,quotes} \begin{document} \begin{tikzpicture}[->,shorten >=1pt,auto,node distance=2cm, thick,main node/.style={...

2

Edit:: \documentclass[tikz, border=3mm]{standalone} \usetikzlibrary{arrows.meta, positioning} \tikzset{ box/.style args = {#1/#2}{draw, minimum width=#1mm, minimum height=#2mm, inner sep=0pt, outer sep=0pt}, box/.default = 10/15, } \begin{document} \begin{tikzpicture}[ node distance = 9mm and 12mm, ...

5

The following might get you started: \documentclass[border=2pt]{standalone} \usepackage{tikz} \usetikzlibrary{matrix,positioning,arrows.meta,arrows} \tikzset{ mymat/.style={ matrix of math nodes, minimum width=1cm, minimum height=1.5cm, align=center, row sep=-\pgflinewidth, nodes in empty cells }, } \begin{document} \begin{tikzpicture}[>=...

4

You could exploit the fact that the dynkin-diagrams package feeds the color to the arrow head using \path[-{Computer Modern Rightarrow[\dynkin@arrow@color]}, This means you can pass any arrows parameters to the color key, i.e. not just the color but also the length, width and line width (and any other viable arrows parameter of section 16.5 Reference: ...

1

Thank you for the suggestion of the users @Phelype Oleinik and @daleif, I have done the code with tikz-cd hoping that this answer corresponds to your request. \documentclass[10pt]{amsart} \usepackage{tikz-cd,amssymb} \begin{document} \begin{tikzcd}[row sep=.5pt] 0 \arrow[r] & \underbrace{\cap_{i=1}^{4} A_{g_i}}_{\mathrm{black}}\rtimes G \arrow[r] ...

2

You can use the |- to determine the correct points Notes: I added color to the lines that were changed so that they are easy to locate (something to keep in mind for future MWE). As per Schrödinger's cat's comment, I replaced the \tikzstyle with \tikzset. See Should \tikzset or \tikzstyle be used to define TikZ styles? . Connecting from in the middle of |- ...

1

As suggested @Ignasi and after removing all unnecessary code (scope, xshift and yshift in your code fragment doing nothing) for showing your arrow: \documentclass[tikz, margin=3mm]{standalone} \begin{document} \begin{tikzpicture} \draw[->] (0,0) -| (2,2); % <--- \end{tikzpicture} \end{document}

4

Add here is another way: \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{arrows.meta, bending, chains, positioning, quotes} \begin{document} \begin{tikzpicture}[auto, node distance = 1em, start chain = going right, arr/.style = {-{Stealth[bend]}, shorten <=1pt, shorten &...

5

Here is one way. \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{positioning,arrows.meta,bending} \begin{document} \begin{tikzpicture}[font=\sffamily,arr/.style={-{Latex[bend]},shorten <=2pt}] \def\Lst{5,6,7,8,10,11,14,15,19,20} \path[node distance=1ex] foreach \X [count=\Y,remember=\X as \LastX] in \Lst { \ifnum\Y>1 node[base ...

0

Probably you are more satisfied with one of the following solutions: \documentclass{article} \usepackage[margin=1cm]{geometry} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} [block/.style={rounded corners, minimum width=3cm, minimum height=2cm,draw}] \label{Qflow} \node[block] (1) {spectral curve $A(x,y)=0$}; \node[...

6

Another suggestion, with stackengine: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern}% \usepackage{old-arrows} \usepackage[usestackEOL]{stackengine} \newcommand{\isomarrow}{\mathrel{\setstackgap{S}{-0.5pt}\ensurestackMath{\Shortstack{\scriptstyle\sim\\ \longrightarrow}}}} \begin{document} \[ 1 \isomarrow 2\...

4

A possible solution without tikz-cd, using \xrightarrow with a box in predefined length (I used 1cm). The command contains 2 arguments to be used as domain and codomain, like \isomap{x}{y} for example. \documentclass[11pt,a4paper]{report} \usepackage{amsthm,amsmath,amssymb,amsfonts} \newcommand{\isomap}[2]{$#1 \xrightarrow{\makebox[1cm]{$\sim$}} #2$} \...

3

If you were to scale the line widths, the arrow heads will also scale. If you do not want to scale the line widths, you can use arrows.meta to scale the arrow heads. \documentclass[tikz]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture}[] \draw (0,0) rectangle (3,2); \draw[-{Computer Modern Rightarrow[]}] (1,1)--(2,1); \...

1

Like this? \documentclass{beamer} \usetheme{Madrid} \usepackage{tikz} \usetikzlibrary{arrows.meta, chains, positioning, shadows.blur, shapes.arrows} \begin{document} \begin{frame}[fragile]% \frametitle{Block diagram ...} \begin{center} \begin{tikzpicture}[ node distance = 2mm and 7mm, ...

Top 50 recent answers are included