Articles I've written for customers on IT issues.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.1 KiB

4 years ago
  1. %%%%%%%%% For wordpress conversion
  2. \def\more{}
  3. \newif\ifblog
  4. \newif\iftex
  5. \blogfalse
  6. \textrue
  7. \usepackage{ulem}
  8. \def\em{\it}
  9. \def\emph#1{\textit{#1}}
  10. \def\image#1#2#3{\begin{center}\includegraphics[#1pt]{#3}\end{center}}
  11. \let\hrefnosnap=\href
  12. \newenvironment{btabular}[1]{\begin{tabular} {#1}}{\end{tabular}}
  13. \newenvironment{red}{\color{red}}{}
  14. \newenvironment{green}{\color{green}}{}
  15. \newenvironment{blue}{\color{blue}}{}
  16. %%%%%%%%% Typesetting shortcuts
  17. \def\B{\{0,1\}}
  18. \def\xor{\oplus}
  19. \def\P{{\mathbb P}}
  20. \def\E{{\mathbb E}}
  21. \def\var{{\bf Var}}
  22. \def\N{{\mathbb N}}
  23. \def\Z{{\mathbb Z}}
  24. \def\R{{\mathbb R}}
  25. \def\C{{\mathbb C}}
  26. \def\Q{{\mathbb Q}}
  27. \def\eps{{\epsilon}}
  28. \def\bz{{\bf z}}
  29. \def\true{{\tt true}}
  30. \def\false{{\tt false}}
  31. %%%%%%%%% Theorems and proofs
  32. \newtheorem{exercise}{Exercise}
  33. \newtheorem{theorem}{Theorem}
  34. \newtheorem{lemma}[theorem]{Lemma}
  35. \newtheorem{definition}[theorem]{Definition}
  36. \newtheorem{corollary}[theorem]{Corollary}
  37. \newtheorem{proposition}[theorem]{Proposition}
  38. \newtheorem{example}{Example}
  39. \newtheorem{remark}[theorem]{Remark}
  40. \newenvironment{proof}{\noindent {\sc Proof:}}{$\Box$ \medskip}