Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. newcommand{subfigimg}[3][,]{%
  2. setbox1=hbox{includegraphics[#1]{#3}}% Store image in box
  3. leavevmoderlap{usebox1}% Print image
  4. rlap{hspace*{5pt}raisebox{.5baselineskip}{sffamilyfootnotesize{#2}}}% Print label
  5. phantom{usebox1}% Insert appropriate spacing
  6. }
  7.  
  8. newcommand{modsubfigimg}[2][,]{%
  9. setbox1=hbox{#1}% Store image in box
  10. leavevmoderlap{usebox1}% Print image
  11. rlap{hspace*{5pt}raisebox{.5baselineskip}{small{#2}}}% Print label
  12. phantom{usebox1}% Insert appropriate spacing
  13. }
  14.  
  15. begin{minipage}[b]{.5textwidth}
  16. tikzsetnextfilename{PD-PWM_carrier_band}%
  17. modsubfigimg[(a)]{input{gfx/PDPWM_carrier_band.tikz}}
  18. end{minipage}%
  19. begin{minipage}[b]{.5textwidth}
  20. tikzsetnextfilename{PS-PWM_carrier_band}%
  21. modsubfigimg[(b)]{input{gfx/PSPWM_carrier_band.tikz}}
  22. end{minipage}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement