# Tag Info

2

This is not an answer, but an extended reply to a comment question from the OP. I suggested creating one layer in each color and overlaying them with an (x,y) shift. As to how that might be done, I sure tikz has its own ways of retaining and overlaying layers, but here I use \stackinset to overlay three (in this case identical) layers. \documentclass{...

1

\documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning, hobby, arrows.meta} \begin{document} \begin{tikzpicture}[use Hobby shortcut] %\draw [help lines, red!30] (0,0) grid (6,6); \draw (0,0)-|(3,5)-|node[pos=.25, fill=white](x){\huge X}(0,0); \node[below=2cm of x, circle, fill, draw, inner sep=2pt, label=...

1

Like this? \documentclass[border=3.14]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta, positioning} \usepackage{amsmath} \begin{document} \begin{tikzpicture}[ > = Latex, node distance = 8 mm and 4 mm, block/.style = {draw, fill = gray!50, font=\bfseries, align=center, minimum height=3em, ...

1

Will this work for you? I also took the liberty to simplify some things for an easier handling. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{mathtools} \usepackage{amsmath} \usepackage{amssymb} \usetikzlibrary{shapes,arrows, positioning, calc} \usepackage{float} \title{Diagramas} % Modificaciones \tikzstyle{...

1

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usepackage{mathtools} \usepackage{amsmath} \usepackage{amssymb} \usetikzlibrary{shapes,arrows, positioning, calc} \usepackage{float} \title{Diagramas} \author{} \date{} % Modificaciones \tikzstyle{block} = [draw, fill=white, rectangle, minimum height=3em, minimum width=6em ...

2

Here is a simple example to get you started. \documentclass{standalone} \usepackage{tikz} \usepackage{marvosym} % star signs \usetikzlibrary{shapes.geometric} \begin{document} \begin{tikzpicture} % Draw two large circles \draw (0, 0) circle [radius=10cm]; \draw (0, 0) circle [radius=10.5cm]; % Draw double square \...

5

You don't need nodes or coordinates if you want to let an arrow start from or end nowhere. E.g., \draw[<-] (A) -- ++(-1,0); will draw an arrow starting to the left of (A) and pointing to (A). Similarly, \draw[->] (A) -- ++(0,-1); draws an arrow starting from (A) and pointing downwards. \documentclass[border=5pt]{standalone} \usepackage{tikz} \...

2

Here is a way to do it: \documentclass{article} \usepackage{amssymb} \usepackage{tikz-cd} \begin{document} \begin{tikzcd}[row sep=1.5cm, column sep=1.7cm] & A \\ \{a, b\}\urar & \{a, c\}\uar \arrow[from=dr]& \{b, c\}\ular \\ \{a \}\uar\urar & \{b\}\ular[crossing over] \urar[crossing over] & \{ c\} \uar\\ & \varnothing\ular\uar \...

2

Perhaps the easiest is to draw the arrows for the additional initial nodes manually, and set them to the desired color. The distance between the text and the node in the code below is set to 3ex, which is the default in the automata library. MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows, automata, positioning, decorations.markings, ...

0

Here's a solution using the spath3 library. At time of writing it uses the development version (on github) but this will be uploaded to CTAN shortly. I define a style bridge which acts on two paths, an over path and an under path, to do the following: Insert a break in the over path wherever it crosses the under path, Widen those breaks to an 8pt gap, ...

1

\documentclass[border=10pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{positioning,shapes,arrows,calc} \begin{document} \begin{tikzpicture}[auto, block/.style={rectangle, draw=black, thick, fill=white, text width=6em, text centered, minimum height=1em, inner sep=2pt}, ...

0

Even if the previous answer is such a clean solution, I think you would definitely discover the tkz-euclide package which is extremely versatile when it comes to drawing mathematical geometric figures. I didn't rewrite all your figure with tkz-euclid commands, but you could save time by doing it for your future projects. Here, the only change is for drawing ...

4

\documentclass[a4paper, landscape]{article} \usepackage{lmodern} \usepackage[most]{tcolorbox} \usepackage{fontawesome5} \usepackage[hmargin=2cm]{geometry} \usetikzlibrary{shapes.symbols, positioning} \newtcolorbox{mybox}[4][]{% enhanced, width=9cm, height=2cm, fontupper=\small\sffamily, fonttitle=\large\sffamily\bfseries\slshape, ...

1

Your problem is solved by @Roland comment, so here are some off-topic suggestions: \documentclass[border=20pt]{standalone} \usepackage{tikz} \usetikzlibrary{angles, calc, quotes} % <--- \begin{document} \begin{tikzpicture} \def \radius{3.5} \coordinate (V) at ($(0,0)!\radius cm!rand*45:(0,\radius)$); \path (-\radius, 0)...

1

I think I already answered in your first question about that matter. In the following line: (O)--node[midway, sloped, above]{$\vec{A}$}node[above,at end]{${\color{black}S}$}++($(O)!sqrt(\x1*\x1+\y1*\y1)!(E)-(O)$); you can add coordinate[at end](S) right before drawing your point S. Then you get : (O)--node[midway, sloped, above]{$\vec{A}$} coordinate[at end](...

1

\documentclass[border=20pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections, calc,through,backgrounds} \begin{document} \begin{tikzpicture}[scale=2] % Coordinates for a triangle \coordinate (P) at ($(0,0) + (rand,rand)$); \coordinate (Q) at ($(2,-2) + .5*(rand, rand)$); \coordinate (R) at ($(-2, -2) + .... 1 \documentclass[preview,border=2mm, convert={density=600,outext=.png}]{standalone} \usepackage{geometry} \usepackage{tikz} \usetikzlibrary{arrows.meta, decorations.markings, quotes} \begin{document} \centering \begin{tikzpicture}[ > = Stealth, vertex/.style = {shape=circle, draw, fill=black, ... 1 The code produced by GeoGebra should always be heavily edited. In this case, the axis environment causes the picture to be about 40 centimeter wide and is quite likely unneeded. I also edited the ridiculous accuracy and reformatted a bit for the font size. The labels on the segments have been commented out as they're not useful for understanding the picture. ... 0 Starting point: \documentclass[border=3.14]{standalone} \usepackage{tikz} \usetikzlibrary{positioning, arrows.meta} \begin{document} \begin{tikzpicture} [ box/.style={draw, text width=4cm, thick, inner sep=4pt, text depth=53mm} ,arrow/.style={-{Stealth []}, line width=3pt} ] \node[box] (s1) {% \textbf{Step-1} Problems ... 3 A trivial solution using xshift and yshift: \documentclass{standalone} \usepackage{circuitikz} \begin{document} \begin{tikzpicture} \node[nand port] (NAND1) {}; \node[nand port] at ($(NAND1) + (2,0)$) (NAND2) {}; \draw (NAND1.in 1) -- ++(-0.5,0) node[left ] {$p$}; \draw (NAND1.in 2) -- ++(-0.5,0) node[left ] {$q$}; \draw (NAND2.in 1) node[... 0 (The interface just asked me "Are you sure you want to add yet another answer?") The spath3 (which the knots library is actually part of) has now been extended with a new set of routines that are useful in drawing knots. These work by actually cutting a path at the points where it intersects with another path and inserting gaps at those points, so ... 2 add the following lines to your code \draw[->, out=75, in=110, looseness=1] (prime) to (chap1); \draw[->, out=255, in=285, looseness=1] (chap1) to (prime); to get EDIT-- add text in node \documentclass[12pt]{article} \usepackage{tikz,tikz-cd,pgf, makecell} \usetikzlibrary{arrows, matrix, positioning, shapes, shapes.geometric, calc, ... 2 Basically, you can't. Sizes of the circuitikz components are built based on a standard size; you can tweak it to have, for example, 2-input ports at a given distance (if you do not rescale the TikZ coordinates), see here: Needing a dipchip of CircuiTikz with exact pin distance --- you will need to put them at 0.5 cm to have your example with straight lines. ... 2 Is this the simplest solution? first take D such that ABCD is a parallelogram, and get a point E on the bisector of the angle BAD, then reflect C to the line AE to get point F. The desired point G is the intersection of AF and BC. size(7cm); import math; real a=6, b=7, c=8; pair B=(0,0), C=(a,0); pair A=intersectionpoints(circle(B,c),circle(C,b))[0]; pair D=... 2 \documentclass[border=10pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{positioning,shapes,arrows,calc} \begin{document} \begin{tikzpicture}[auto, block/.style={rectangle, draw=black, thick, fill=white, text width=4em, text centered, minimum height=1em, inner sep=2pt}, ... 5 The code below defines a command \board[optional scale factor]{list of triples angle/number/mark} that draws the circular diagram. The optional argument is the scale factor and defaults to 1.0. The mandatory argument is a comma separated list of triples like 90/1/\cross (node at 12 o'clock numbered 1 and marked with a cross) or 210/2/ (node at 8 o'clock ... 1 The kblocks pacakge has been updated. However, it might take a while for the code changes to reflect on the package arvhive. You can, however, download it from https://github.com/somefunAgba/kblocks Here is probably the diagram that you want to realize \begin{kblock} % ref \kJumpCS{spt} % top blocks \kMarkNodeRight{0cm}{0cm}{$I^\star\$}{spt}{inI} \...

1

As starting point, with tikz (about which I'm a bit familiar): \documentclass[border=3.141592mm]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta, positioning} \begin{document} \begin{tikzpicture}[ node distance = 22mm and 11mm, C/.style = {circle, draw, minimum size=#1}, C/.default = 24mm, every label/.append style = {...

Top 50 recent answers are included