mynotation.sty 1.1 KB

12345678910111213141516171819202122232425
  1. % Define some abbreviations
  2. \RequirePackage{xspace}
  3. \let\textabbr\textsc
  4. \newcommand{\abbrPID}{\texorpdfstring{\textabbr{pid}}{PID}\xspace}
  5. \newcommand{\abbrARMA}{\texorpdfstring{\textabbr{arma}}{ARMA}\xspace}
  6. % Common sets
  7. \newcommand{\reals}{\mathbb{R}}
  8. \newcommand{\complexes}{\mathbb{C}}
  9. \newcommand{\rationals}{\mathbb{Q}}
  10. \newcommand{\naturals}{\mathbb{N}}
  11. \newcommand{\integers}{\mathbb{Z}}
  12. % Text style for different kinds of words.
  13. \newcommand{\textfilename}[1]{\mbox{\emph{#1}}}% The command \filename is already used by some other package.
  14. \newcommand{\styname}[1]{\texorpdfstring{{\fontsize{0.9em}{1\baselineskip}\selectfont\mbox{\textsf{#1}}}}{#1}}
  15. \newcommand{\classoption}[1]{\mbox{\texttt{#1}}}
  16. \newcommand{\texcommand}[1]{\mbox{\texttt{\textbackslash #1}}}
  17. \newcommand{\envname}[1]{\mbox{\texttt{#1}}}
  18. % Miscellaneous strings with special formatting
  19. \newcommand{\rtthesis}{\emph{\styname{rtthesis}}\xspace}% It's not really a style file (package), but it is close enough.
  20. % It's hard to get good-looking underscores in filenames. This is one attempt...
  21. \newcommand{\usc}{\hspace{0.1ex}\rule{1ex}{0.1ex}\hspace{0.1ex}}%\raisebox{2.5pt}{\_}