Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. documentclass[11pt]{standalone}
  2. usepackage{tikz}
  3.  
  4. begin{document}
  5. begin{tikzpicture}
  6.  
  7.  
  8. coordinate[label=left:A] (A) at (0,0);
  9. coordinate[label=right:B] (B) at (3,0);
  10.  
  11. newcommand{myLabel}{$sin(x)+cos(y)=int_0^infty e^{x y}, dx$}
  12.  
  13. draw (A) -- node[above] {myLabel} ++(B);
  14.  
  15. end{tikzpicture}
  16. end{document}
  17.  
  18. newcommand{myLabel}{{footnotesize{$sin(x)+cos(y)=int_0^infty e^{x y}, dx$}}};
  19.  
  20. newcommand{myLabel}{{tiny{$sin(x)+cos(y)=int_0^infty e^{x y}, dx$}}};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement