Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. usepackage[norule,flushmargin]{footmisc}
  2. setlength{parskip}{0pt}
  3. usepackage{fontspec}
  4.  
  5. setmainfont[Mapping=tex-text,Ligatures={Common}, Numbers={OldStyle}]{Garamond Premier Pro} newfontfamilygreekfont[Script=Greek, Ligatures={Common}]{Garamond Premier Pro}
  6. newfontfamilydevanagarifont[Script=Devanagari]{Sanskrit 2003}
  7. begin{document}
  8.  
  9. begin{tabular}{ | c | c |}
  10. hline
  11. Q & Quota \
  12. hline
  13. p & g \
  14. hline
  15. T & l \
  16. hline
  17. end{tabular}
  18.  
  19. end{document}
  20.  
  21. documentclass{article}
  22.  
  23. usepackage{fontspec}
  24. setmainfont[Ligatures = {Common,TeX},
  25. Numbers = OldStyle,
  26. Contextuals = Alternate
  27. ]{Garamond Premier Pro}
  28.  
  29. newcommandTstrut{rule{0pt}{2.6ex}} % "top" strut
  30. newcommandBstrut{rule[-1.3ex]{0pt}{1.3ex}} % "bottom" strut
  31. newcommand{TBstrut}{TstrutBstrut} % top&bottom struts
  32.  
  33. begin{document}
  34. begin{tabular}{ | c | c |}
  35. hline
  36. Q & Quota \
  37. hline
  38. p & g \
  39. hline
  40. T & l \
  41. hline
  42. end{tabular}
  43. qquad
  44. begin{tabular}{ | c | c |}
  45. hline
  46. Q & Quota TBstrut \ %% top and bottom strut
  47. hline
  48. p & g Bstrut \ %% bottom strut only
  49. hline
  50. T & l Tstrut \ %% top strut only
  51. hline
  52. end{tabular}
  53. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement