macs.tex 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. % These macros are for the TestamenTeX %
  3. % Written by Sam Flint, 2013. %
  4. % This is placed into the public domain, in the spirit of %
  5. % TeX itself, and for the benefit of all. %
  6. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. \font\mainfont=cmr10
  8. \font\chheadfont=cmssbx10
  9. \font\bkheadfont=cmssbx10 scaled \magstep2
  10. \font\titlefont=cmti10 scaled \magstep4
  11. % Setup count registers
  12. % chapter
  13. \count10=1
  14. % verse
  15. \count11=1
  16. % book
  17. \count12=1
  18. % Macros
  19. %eject to odd
  20. \def\ejtoodd#1{\ifodd\count0\null\break\eject\null\break\eject\else\null\break\eject\fi}
  21. %title
  22. \def\title#1{\centerline{\titlefont #1}\vskip 26pt \centerline{\bkheadfont \versionname}\eject}
  23. %version
  24. \def\version#1{\def\versionname{The #1 Version}}
  25. %testament
  26. \def\testament#1{\ejtoodd{}\rightline{\titlefont The #1 Testament}\eject\count12=1}
  27. %book
  28. \def\book#1{}
  29. %chapter
  30. \def\chapter#1{}
  31. %verse
  32. \def\verse{$ ^{\number\count11} $\advance\count11 by 1}
  33. %emphasis
  34. \def\emph#1{}