Dataset Viewer
Auto-converted to Parquet
id
stringlengths
18
28
png
imagewidth (px)
384
384
code
stringlengths
129
24.4k
example_80000_main
\documentclass{article} \usepackage{tikz} \usepackage{pgfkeys} \pgfkeys{ /myKeys/.is family, /myKeys/.cd, default/.style={ width= 1cm, my tikz commands={}, }, width/.estore in=\kWidth, kTikzCommands/.style={}, my tikz commands/.style={ kTikzCommands/.style={#1} } } \newcommand{\myRectangleB}[1][]{% \pgfkeys{/myKeys, default, #1}% \begin{tikzpicture}[remember picture,overlay]% \node [draw, minimum width=\kWidth, inner sep=0pt, shape=rectangle, very thick, color=red, minimum height=1cm, /myKeys/kTikzCommands/.try] at (current page.center) {}; \end{tikzpicture}% } \begin{document} \myRectangleB[width=10cm,my tikz commands={fill=blue, dashed}] \end{document}
example_80001_combination_3
\documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture} \begin{scope}[ node distance=1mm, start chain=place, every node/.style={ on chain, font=\strut, path picture={ \draw (path picture bounding box.south west) -- (path picture bounding box.south east); } } ] \node {foo}; \node {bar}; \node {baz}; \end{scope} \begin{scope}[ node distance=2mm, start chain=tag going below, every node/.style={on chain} ] \node at (-2,-0.5) {Tag1}; \node {Tag2}; \node {Tag3}; \end{scope} \foreach \i in {1,...,3} \draw (tag-\i) -| (place-\i); \end{tikzpicture} \end{document}
example_80001_combination_2
\documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture} \begin{scope}[ node distance=1mm, start chain=place, every node/.style={ on chain, font=\strut, path picture={ \draw (path picture bounding box.south west) -- (path picture bounding box.south east); } } ] \node {foo}; \node {bar}; \node {baz}; \end{scope} \begin{scope}[ node distance=2mm, start chain=tag going below, every node/.style={on chain} ] \node at (-2,-0.5) {Tag1}; \node {Tag2}; \node {Tag3}; \end{scope} \end{tikzpicture} \end{document}
example_80001_combination_1
\documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture} \begin{scope}[ node distance=1mm, start chain=place, every node/.style={ on chain, font=\strut, path picture={ \draw (path picture bounding box.south west) -- (path picture bounding box.south east); } } ] \node {foo}; \node {bar}; \node {baz}; \end{scope} \end{tikzpicture} \end{document}
example_80001_main
\documentclass[border=5mm]{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} \begin{tikzpicture} \begin{scope}[ node distance=1mm, start chain=place, every node/.style={ on chain, font=\strut, path picture={ \draw (path picture bounding box.south west) -- (path picture bounding box.south east); } } ] \node {foo}; \node {bar}; \node {baz}; \end{scope} \begin{scope}[ node distance=2mm, start chain=tag going below, every node/.style={on chain} ] \node at (-2,-0.5) {Tag1}; \node {Tag2}; \node {Tag3}; \end{scope} \foreach \i in {1,...,3} \draw (tag-\i) -| (place-\i); \end{tikzpicture} \end{document}
example_80002_combination_5
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \end{tikzpicture} \end{document}
example_80002_combination_2
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \end{tikzpicture} \end{document}
example_80002_combination_3
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \end{tikzpicture} \end{document}
example_80002_combination_4
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \end{tikzpicture} \end{document}
example_80002_combination_10
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \draw (sw) -- (nw) -- (ne) node[right] {$S_{\alpha(t)}$} -- (se) -- cycle; \draw[->] (c) -- ++(0, 0, .7) node[above left] {$N(\alpha(t))$}; \draw[->] (c) -- ++(-.3, .3, 0) node[below right] {$X'(t)$}; \draw[->] (c) -- ++(-.3, .3, .7) node[above right] {$\dot X(t)$}; \draw[dashed] (c) ++(-.3, .3, 0) -- ++(0, 0, .7); \end{tikzpicture} \end{document}
example_80002_combination_7
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \draw (sw) -- (nw) -- (ne) node[right] {$S_{\alpha(t)}$} -- (se) -- cycle; \draw[->] (c) -- ++(0, 0, .7) node[above left] {$N(\alpha(t))$}; \end{tikzpicture} \end{document}
example_80002_combination_9
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \draw (sw) -- (nw) -- (ne) node[right] {$S_{\alpha(t)}$} -- (se) -- cycle; \draw[->] (c) -- ++(0, 0, .7) node[above left] {$N(\alpha(t))$}; \draw[->] (c) -- ++(-.3, .3, 0) node[below right] {$X'(t)$}; \draw[->] (c) -- ++(-.3, .3, .7) node[above right] {$\dot X(t)$}; \end{tikzpicture} \end{document}
example_80002_combination_8
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \draw (sw) -- (nw) -- (ne) node[right] {$S_{\alpha(t)}$} -- (se) -- cycle; \draw[->] (c) -- ++(0, 0, .7) node[above left] {$N(\alpha(t))$}; \draw[->] (c) -- ++(-.3, .3, 0) node[below right] {$X'(t)$}; \end{tikzpicture} \end{document}
example_80002_combination_1
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \end{tikzpicture} \end{document}
example_80002_combination_6
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \draw (sw) -- (nw) -- (ne) node[right] {$S_{\alpha(t)}$} -- (se) -- cycle; \end{tikzpicture} \end{document}
example_80002_main
\documentclass[border=5mm]{standalone} \usepackage{tikz} \tikzset{ 3D/.style={ x={(-3.85mm, -3.85mm)}, y={(1cm, 0cm)}, z={(0cm, 1cm)}, }, } \begin{document} \begin{tikzpicture}[3D, scale=3] \tikzset{>=stealth, shorten >=1pt} \coordinate (sw) at (+1, -1, 0); \coordinate (nw) at (-1, -1, 0); \coordinate (ne) at (-1, +1, 0); \coordinate (se) at (+1, +1, 0); \coordinate (c) at (0, 0, 0); \draw (sw) -- (nw) -- (ne) node[right] {$S_{\alpha(t)}$} -- (se) -- cycle; \draw[->] (c) -- ++(0, 0, .7) node[above left] {$N(\alpha(t))$}; \draw[->] (c) -- ++(-.3, .3, 0) node[below right] {$X'(t)$}; \draw[->] (c) -- ++(-.3, .3, .7) node[above right] {$\dot X(t)$}; \draw[dashed] (c) ++(-.3, .3, 0) -- ++(0, 0, .7); \end{tikzpicture} \end{document}
example_80003_combination_1
\documentclass{beamer} \usepackage{tikz} \tikzstyle{arrow} = [thick,->] \tikzstyle{aAllele} = [text opacity=0, circle,text centered, fill=blue, text=white, minimum size = 0.5cm] \tikzstyle{bAllele} = [text opacity=0, circle, text centered, fill=red, text=white, minimum size = 0.5cm] \begin{document} \begin{frame} \centering \begin{tikzpicture} \def\names{24,23,33,22,32,11,21,31,41,00,10,20,30,40} %\def\coords{(2,4),(2,3),(3,3),(2,2),(3,2),(1,1),(2,1),(3,1),(4,1),(0,0),(1,0),(2,0),(3,0),(4,0)} \foreach \x in {0,1,2,3,4}{% \foreach \y in {0,1,2,3,4}{% \node[bAllele](\x\y)at (\x,\y){};% } } \foreach \i in \names{% \node[aAllele] at (\i) {};% } \path[green,thick](22) edge(23) edge(32); \end{tikzpicture} \end{frame} \end{document}
example_80003_main
\documentclass{beamer} \usepackage{tikz} \tikzstyle{arrow} = [thick,->] \tikzstyle{aAllele} = [text opacity=0, circle,text centered, fill=blue, text=white, minimum size = 0.5cm] \tikzstyle{bAllele} = [text opacity=0, circle, text centered, fill=red, text=white, minimum size = 0.5cm] \begin{document} \begin{frame} \centering \begin{tikzpicture} \def\names{24,23,33,22,32,11,21,31,41,00,10,20,30,40} %\def\coords{(2,4),(2,3),(3,3),(2,2),(3,2),(1,1),(2,1),(3,1),(4,1),(0,0),(1,0),(2,0),(3,0),(4,0)} \foreach \x in {0,1,2,3,4}{% \foreach \y in {0,1,2,3,4}{% \node[bAllele](\x\y)at (\x,\y){};% } } \foreach \i in \names{% \node[aAllele] at (\i) {};% } \path[green,thick](22) edge(23) edge(32); \end{tikzpicture} \end{frame} \end{document}
example_80004_combination_3
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes.multipart} \begin{document} \begin{frame}[fragile]{Testing} \begin{tikzpicture}[my shape/.style={ rectangle split, rectangle split parts=#1, draw, anchor=center}] \node [my shape=5] at (0,1) { a\nodepart{two}b\nodepart{three}c\nodepart{four}d\nodepart{five}e}; \node [my shape=5, rectangle split horizontal] at (2,2) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4\nodepart{five}5}; \node [my shape=3] at (3,0.5) { A\nodepart{two}B\nodepart{three}C}; \end{tikzpicture} \end{frame} \end{document}
example_80004_combination_4
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes.multipart} \begin{document} \begin{frame}[fragile]{Testing} \begin{tikzpicture}[my shape/.style={ rectangle split, rectangle split parts=#1, draw, anchor=center}] \node [my shape=5] at (0,1) { a\nodepart{two}b\nodepart{three}c\nodepart{four}d\nodepart{five}e}; \node [my shape=5, rectangle split horizontal] at (2,2) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4\nodepart{five}5}; \node [my shape=3] at (3,0.5) { A\nodepart{two}B\nodepart{three}C}; \node [my shape=4, rectangle split horizontal] at (1.5,0.5) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4}; \end{tikzpicture} \end{frame} \end{document}
example_80004_combination_5
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes.multipart} \begin{document} \begin{frame}[fragile]{Testing} \begin{tikzpicture}[my shape/.style={ rectangle split, rectangle split parts=#1, draw, anchor=center}] \node [my shape=5] at (0,1) { a\nodepart{two}b\nodepart{three}c\nodepart{four}d\nodepart{five}e}; \node [my shape=5, rectangle split horizontal] at (2,2) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4\nodepart{five}5}; \node [my shape=3] at (3,0.5) { A\nodepart{two}B\nodepart{three}C}; \node [my shape=4, rectangle split horizontal] at (1.5,0.5) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4}; \end{tikzpicture} \end{frame} \end{document}
example_80004_combination_2
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes.multipart} \begin{document} \begin{frame}[fragile]{Testing} \begin{tikzpicture}[my shape/.style={ rectangle split, rectangle split parts=#1, draw, anchor=center}] \node [my shape=5] at (0,1) { a\nodepart{two}b\nodepart{three}c\nodepart{four}d\nodepart{five}e}; \node [my shape=5, rectangle split horizontal] at (2,2) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4\nodepart{five}5}; \end{tikzpicture} \end{frame} \end{document}
example_80004_combination_1
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes.multipart} \begin{document} \begin{frame}[fragile]{Testing} \begin{tikzpicture}[my shape/.style={ rectangle split, rectangle split parts=#1, draw, anchor=center}] \node [my shape=5] at (0,1) { a\nodepart{two}b\nodepart{three}c\nodepart{four}d\nodepart{five}e}; \end{tikzpicture} \end{frame} \end{document}
example_80004_main
\documentclass{beamer} \usepackage{tikz} \usetikzlibrary{shapes.multipart} \begin{document} \begin{frame}[fragile]{Testing} \begin{tikzpicture}[my shape/.style={ rectangle split, rectangle split parts=#1, draw, anchor=center}] \node [my shape=5] at (0,1) { a\nodepart{two}b\nodepart{three}c\nodepart{four}d\nodepart{five}e}; \node [my shape=5, rectangle split horizontal] at (2,2) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4\nodepart{five}5}; \node [my shape=3] at (3,0.5) { A\nodepart{two}B\nodepart{three}C}; \node [my shape=4, rectangle split horizontal] at (1.5,0.5) { 1\nodepart{two}2\nodepart{three}3\nodepart{four}4}; \end{tikzpicture} \end{frame} \end{document}
example_80005_combination_2
\documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\myPos}[2]{#1,#2} \begin{document} \begin{tikzpicture}[remember picture,overlay] \xdef\myPoint{\myPos{5}{3}} \node[inner sep=0pt,anchor=center](A) at (\myPoint) {Hi(5,3)}; \node[inner sep=0pt,anchor=center]() at (\myPos{0}{0}){Hi(0,0)}; \end{tikzpicture} \end{document}
example_80005_combination_1
\documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\myPos}[2]{#1,#2} \begin{document} \begin{tikzpicture}[remember picture,overlay] \xdef\myPoint{\myPos{5}{3}} \node[inner sep=0pt,anchor=center](A) at (\myPoint) {Hi(5,3)}; \end{tikzpicture} \end{document}
example_80005_main
\documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\myPos}[2]{#1,#2} \begin{document} \begin{tikzpicture}[remember picture,overlay] \xdef\myPoint{\myPos{5}{3}} \node[inner sep=0pt,anchor=center](A) at (\myPoint) {Hi(5,3)}; \node[inner sep=0pt,anchor=center]() at (\myPos{0}{0}){Hi(0,0)}; \end{tikzpicture} \end{document}
example_80006_combination_1
\documentclass[tikz,margin=5]{standalone} \begin{document} \begin{tikzpicture}[x=(330:1.8cm),y=(30:1.8cm),z=(90:1cm), declare function={z(\t,\u)=-0.125*sin(\t*180)-0.25*sin(\u*180);}] \foreach \k/\drw/\fll/\z in {1/black/blue!20/0, 0.4/none/white/0,0.4/black/blue!20/0.5} \path[draw=\drw,fill=\fll] plot [domain=-\k:\k] ( \x, \k, {z( \x, \k)+\z}) -- plot [domain=\k:-\k] ( \k, \x, {z( \k, \x)+\z}) -- plot [domain=\k:-\k] ( \x, -\k, {z( \x,-\k)+\z}) -- plot [domain=-\k:\k] (-\k, \x, {z(-\k, \x)+\z}) -- cycle; \end{tikzpicture} \end{document}
example_80006_combination_2
\documentclass[tikz,margin=5]{standalone} \begin{document} \begin{tikzpicture}[x=(330:1.8cm),y=(30:1.8cm),z=(90:1cm), declare function={z(\t,\u)=-0.125*sin(\t*180)-0.25*sin(\u*180);}] \foreach \k/\drw/\fll/\z in {1/black/blue!20/0, 0.4/none/white/0,0.4/black/blue!20/0.5} \path[draw=\drw,fill=\fll] plot [domain=-\k:\k] ( \x, \k, {z( \x, \k)+\z}) -- plot [domain=\k:-\k] ( \k, \x, {z( \k, \x)+\z}) -- plot [domain=\k:-\k] ( \x, -\k, {z( \x,-\k)+\z}) -- plot [domain=-\k:\k] (-\k, \x, {z(-\k, \x)+\z}) -- cycle; \draw [dotted] ( .4, .4, {z( .4, .4)+.5}) -- ( .4, .4, {z( .4, .4)}) (-.4,-.4, {z(-.4,-.4)+.5}) -- (-.4,-.4, {z(-.4,-.4)}) ( .4,-.4, {z( .4,-.4)+.5}) -- ( .4,-.4, {z( .4,-.4)}); \end{tikzpicture} \end{document}
example_80006_main
\documentclass[tikz,margin=5]{standalone} \begin{document} \begin{tikzpicture}[x=(330:1.8cm),y=(30:1.8cm),z=(90:1cm), declare function={z(\t,\u)=-0.125*sin(\t*180)-0.25*sin(\u*180);}] \foreach \k/\drw/\fll/\z in {1/black/blue!20/0, 0.4/none/white/0,0.4/black/blue!20/0.5} \path[draw=\drw,fill=\fll] plot [domain=-\k:\k] ( \x, \k, {z( \x, \k)+\z}) -- plot [domain=\k:-\k] ( \k, \x, {z( \k, \x)+\z}) -- plot [domain=\k:-\k] ( \x, -\k, {z( \x,-\k)+\z}) -- plot [domain=-\k:\k] (-\k, \x, {z(-\k, \x)+\z}) -- cycle; \draw [dotted] ( .4, .4, {z( .4, .4)+.5}) -- ( .4, .4, {z( .4, .4)}) (-.4,-.4, {z(-.4,-.4)+.5}) -- (-.4,-.4, {z(-.4,-.4)}) ( .4,-.4, {z( .4,-.4)+.5}) -- ( .4,-.4, {z( .4,-.4)}); \end{tikzpicture} \end{document}
example_80007_combination_1
\documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\myPos}{current page.center} \newcommand{\myP}[2]{#1,#2} \begin{document} % Works: \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0pt,anchor=center]() at ($(current page.center)$){Hi}; \end{tikzpicture} \end{document}
example_80007_combination_3
\documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\myPos}{current page.center} \newcommand{\myP}[2]{#1,#2} \begin{document} % Works: \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0pt,anchor=center]() at ($(current page.center)$){Hi}; \end{tikzpicture} \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0pt,anchor=center](A) at ($(\myPos)+(\myP{9}{3})$) {Hi(9,3)}; \end{tikzpicture} \end{document}
example_80007_main
\documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \newcommand{\myPos}{current page.center} \newcommand{\myP}[2]{#1,#2} \begin{document} % Works: \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0pt,anchor=center]() at ($(current page.center)$){Hi}; \end{tikzpicture} \begin{tikzpicture}[remember picture,overlay] \node[inner sep=0pt,anchor=center](A) at ($(\myPos)+(\myP{9}{3})$) {Hi(9,3)}; \end{tikzpicture} \end{document}
example_80008_combination_10
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; % new path, drawing from A via D to B % name this path A, to use later \draw [name path=A] (R,0) coordinate[label=below right:$A$] (A) -- (R,{R*tan(theta)}) coordinate [label=above right:$D$] (D) -- (B); % path that doesn't influence bounding box (overlay option) % starting at B, using polar coordinates to make the path tangent % to the circle % name path B to use below \path[overlay,name path=B] (B) -- ++(theta-90:R); % calculate intersections of ADB path and the invisible path, name the first % intersection E. draw dasdhed line from B to E \draw [name intersections={of=A and B,by={E,}},dashed] (B) -- (E) node[right,font=\scriptsize] {$E$}; \draw [dashed] (B) -- (A); % alternative way of placing second theta-node, saves manual adjustment % relative to the line BC \path (A) arc[start angle=0,end angle=theta/2,radius=R] node[inner sep=1pt,fill=white]{$\theta$}; \end{tikzpicture} \end{document}
example_80008_combination_8
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; % new path, drawing from A via D to B % name this path A, to use later \draw [name path=A] (R,0) coordinate[label=below right:$A$] (A) -- (R,{R*tan(theta)}) coordinate [label=above right:$D$] (D) -- (B); % path that doesn't influence bounding box (overlay option) % starting at B, using polar coordinates to make the path tangent % to the circle % name path B to use below \path[overlay,name path=B] (B) -- ++(theta-90:R); % calculate intersections of ADB path and the invisible path, name the first % intersection E. draw dasdhed line from B to E \draw [name intersections={of=A and B,by={E,}},dashed] (B) -- (E) node[right,font=\scriptsize] {$E$}; \end{tikzpicture} \end{document}
example_80008_combination_1
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; \end{tikzpicture} \end{document}
example_80008_combination_6
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; % new path, drawing from A via D to B % name this path A, to use later \draw [name path=A] (R,0) coordinate[label=below right:$A$] (A) -- (R,{R*tan(theta)}) coordinate [label=above right:$D$] (D) -- (B); \end{tikzpicture} \end{document}
example_80008_combination_7
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; % new path, drawing from A via D to B % name this path A, to use later \draw [name path=A] (R,0) coordinate[label=below right:$A$] (A) -- (R,{R*tan(theta)}) coordinate [label=above right:$D$] (D) -- (B); % path that doesn't influence bounding box (overlay option) % starting at B, using polar coordinates to make the path tangent % to the circle % name path B to use below \path[overlay,name path=B] (B) -- ++(theta-90:R); \end{tikzpicture} \end{document}
example_80008_combination_9
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; % new path, drawing from A via D to B % name this path A, to use later \draw [name path=A] (R,0) coordinate[label=below right:$A$] (A) -- (R,{R*tan(theta)}) coordinate [label=above right:$D$] (D) -- (B); % path that doesn't influence bounding box (overlay option) % starting at B, using polar coordinates to make the path tangent % to the circle % name path B to use below \path[overlay,name path=B] (B) -- ++(theta-90:R); % calculate intersections of ADB path and the invisible path, name the first % intersection E. draw dasdhed line from B to E \draw [name intersections={of=A and B,by={E,}},dashed] (B) -- (E) node[right,font=\scriptsize] {$E$}; \draw [dashed] (B) -- (A); \end{tikzpicture} \end{document}
example_80008_combination_3
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; \end{tikzpicture} \end{document}
example_80008_combination_4
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; \end{tikzpicture} \end{document}
example_80008_combination_5
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; \end{tikzpicture} \end{document}
example_80008_combination_2
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; \end{tikzpicture} \end{document}
example_80008_main
\documentclass[margin=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{intersections} \begin{document} \begin{tikzpicture}[ % scale=4.0, axes/.style={thick,->}, declare function={ % define functions/constants for angle and radius theta=30; R=4; }, % reduce font size for labels every label/.append style={font=\scriptsize} ] % addition: base axes length on radius \draw[axes] (-1.2*R,0) -- (1.2*R,0) node[right] {$x$}; \draw[axes] (0,-1.2*R) -- (0,1.2*R) node[above] {$y$}; % addition: add named coordinate with label in origin % use constant defined above for radius \draw (0,0) coordinate[label=below left:$O$] (O) circle[radius=R]; % addition: start point of arc relative to radius \draw[->] (0.2*R,0) node[above right]{$\theta$} arc[start angle=0, end angle=theta, radius=0.2*R]; % additions; % - named coordinates with labels in B and C % - moved drawing of "1" node to this path (no need for a second one I think) \draw (O) -- node[below]{$\cos \theta$} ({R*cos(theta)},0) coordinate [label=below:$C$] (C) -- ({R*cos(theta)},{R*sin(theta)}) coordinate[label=above:$B$] (B) -- node[above]{$1$} cycle; % new path, drawing from A via D to B % name this path A, to use later \draw [name path=A] (R,0) coordinate[label=below right:$A$] (A) -- (R,{R*tan(theta)}) coordinate [label=above right:$D$] (D) -- (B); % path that doesn't influence bounding box (overlay option) % starting at B, using polar coordinates to make the path tangent % to the circle % name path B to use below \path[overlay,name path=B] (B) -- ++(theta-90:R); % calculate intersections of ADB path and the invisible path, name the first % intersection E. draw dasdhed line from B to E \draw [name intersections={of=A and B,by={E,}},dashed] (B) -- (E) node[right,font=\scriptsize] {$E$}; \draw [dashed] (B) -- (A); % alternative way of placing second theta-node, saves manual adjustment % relative to the line BC \path (A) arc[start angle=0,end angle=theta/2,radius=R] node[inner sep=1pt,fill=white]{$\theta$}; \end{tikzpicture} \end{document}
example_80009_combination_7
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \draw (O) -- (B) -- (C); \draw (B) -- (D) -- (A); \draw [dashed] (B) -- (A); \end{tikzpicture} \end{document}
example_80009_combination_9
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \draw (O) -- (B) -- (C); \draw (B) -- (D) -- (A); \draw [dashed] (B) -- (A); \draw [dashed] (B) -- (E); \pic ["$\theta$", draw, ->, angle radius=1cm] {angle=C--O--B}; \path (O) -- (B) node [midway, above] {$1$}; \end{tikzpicture} \end{document}
example_80009_combination_8
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \draw (O) -- (B) -- (C); \draw (B) -- (D) -- (A); \draw [dashed] (B) -- (A); \draw [dashed] (B) -- (E); \pic ["$\theta$", draw, ->, angle radius=1cm] {angle=C--O--B}; \end{tikzpicture} \end{document}
example_80009_combination_1
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \end{tikzpicture} \end{document}
example_80009_combination_6
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \draw (O) -- (B) -- (C); \draw (B) -- (D) -- (A); \end{tikzpicture} \end{document}
example_80009_combination_5
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \end{tikzpicture} \end{document}
example_80009_combination_2
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \end{tikzpicture} \end{document}
example_80009_combination_3
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \end{tikzpicture} \end{document}
example_80009_combination_4
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \end{tikzpicture} \end{document}
example_80009_combination_10
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \draw (O) -- (B) -- (C); \draw (B) -- (D) -- (A); \draw [dashed] (B) -- (A); \draw [dashed] (B) -- (E); \pic ["$\theta$", draw, ->, angle radius=1cm] {angle=C--O--B}; \path (O) -- (B) node [midway, above] {$1$}; \path (O) -- (C) node [midway, below] {$\cos\theta$}; \end{tikzpicture} \end{document}
example_80009_main
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{angles,quotes} \begin{document} \begin{tikzpicture}[x=4cm, y=4cm, axes/.style={thin, gray, ->}, dot/.style={.. dot={#1:0:;}}, .. dot/.style args={#1:#2:#3;}{insert path={ coordinate (#1) node [circle, fill, inner sep=0, minimum size=2pt,label=#2:#1]{} }}] \clip (-0.25, -0.25) rectangle (1.5,1.5); \draw[axes] (-1.2,0) -- (1.2,0) node[right] {$x$}; \draw[axes] (0,-1.2) -- (0,1.2) node[above] {$y$}; \def\a{40} \path (0,0) [dot=O:225] (0:1) [dot=A:315] (\a:1) [dot=B:90] (0:cos \a) [dot=C:270] (\a:sec \a) [dot=D] (1, cosec \a-cot \a) [dot=E]; \draw (O) circle[radius=1]; \draw (O) -- (B) -- (C); \draw (B) -- (D) -- (A); \draw [dashed] (B) -- (A); \draw [dashed] (B) -- (E); \pic ["$\theta$", draw, ->, angle radius=1cm] {angle=C--O--B}; \path (O) -- (B) node [midway, above] {$1$}; \path (O) -- (C) node [midway, below] {$\cos\theta$}; \end{tikzpicture} \end{document}
example_80010_combination_2
\documentclass{standalone} \usepackage[alignedleftspaceno]{amsmath} \usepackage{calc} \usepackage{tikz} \newcommand {\TESTFRACTION} {% \parbox[c] [\heightof{${}\left(\frac{a}{1}\right){}$}][c] {\widthof{${}\left(\frac{a}{1}\right){}$}} {${}\left(\frac{b}{1}\right){}$} } \begin{document} \begin{tikzpicture} \path node { $% \begin{gathered} \TESTFRACTION \end{gathered} $ }; \end{tikzpicture} \end{document}
example_80010_combination_1
\documentclass{standalone} \usepackage[alignedleftspaceno]{amsmath} \usepackage{calc} \usepackage{tikz} \newcommand {\TESTFRACTION} {% \parbox[c] [\heightof{${}\left(\frac{a}{1}\right){}$}][c] {\widthof{${}\left(\frac{a}{1}\right){}$}} {${}\left(\frac{b}{1}\right){}$} } \begin{document} \begin{tikzpicture} \path node { $% \begin{gathered} \TESTFRACTION \end{gathered} $ }; \end{tikzpicture} \end{document}
example_80010_main
\documentclass{standalone} \usepackage[alignedleftspaceno]{amsmath} \usepackage{calc} \usepackage{tikz} \newcommand {\TESTFRACTION} {% \parbox[c] [\heightof{${}\left(\frac{a}{1}\right){}$}][c] {\widthof{${}\left(\frac{a}{1}\right){}$}} {${}\left(\frac{b}{1}\right){}$} } \begin{document} \begin{tikzpicture} \path node { $% \begin{gathered} \TESTFRACTION \end{gathered} $ }; \end{tikzpicture} \end{document}
example_80011_combination_1
\documentclass{standalone} \usepackage{amsmath} \usepackage{picture} \usepackage{tikz} \newlength{\TFW}\newlength{\TFH} \newcommand{\TESTFRACTION}{% \settowidth{\TFW}{$\left(\frac{a}{1}\right)$}% \settoheight{\TFH}{$\left(\frac{a}{1}\right)$}% \makebox(\TFW,\TFH){$\left(\frac{b}{1}\right)$}% } \begin{document} \begin{tikzpicture} \path node {% $ \begin{gathered} \TESTFRACTION \end{gathered} $% }; \end{tikzpicture} \end{document}
example_80011_main
\documentclass{standalone} \usepackage{amsmath} \usepackage{picture} \usepackage{tikz} \newlength{\TFW}\newlength{\TFH} \newcommand{\TESTFRACTION}{% \settowidth{\TFW}{$\left(\frac{a}{1}\right)$}% \settoheight{\TFH}{$\left(\frac{a}{1}\right)$}% \makebox(\TFW,\TFH){$\left(\frac{b}{1}\right)$}% } \begin{document} \begin{tikzpicture} \path node {% $ \begin{gathered} \TESTFRACTION \end{gathered} $% }; \end{tikzpicture} \end{document}
example_80012_combination_1
\documentclass[tikz,margin=5]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.14} \begin{document} \begin{tikzpicture} \begin{axis}[ymin=0, ymax=33, ytick={0,3,...,33}, ytick align=outside, ytick pos=left, xtick={0,2,...,22}, xtick align=outside, xtick pos=left, xlabel=Days, ylabel={Laccase activity [U/g$_{ds}$]}, legend pos=north west, legend style={draw=none}] \addplot+[ black, mark options={black, scale=0.75}, smooth, error bars/.cd, y fixed, y dir=both, y explicit ] table [x=x, y=y,y error=error, col sep=comma] { x, y, error 0, 0, 0 2, 0.2559, 0.0603 4, 3.6438, 0.2075 6, 8.0834, 0.6724 8, 9.3111, 0.7168 10, 3.3177, 0.2275 12, 1.6083, 0.0820 14, 26.0593, 1.5983 16, 29.4135, 1.5789 18, 24.3474, 1.3521 20, 13.6993, 1.0829 }; \addlegendentry{10.0 g} \end{axis} \end{tikzpicture} \end{document}
example_80012_main
\documentclass[tikz,margin=5]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.14} \begin{document} \begin{tikzpicture} \begin{axis}[ymin=0, ymax=33, ytick={0,3,...,33}, ytick align=outside, ytick pos=left, xtick={0,2,...,22}, xtick align=outside, xtick pos=left, xlabel=Days, ylabel={Laccase activity [U/g$_{ds}$]}, legend pos=north west, legend style={draw=none}] \addplot+[ black, mark options={black, scale=0.75}, smooth, error bars/.cd, y fixed, y dir=both, y explicit ] table [x=x, y=y,y error=error, col sep=comma] { x, y, error 0, 0, 0 2, 0.2559, 0.0603 4, 3.6438, 0.2075 6, 8.0834, 0.6724 8, 9.3111, 0.7168 10, 3.3177, 0.2275 12, 1.6083, 0.0820 14, 26.0593, 1.5983 16, 29.4135, 1.5789 18, 24.3474, 1.3521 20, 13.6993, 1.0829 }; \addlegendentry{10.0 g} \end{axis} \end{tikzpicture} \end{document}
example_80013_main
\documentclass{article} \usepackage{pgfplotstable,filecontents} \begin{document} \definecolor{bblue}{HTML}{82B1FF} \definecolor{rred}{HTML}{FF8A80} \begin{filecontents}{testdata.csv} ALB,VAL,ERR,COR AA,20.61,0.32,bblue AA,20.88,0.55,bblue AA,20.41,0.29,bblue AAA,26.22,0.94,bblue AAA,26.43,0.45,bblue AAA,26.86,0.61,bblue AAAA,29.91,0.76,bblue AAAA,30.39,0.11,bblue AAAA,30.11,0.49,bblue AAAAA,34.71,0.43,rred AAAAA,34.87,0.99,rred AAAAA,34.81,0.26,rred AAAAAA,40.33,0.64,rred AAAAAA,40.18,0.03,rred AAAAAA,40.4,0.83,rred AAAAAAA,45.77,0.47,rred AAAAAAA,45.93,0.95,rred AAAAAAA,45.35,0.3,rred AAAAAAAA,50.35,0.13,rred AAAAAAAA,50.34,0.85,rred AAAAAAAA,50.66,0.55,rred \end{filecontents} \pgfplotstableread[col sep=comma]{testdata.csv}\datatable \begin{figure} \begin{tikzpicture} \begin{axis}[ ylabel=A labels, y label style={at={(-0.1,0.5)}}, y = -0.3cm, xbar, %=2*\pgflinewidth, draw opacity=0.5, bar width=6pt, enlarge y limits={abs=7pt}, width=.36\textwidth, xlabel= unit, yticklabels from table={\datatable}{ALB}, yticklabel style={font=\small,xshift=0.5ex, anchor=east}, ytick=data, xmajorgrids ] %\pgfplotsinvokeforeach {0}{ \addplot %style={color=cyan,fill=bblue,mark=none}; +[error bars/.cd, x dir=both,x explicit] table[y expr={(\coordindex) - mod(\coordindex+0.001,3)/8},x=VAL, x error=ERR ] {\datatable}; \end{axis} \end{tikzpicture} \end{figure} \end{document}
example_80014_combination_1
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{backgrounds,decorations.pathmorphing} \begin{document} \begin{tikzpicture}[x=(330:1.414cm),y=(90:2cm),z=(210:2cm),line cap=round] \foreach \layer/\dotcolor [count=\k] in {background/green, main/blue}{ \begin{pgfonlayer}{\layer} \path [fill=black, fill opacity=0.875] (0,0,\k) -- (1,0,\k) -- (1,1,\k) -- (0,1,\k) -- cycle; \foreach \i in {1,...,4}\foreach \j in {1,...,4} \path [fill=\dotcolor] (\j*.2, \i*.2, \k) circle [radius=.0125] coordinate (n-\i-\j-\k); \end{pgfonlayer} } \begin{pgfonlayer}{background} \foreach \i in {1,...,4}\foreach \j in {1,...,4} \draw [gray, decoration={snake, amplitude=1}, decorate] (n-\i-\j-1) -- (n-\i-\j-2); \end{pgfonlayer} \end{tikzpicture} \end{document}
example_80014_main
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{backgrounds,decorations.pathmorphing} \begin{document} \begin{tikzpicture}[x=(330:1.414cm),y=(90:2cm),z=(210:2cm),line cap=round] \foreach \layer/\dotcolor [count=\k] in {background/green, main/blue}{ \begin{pgfonlayer}{\layer} \path [fill=black, fill opacity=0.875] (0,0,\k) -- (1,0,\k) -- (1,1,\k) -- (0,1,\k) -- cycle; \foreach \i in {1,...,4}\foreach \j in {1,...,4} \path [fill=\dotcolor] (\j*.2, \i*.2, \k) circle [radius=.0125] coordinate (n-\i-\j-\k); \end{pgfonlayer} } \begin{pgfonlayer}{background} \foreach \i in {1,...,4}\foreach \j in {1,...,4} \draw [gray, decoration={snake, amplitude=1}, decorate] (n-\i-\j-1) -- (n-\i-\j-2); \end{pgfonlayer} \end{tikzpicture} \end{document}
example_80015_combination_3
\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} \draw[-Triangle,very thick] (-6pt, -22pt) -- (6pt, 22pt); \draw[very thick, fill=white] (-12pt, -12pt) rectangle (10pt, 10pt); \end{tikzpicture} \end{document}
example_80015_combination_2
\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} \draw[-Triangle,very thick] (-6pt, -22pt) -- (6pt, 22pt); \draw[very thick, fill=white] (-12pt, -12pt) rectangle (10pt, 10pt); \end{tikzpicture} \end{document}
example_80015_combination_1
\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} \draw[-Triangle,very thick] (-6pt, -22pt) -- (6pt, 22pt); \end{tikzpicture} \end{document}
example_80015_main
\documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} \draw[-Triangle,very thick] (-6pt, -22pt) -- (6pt, 22pt); \draw[very thick, fill=white] (-12pt, -12pt) rectangle (10pt, 10pt); \end{tikzpicture} \end{document}
example_80016_combination_2
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{calc,decorations.pathreplacing,decorations.markings} \tikzset{big arrow/.style={ /tikz/big arrow/.cd, #1, /tikz/.cd, decoration={show path construction, curveto code={% % \path [discard, decoration={ markings, mark=at position -\bigarrowlength with {\coordinate (@); }}, decorate] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast); \path[big arrow/.cd,#1] let \p1=(\tikzinputsegmentfirst), \p2=(\tikzinputsegmentsupporta), \p3=(\tikzinputsegmentsupportb), \p4=(@), \p5=(\tikzinputsegmentlast), \n1={atan2(\y2-\y1,\x2-\x1)}, \n2={atan2(\y4-\y3,\x4-\x3)} in (\p1) -- ++(\n1+90:\bigarrowstartwidth/2) .. controls ++(\x2-\x1, \y2-\y1) and ++(\x3-\x4, \y3-\y4) .. ($(\p4)+(\n2+90:\bigarrowendwidth/2)$) -- ($(\p4)+(\n2+90:\bigarrowwidth/2)$) -- (\p5) -- ($(\p4)+(\n2-90:\bigarrowwidth/2)$) -- ($(\p4)+(\n2-90:\bigarrowendwidth/2)$) .. controls ++(\x3-\x4, \y3-\y4) and ++(\x2-\x1, \y2-\y1) .. ($(\p1)+(\n1-90:\bigarrowstartwidth/2)$) -- cycle; % }}, decorate }, big arrow/.cd, start width/.store in=\bigarrowstartwidth, end width/.store in=\bigarrowendwidth, length/.store in=\bigarrowlength, width/.store in=\bigarrowwidth, start width=1cm, end width=0.5cm, length=0.25cm, width=1cm, .unknown/.code=% {\let\searchname=\pgfkeyscurrentname\pgfkeysalso{/tikz/\searchname=#1}}% } \begin{document} \begin{tikzpicture} \draw [big arrow={fill=red}] (0,0) to [bend left] (5,5); \draw [big arrow={fill=green, length=0.5cm}] (0,0) to [bend right] (-3,3); \end{tikzpicture} \end{document}
example_80016_combination_3
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{calc,decorations.pathreplacing,decorations.markings} \tikzset{big arrow/.style={ /tikz/big arrow/.cd, #1, /tikz/.cd, decoration={show path construction, curveto code={% % \path [discard, decoration={ markings, mark=at position -\bigarrowlength with {\coordinate (@); }}, decorate] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast); \path[big arrow/.cd,#1] let \p1=(\tikzinputsegmentfirst), \p2=(\tikzinputsegmentsupporta), \p3=(\tikzinputsegmentsupportb), \p4=(@), \p5=(\tikzinputsegmentlast), \n1={atan2(\y2-\y1,\x2-\x1)}, \n2={atan2(\y4-\y3,\x4-\x3)} in (\p1) -- ++(\n1+90:\bigarrowstartwidth/2) .. controls ++(\x2-\x1, \y2-\y1) and ++(\x3-\x4, \y3-\y4) .. ($(\p4)+(\n2+90:\bigarrowendwidth/2)$) -- ($(\p4)+(\n2+90:\bigarrowwidth/2)$) -- (\p5) -- ($(\p4)+(\n2-90:\bigarrowwidth/2)$) -- ($(\p4)+(\n2-90:\bigarrowendwidth/2)$) .. controls ++(\x3-\x4, \y3-\y4) and ++(\x2-\x1, \y2-\y1) .. ($(\p1)+(\n1-90:\bigarrowstartwidth/2)$) -- cycle; % }}, decorate }, big arrow/.cd, start width/.store in=\bigarrowstartwidth, end width/.store in=\bigarrowendwidth, length/.store in=\bigarrowlength, width/.store in=\bigarrowwidth, start width=1cm, end width=0.5cm, length=0.25cm, width=1cm, .unknown/.code=% {\let\searchname=\pgfkeyscurrentname\pgfkeysalso{/tikz/\searchname=#1}}% } \begin{document} \begin{tikzpicture} \draw [big arrow={fill=red}] (0,0) to [bend left] (5,5); \draw [big arrow={fill=green, length=0.5cm}] (0,0) to [bend right] (-3,3); \draw [big arrow={fill=blue, start width=1.5cm, end width=1cm, width=1.5cm, length=0.75cm}] (0,0) to [bend right] (4,0); \end{tikzpicture} \end{document}
example_80016_combination_1
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{calc,decorations.pathreplacing,decorations.markings} \tikzset{big arrow/.style={ /tikz/big arrow/.cd, #1, /tikz/.cd, decoration={show path construction, curveto code={% % \path [discard, decoration={ markings, mark=at position -\bigarrowlength with {\coordinate (@); }}, decorate] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast); \path[big arrow/.cd,#1] let \p1=(\tikzinputsegmentfirst), \p2=(\tikzinputsegmentsupporta), \p3=(\tikzinputsegmentsupportb), \p4=(@), \p5=(\tikzinputsegmentlast), \n1={atan2(\y2-\y1,\x2-\x1)}, \n2={atan2(\y4-\y3,\x4-\x3)} in (\p1) -- ++(\n1+90:\bigarrowstartwidth/2) .. controls ++(\x2-\x1, \y2-\y1) and ++(\x3-\x4, \y3-\y4) .. ($(\p4)+(\n2+90:\bigarrowendwidth/2)$) -- ($(\p4)+(\n2+90:\bigarrowwidth/2)$) -- (\p5) -- ($(\p4)+(\n2-90:\bigarrowwidth/2)$) -- ($(\p4)+(\n2-90:\bigarrowendwidth/2)$) .. controls ++(\x3-\x4, \y3-\y4) and ++(\x2-\x1, \y2-\y1) .. ($(\p1)+(\n1-90:\bigarrowstartwidth/2)$) -- cycle; % }}, decorate }, big arrow/.cd, start width/.store in=\bigarrowstartwidth, end width/.store in=\bigarrowendwidth, length/.store in=\bigarrowlength, width/.store in=\bigarrowwidth, start width=1cm, end width=0.5cm, length=0.25cm, width=1cm, .unknown/.code=% {\let\searchname=\pgfkeyscurrentname\pgfkeysalso{/tikz/\searchname=#1}}% } \begin{document} \begin{tikzpicture} \draw [big arrow={fill=red}] (0,0) to [bend left] (5,5); \end{tikzpicture} \end{document}
example_80016_main
\documentclass[tikz,margin=5]{standalone} \usetikzlibrary{calc,decorations.pathreplacing,decorations.markings} \tikzset{big arrow/.style={ /tikz/big arrow/.cd, #1, /tikz/.cd, decoration={show path construction, curveto code={% % \path [discard, decoration={ markings, mark=at position -\bigarrowlength with {\coordinate (@); }}, decorate] (\tikzinputsegmentfirst) .. controls (\tikzinputsegmentsupporta) and (\tikzinputsegmentsupportb) .. (\tikzinputsegmentlast); \path[big arrow/.cd,#1] let \p1=(\tikzinputsegmentfirst), \p2=(\tikzinputsegmentsupporta), \p3=(\tikzinputsegmentsupportb), \p4=(@), \p5=(\tikzinputsegmentlast), \n1={atan2(\y2-\y1,\x2-\x1)}, \n2={atan2(\y4-\y3,\x4-\x3)} in (\p1) -- ++(\n1+90:\bigarrowstartwidth/2) .. controls ++(\x2-\x1, \y2-\y1) and ++(\x3-\x4, \y3-\y4) .. ($(\p4)+(\n2+90:\bigarrowendwidth/2)$) -- ($(\p4)+(\n2+90:\bigarrowwidth/2)$) -- (\p5) -- ($(\p4)+(\n2-90:\bigarrowwidth/2)$) -- ($(\p4)+(\n2-90:\bigarrowendwidth/2)$) .. controls ++(\x3-\x4, \y3-\y4) and ++(\x2-\x1, \y2-\y1) .. ($(\p1)+(\n1-90:\bigarrowstartwidth/2)$) -- cycle; % }}, decorate }, big arrow/.cd, start width/.store in=\bigarrowstartwidth, end width/.store in=\bigarrowendwidth, length/.store in=\bigarrowlength, width/.store in=\bigarrowwidth, start width=1cm, end width=0.5cm, length=0.25cm, width=1cm, .unknown/.code=% {\let\searchname=\pgfkeyscurrentname\pgfkeysalso{/tikz/\searchname=#1}}% } \begin{document} \begin{tikzpicture} \draw [big arrow={fill=red}] (0,0) to [bend left] (5,5); \draw [big arrow={fill=green, length=0.5cm}] (0,0) to [bend right] (-3,3); \draw [big arrow={fill=blue, start width=1.5cm, end width=1cm, width=1.5cm, length=0.75cm}] (0,0) to [bend right] (4,0); \end{tikzpicture} \end{document}
example_80017_combination_9
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; %the inscription of the load \notation{1}{middle}{$F_1$}; \notation{1}{end}{$F_2$}; %the deflection curves % without correction % \foreach [evaluate={\in=180-\b*2}] \b in {5,10,...,30} % \draw[red,-, ultra thick] (begin) to[out=0,in=\in] (-\b:5); % quater circle with full radius % \draw[red] (begin) -- (end) arc (0:-90:5) -- cycle; \end{tikzpicture} \end{document}
example_80017_combination_7
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; %the inscription of the load \notation{1}{middle}{$F_1$}; \notation{1}{end}{$F_2$}; \end{tikzpicture} \end{document}
example_80017_combination_6
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; %the inscription of the load \notation{1}{middle}{$F_1$}; \end{tikzpicture} \end{document}
example_80017_combination_1
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \end{tikzpicture} \end{document}
example_80017_combination_8
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; %the inscription of the load \notation{1}{middle}{$F_1$}; \notation{1}{end}{$F_2$}; %the deflection curves % without correction % \foreach [evaluate={\in=180-\b*2}] \b in {5,10,...,30} % \draw[red,-, ultra thick] (begin) to[out=0,in=\in] (-\b:5); \end{tikzpicture} \end{document}
example_80017_combination_2
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; \end{tikzpicture} \end{document}
example_80017_combination_5
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; \end{tikzpicture} \end{document}
example_80017_combination_10
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; %the inscription of the load \notation{1}{middle}{$F_1$}; \notation{1}{end}{$F_2$}; %the deflection curves % without correction % \foreach [evaluate={\in=180-\b*2}] \b in {5,10,...,30} % \draw[red,-, ultra thick] (begin) to[out=0,in=\in] (-\b:5); % quater circle with full radius % \draw[red] (begin) -- (end) arc (0:-90:5) -- cycle; % polar coordinates with some correction of the radius to account for bend \foreach [evaluate={\in=180-\b*2}] \b in {5,10,...,30}{ \draw[-, ultra thick] (begin) to[out=0,in=\in] (-\b:5-\b*0.01); % quater circles with sortened radius % \draw[red] (begin) -- (5-\b*0.01,0) arc (0:-90:5-\b*0.01) -- cycle; } \end{tikzpicture} \end{document}
example_80017_combination_4
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; \end{tikzpicture} \end{document}
example_80017_combination_3
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; \end{tikzpicture} \end{document}
example_80017_main
\documentclass{scrartcl} \usepackage{stanli} \usetikzlibrary{decorations.pathreplacing} \begin{document} \begin{tikzpicture} %the points \point{begin}{0}{0}; \point{middle}{2.5}{0}; \point{end}{5}{0}; %the beam \beam{2}{begin}{end}; %the support \support{3}{begin}[-90]; %the load \load{1}{middle}[90]; \load{1}{end}[90]; %the inscription of the load \notation{1}{middle}{$F_1$}; \notation{1}{end}{$F_2$}; %the deflection curves % without correction % \foreach [evaluate={\in=180-\b*2}] \b in {5,10,...,30} % \draw[red,-, ultra thick] (begin) to[out=0,in=\in] (-\b:5); % quater circle with full radius % \draw[red] (begin) -- (end) arc (0:-90:5) -- cycle; % polar coordinates with some correction of the radius to account for bend \foreach [evaluate={\in=180-\b*2}] \b in {5,10,...,30}{ \draw[-, ultra thick] (begin) to[out=0,in=\in] (-\b:5-\b*0.01); % quater circles with sortened radius % \draw[red] (begin) -- (5-\b*0.01,0) arc (0:-90:5-\b*0.01) -- cycle; } \end{tikzpicture} \end{document}
example_80018_combination_4
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \draw[ thick,brown!75] (-2,-2) grid[step=10mm] ++ (8,15); % axis \draw[-Stealth] (0,-1) -- (0,11) node[below right] {$y$}; \end{tikzpicture} \end{document}
example_80018_combination_3
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \draw[ thick,brown!75] (-2,-2) grid[step=10mm] ++ (8,15); \end{tikzpicture} \end{document}
example_80018_combination_2
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \end{tikzpicture} \end{document}
example_80018_combination_5
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \draw[ thick,brown!75] (-2,-2) grid[step=10mm] ++ (8,15); % axis \draw[-Stealth] (0,-1) -- (0,11) node[below right] {$y$}; \draw[-Stealth] (-1,0) -- (5, 0) node[below left] {$x$}; \end{tikzpicture} \end{document}
example_80018_combination_6
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \draw[ thick,brown!75] (-2,-2) grid[step=10mm] ++ (8,15); % axis \draw[-Stealth] (0,-1) -- (0,11) node[below right] {$y$}; \draw[-Stealth] (-1,0) -- (5, 0) node[below left] {$x$}; \foreach \i in {1,...,4}{\draw (\i,1mm) -- + (0,-2mm) node[below] {\i};} \foreach \i in {2,4,...,10}{\draw (1mm,\i) -- + (-2mm,0) node[ left] {\i};} % curve \draw[very thick, red] plot[domain= -1:5] (\x, \x*\x - 5*\x + 6); \end{tikzpicture} \end{document}
example_80018_combination_1
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \end{tikzpicture} \end{document}
example_80018_combination_7
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \draw[ thick,brown!75] (-2,-2) grid[step=10mm] ++ (8,15); % axis \draw[-Stealth] (0,-1) -- (0,11) node[below right] {$y$}; \draw[-Stealth] (-1,0) -- (5, 0) node[below left] {$x$}; \foreach \i in {1,...,4}{\draw (\i,1mm) -- + (0,-2mm) node[below] {\i};} \foreach \i in {2,4,...,10}{\draw (1mm,\i) -- + (-2mm,0) node[ left] {\i};} % curve \draw[very thick, red] plot[domain= -1:5] (\x, \x*\x - 5*\x + 6); \draw plot[mark=*] coordinates {(2.5,-0.25)}; \end{tikzpicture} \end{document}
example_80018_main
\documentclass[tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta} \begin{document} \begin{tikzpicture} % grid \draw[ thin,brown!25] (-2,-2) grid[step= 1mm] ++ (8,15); \draw[semithick,brown!50] (-2,-2) grid[step= 5mm] ++ (8,15); \draw[ thick,brown!75] (-2,-2) grid[step=10mm] ++ (8,15); % axis \draw[-Stealth] (0,-1) -- (0,11) node[below right] {$y$}; \draw[-Stealth] (-1,0) -- (5, 0) node[below left] {$x$}; \foreach \i in {1,...,4}{\draw (\i,1mm) -- + (0,-2mm) node[below] {\i};} \foreach \i in {2,4,...,10}{\draw (1mm,\i) -- + (-2mm,0) node[ left] {\i};} % curve \draw[very thick, red] plot[domain= -1:5] (\x, \x*\x - 5*\x + 6); \draw plot[mark=*] coordinates {(2.5,-0.25)}; \end{tikzpicture} \end{document}
example_80019_main
\documentclass{article} \usepackage[gobble=auto]{pythontex} \usepackage{pgfplots} \begin{document} \begin{pycode} from numpy import * coeffA = 7 coeffB = sqrt(coeffA) \end{pycode} \begin{pysub} \begin{tikzpicture} \begin{axis}[xlabel=$x$,ylabel=$y$] \addplot gnuplot {!{coeffA}*x**2 + !{coeffB}*x}; \end{axis} \end{tikzpicture} \end{pysub} \end{document}
example_80020_combination_1
\documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[domain=-.7:3.2, axis x line=middle, axis y line=middle, ticks=none, enlarge x limits={rel=0.07}] \addplot[thick, red, samples=5000, restrict y to domain=-1:1] {(x*x*(1-x)*(3-x))}; \addplot[green] {(.5)} node[right]{$E$}; \end{axis} \end{tikzpicture} \end{document}
example_80020_main
\documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[domain=-.7:3.2, axis x line=middle, axis y line=middle, ticks=none, enlarge x limits={rel=0.07}] \addplot[thick, red, samples=5000, restrict y to domain=-1:1] {(x*x*(1-x)*(3-x))}; \addplot[green] {(.5)} node[right]{$E$}; \end{axis} \end{tikzpicture} \end{document}
example_80021_combination_3
\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{arrows,positioning,matrix} \usepackage{amsmath} \tikzset{ input/.style={coordinate}, block/.style={ draw, solid, fill=white!10, minimum width=2cm, minimum height=.5cm, inner sep=.3333em}, container/.style={ matrix of nodes, draw, dashed, inner sep=1em, nodes={block, anchor=center}, row sep=.3cm, label={[anchor=south west]above left:#1}, } } \newcommand{\Block}[5][]{ \matrix[container=#5,#1] (#5) { #2\\#3\\#4\\}; } \begin{document} \begin{tikzpicture} \Block{Val1}{Val2}{Val3}{NameA} \Block[right=1cm of NameA] {Val1}{Val2}{Val3}{NameB} \draw[->] (NameA)-- coordinate (aux) (NameB); \draw[->] (NameA-1-1)--(NameA-1-1-|aux) |-(NameB-3-1); \Block[below right=1cm and 2cm of NameB] {Val1}{Val2}{Val3}{NameC} \draw (NameC-3-1)-|(NameB); \end{tikzpicture} \end{document}
example_80021_combination_2
\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{arrows,positioning,matrix} \usepackage{amsmath} \tikzset{ input/.style={coordinate}, block/.style={ draw, solid, fill=white!10, minimum width=2cm, minimum height=.5cm, inner sep=.3333em}, container/.style={ matrix of nodes, draw, dashed, inner sep=1em, nodes={block, anchor=center}, row sep=.3cm, label={[anchor=south west]above left:#1}, } } \newcommand{\Block}[5][]{ \matrix[container=#5,#1] (#5) { #2\\#3\\#4\\}; } \begin{document} \begin{tikzpicture} \Block{Val1}{Val2}{Val3}{NameA} \Block[right=1cm of NameA] {Val1}{Val2}{Val3}{NameB} \draw[->] (NameA)-- coordinate (aux) (NameB); \draw[->] (NameA-1-1)--(NameA-1-1-|aux) |-(NameB-3-1); \end{tikzpicture} \end{document}
example_80021_combination_1
\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{arrows,positioning,matrix} \usepackage{amsmath} \tikzset{ input/.style={coordinate}, block/.style={ draw, solid, fill=white!10, minimum width=2cm, minimum height=.5cm, inner sep=.3333em}, container/.style={ matrix of nodes, draw, dashed, inner sep=1em, nodes={block, anchor=center}, row sep=.3cm, label={[anchor=south west]above left:#1}, } } \newcommand{\Block}[5][]{ \matrix[container=#5,#1] (#5) { #2\\#3\\#4\\}; } \begin{document} \begin{tikzpicture} \Block{Val1}{Val2}{Val3}{NameA} \Block[right=1cm of NameA] {Val1}{Val2}{Val3}{NameB} \draw[->] (NameA)-- coordinate (aux) (NameB); \end{tikzpicture} \end{document}
example_80021_main
\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary{arrows,positioning,matrix} \usepackage{amsmath} \tikzset{ input/.style={coordinate}, block/.style={ draw, solid, fill=white!10, minimum width=2cm, minimum height=.5cm, inner sep=.3333em}, container/.style={ matrix of nodes, draw, dashed, inner sep=1em, nodes={block, anchor=center}, row sep=.3cm, label={[anchor=south west]above left:#1}, } } \newcommand{\Block}[5][]{ \matrix[container=#5,#1] (#5) { #2\\#3\\#4\\}; } \begin{document} \begin{tikzpicture} \Block{Val1}{Val2}{Val3}{NameA} \Block[right=1cm of NameA] {Val1}{Val2}{Val3}{NameB} \draw[->] (NameA)-- coordinate (aux) (NameB); \draw[->] (NameA-1-1)--(NameA-1-1-|aux) |-(NameB-3-1); \Block[below right=1cm and 2cm of NameB] {Val1}{Val2}{Val3}{NameC} \draw (NameC-3-1)-|(NameB); \end{tikzpicture} \end{document}
example_80022_combination_3
\documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning,calc} \begin{document} \begin{tikzpicture} \begin{scope}[local bounding box=container1] \node [draw,] (child1) {Node 1's Child}; \node[below=1cm of child1]{Test}; \draw[dashed,red!40](container1.south west) rectangle (container1.north east); \end{scope} \begin{scope}[local bounding box=container2,shift={($(container1.east)+(6cm,0)$)}] \node [draw,anchor=west] (child2) {Node 2's Child}; \end{scope} \draw [<->] (child1) to [out=0,in=180] (child2); \end{tikzpicture} \end{document}
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
4