Created
October 5, 2016 20:19
-
-
Save TorbjornT/66cbd722d24af191b48f34657e66b4ef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[border=9,tikz]{standalone} | |
\usetikzlibrary{decorations.pathmorphing} | |
\begin{document} | |
\begin{tikzpicture} | |
\draw[decoration={snake,pre length=2mm,post length=2mm,segment length=4mm},thick,red,decorate](0,0)--(2,0); | |
\draw[decoration={snake,segment length=4mm},decorate,very thin,blue] (-0.2,0)--(2,0); | |
\draw [very thin,blue] (2mm,-5pt) -- (2mm,5pt) node[above,align=center,font=\tiny]{red\\decoration\\start}; | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment