Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. documentclass{standalone}
  2. usepackage{tikz}
  3.  
  4. begin{document}
  5.  
  6. % Define frets
  7. tikzstyle{fret} = [draw,fill=blue!20,minimum size=3em]
  8.  
  9. begin{tikzpicture}
  10. % dist( x ) = s / ( 2 ^ ( x / d ) )
  11. defd = {12}
  12. defs = {651mm}
  13. % dist( x ) = 651 mm / ( 2 ^ ( x / 12 ) )
  14.  
  15. % Draw nodes, etc.
  16. % Strings
  17. foreach a/b in {1/E, 2/B, 3/G, 4/D, 5/A, 6/E} {
  18. node at (0,-a) (inputa) {$b$};
  19. % Frets
  20. foreach x in {1,...,24} {
  21. node[fret] at (x,-a) (blocka) {$x$};
  22. }
  23. }
  24.  
  25. end{tikzpicture}
  26. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement