您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

51 行
1.2KB

  1. \NeedsTeXFormat{LaTeX2e}[1994/06/01]
  2. \ProvidesClass{tufte-handout}[2008/11/16 v3.0.0 Tufte-handout class]
  3. %%
  4. % The symmetric option forces twoside.
  5. \DeclareOption{symmetric}{%
  6. \ExecuteOptions{twoside}
  7. \PassOptionsToPackage{twoside}{tufte-common}
  8. \PassOptionsToClass{twoside}{article}
  9. \PackageInfo{tufte-handout}{Passing twoside to `article' class}
  10. }
  11. \PassOptionsToPackage{handout}{tufte-common}
  12. \DeclareOption*{% pass options to tufte-common package and the article class
  13. \PassOptionsToPackage{\CurrentOption}{tufte-common}
  14. \PassOptionsToClass{\CurrentOption}{article}
  15. \PackageInfo{tufte-handout}{Passing \CurrentOption\space to `article' class}
  16. }
  17. \ProcessOptions
  18. \LoadClass{article}
  19. \RequirePackage{tufte-common}
  20. %%
  21. % Set up any handout-specific stuff now
  22. %%
  23. % Abstract
  24. % TODO The abstract should be printed on its own page of the `titlepage'
  25. % option was specified.
  26. \renewenvironment{abstract}
  27. {\begin{quotation}\if@tufte@sfsidenotes\begin{sffamily}\fi}
  28. {\if@tufte@sfsidenotes\end{sffamily}\fi\end{quotation}}
  29. %%
  30. % If there is a `tufte-handout-local.tex' file, load it.
  31. \IfFileExists{tufte-handout-local.tex}
  32. {\input{tufte-handout-local}}
  33. {}
  34. %%
  35. % End of file
  36. \endinput