Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

commands-mathrm-vs-text-v2

By: a guest on Nov 10th, 2012  |  syntax: Latex  |  size: 0.35 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. \documentclass{scrartcl}
  2.  
  3. \usepackage{amsmath}
  4.  
  5. \usepackage[default]{gfsneohellenic}
  6. \usepackage[scaled]{beramono}
  7. \usepackage[LGR,T1]{fontenc}
  8.  
  9. \begin{document}
  10. One two three.
  11. \begin{itemize}
  12.         \item This is produced via the use of \verb+\text+: $\text{a}$.
  13.         \item This is produced with \verb+\mathrm+: $\mathrm{a}$.
  14. \end{itemize}
  15. \end{document}