Guest User

Untitled

a guest
Jan 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. documentclass[a5paper]{article}
  2. usepackage{amsmath}
  3. begin{document}
  4. Suppose we want to find out how much\
  5. line-spacing is needed for math expressions.
  6.  
  7. With a verb|textstyle| expression like $tfrac{a}{n}$\
  8. and something in-between just to fill space,\
  9. and a verb|displaystyle| expression like $dfrac{a}{n}$\
  10. the line spacings are evidently unequal.\
  11. However, if we use a verb|smash| as in smash{$dfrac{a}{n}$}\
  12. we will get the normal spacing, though\
  13. there may be overlaps,!
  14.  
  15. For some special cases, like $a/n$ \
  16. verb|raisebox| may give us the form smash{$dfrac{text{raisebox{-1ex}{$a$}}}
  17. {text{raisebox{.7ex}{$n$}}}$}\
  18. which may look perfect, but is by no\
  19. means a simple general solution,!!
  20. end{document}
Add Comment
Please, Sign In to add comment