home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / cpp2tex.zip / C++2ltx.zip / C++2ltx.sty < prev    next >
Text File  |  1998-08-15  |  1KB  |  53 lines

  1.  
  2. \DeclareMathAlphabet{\mib}{OT1}{cmr}{bx}{it} % cmrbx: n, sl, it
  3.  
  4. \def\text#1{\mathchoice
  5.   {\textrm{#1}}%
  6.   {\textrm{\small #1}}%
  7.   {\textrm{\small #1}}%
  8.   {\textrm{\small #1}}
  9. }
  10.  
  11. \def\ba{{\mib a}}
  12. \def\bb{{\mib b}}
  13. \def\bD{{\mib D}}
  14. \def\bE{{\mib E}}
  15. \def\bh{{\mib h}}
  16. \def\bk{{\mib k}}
  17. \def\bK{{\mib K}}
  18. \def\bn{{\mib n}}
  19. \def\bq{{\mib q}}
  20. \def\bQ{{\mib Q}}
  21. \def\br{{\mib r}}
  22. \def\bR{{\mib R}}
  23. \def\bqpar{{\mib q}_\parallel}
  24. \def\brpar{{\mib r}_\parallel}
  25. \def\bKhpar{{\mib K}_{h\parallel}}
  26.  
  27. \def\ex{\hat{\mib x}}  % ozn. jednotkoveho vektoru ve smeru x
  28. \def\ey{\hat{\mib y}}  
  29. \def\ez{\hat{\mib z}}  
  30.  
  31. \def\matA{{\cal A}}
  32. \def\matB{{\cal B}}
  33. \def\matC{{\cal C}}
  34. \def\matE{{\cal E}}
  35. \def\matM{{\cal M}}
  36. \def\matN{{\cal N}}
  37. \def\matP{{\cal P}}
  38. \def\matQ{{\cal Q}}
  39.  
  40. \def\bra#1{\langle#1|}
  41. \def\ket#1{|#1\rangle}
  42.  
  43. \def\atan{{\,\hbox{atan}\,}}  % note: if AMS-LaTeX is used, then \text
  44. \def\asin{{\,\hbox{asin}\,}}  % instead of the \hbox
  45. \def\sinc{{\,\hbox{sinc}\,}} %
  46.  
  47. \def\rot{{\,\textbf{rot}\,}}
  48. \def\grad{\,\textbf{grad}\,}
  49. \def\div{{\,\text{div}\,}}
  50.  
  51. \let\|\verb % This allows abbreviate  \verb|blabla|  to  \||balbla|
  52.