macs.tex 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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=0
  14. % verse
  15. \count11=0
  16. % book
  17. \count12=0
  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=0}
  27. %book
  28. \def\book#1{}
  29. %chapter
  30. \def\chapter#1{}
  31. %verse
  32. \def\verse{}
  33. %emphasis