# Tag Info

8

Welcome! It is not too difficult to draw something of that sort. Of course, this assumes you want a cartoon. \documentclass[tikz,border=3mm]{standalone} \usepackage{mathpazo} \usetikzlibrary{decorations.markings,arrows.meta,bending} \tikzset{% attach arrow/.style={ decoration={ markings, mark=at position 0 with {\pgfextra{% ...

6

Minimal surgery, i.e. replacing segment draw/.code={ \iftikzfractionfill \tikzset{triangle fill/.style={blue!50!cyan!50}} \else \tikzset{triangle fill/.style={gray!20}} \fi \fill [triangle fill] (90:0.45) -- (210:0.45) -- (330:0.45) -- cycle; } by segment draw/.code={ \iftikzfractionfill \tikzset{triangle fill/.style={fill=blue!50!...

5

You need to make the command ignore white space: \def\Color#1{\unskip\color{#1}\ignorespaces}

5

Just use a regular polygon node and add a path picture. There is a option for nontrivial greatest common divisors and the case in which the fraction equals 1/2. \documentclass[tikz,border=3mm]{standalone} \usetikzlibrary{shapes.geometric} \newif\ifgcd \begin{document} \begin{tikzpicture}[ngon fraction/.style args={#1/#2}{regular polygon, minimum size=\...

4

Welcome! There are on the order 100 such diagrams on this site. Now there is one more of them. In order to accomplish proper positioning, you may want to use the positioning library. There are many other tools such as chains but in this case they do not pay off IMHO. \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \...

3

Welcome! With tikz-cd. \documentclass{article} \usepackage{tikz-cd} \begin{document} \[ \begin{tikzcd}[every arrow/.append style={-stealth}] \cdots \arrow[r]& H^k(B) \arrow[r]& H^k(C)\arrow[r] & H^k(D) \arrow[dll,out=-10,in=170,overlay,looseness=1.2,"\delta" {marking,fill=white}]\\ & H^{k+1}(B)\arrow[r] & H^{k+1}(C)\arrow[r] & H^{k+...

2

A small variation of @Schrödinger's cat answer. With use of chains library and macro `join: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta, chains, positioning} \begin{document} \begin{tikzpicture}[ node distance = 8mm and 0mm, start chain = going above, box/.style = {draw, ...

2

With the matrix library of TikZ: \documentclass[tikz,border=3.14]{standalone} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix (H) [matrix of math nodes, column sep=4ex, row sep=1ex] {% \vphantom{H}\ldots & H^k(B) & H^k(C) & H^k(D) \\ & H^{k+1}(B) & H^{k+1}(C) & H^{k+1}(D) \\ ...

2

Schrödinger's cat answer is perfect. I give only a way with tkz-euclide to avoid complications. It's a test to see if it's possible... There is some work to complete and get the link between fraction and polygon. The solution with apothem can be made in the same way. \documentclass[]{article} \usepackage{tkz-euclide} \parindent=0pt \begin{document} \...

1

Something to get started in the right direction --adapted from http://www.texample.net/tikz/examples/global-nodes/ \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \usetikzlibrary{arrows} \begin{document} \pagestyle{empty} % For every picture that defines or uses external nodes, you'll have to % apply the 'remember picture' style. To avoid ...

1

It may not handle this picture but Geogebra is helpful most of the time. It has a mac app that can export to Tikz as well. I do not know if they have a windows or linux version though. Here: https://www.geogebra.org/graphing Although, word of caution, this is probably not your best choice but will definitely help you get to somewhere at least.

1

The use of groups within your picture seem to have introduced a spurious space: % ...previous document definitions/content \begin{picture}(10,10)(-5,-5) \picgrid(-5,-5)(10,10) \put(-5,0){\vector(1,0){10}} \put(0,-5){\vector(0,1){10}} {\Color{red}% \qbezier(-5,-4)(0,-4)(1,0)\qbezier(1,0)(2,4)(5,4) \thicklines\put(1.5,1.5){\vector(0.4,0.8){0.5}...

1

You can also use \foreach to reduce code size. To change node distance locally just use right=<some length> of as also noted by @Fractal. Besides, the down-right-up arrow can be simplified as \draw[->] (n0) --++(0,-4em) -| (n3);. \documentclass[12pt,a4paper]{article} \usepackage{tikz} \usetikzlibrary{positioning,arrows.meta} \begin{document} \...

1

Use node distance for the spacing in of. To draw extra arrows, why not just draw "normal" arrows? EDIT: To add text to that arrow, you need to modify a little bit. EDIT 2: To change the starting point of the arrow, you just have to name the midpoint of the first arrow. Btw edge is not necessary, just -- is ok. \documentclass[tikz,margin=10]{standalone} \...

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