aboutsummaryrefslogtreecommitdiff
path: root/_extensions/ruc-play/stylish-report/doc-class.tex
blob: 8eff48618170811d6a7bb3a520e2c71c984bc626 (plain)
  1. \DocumentMetadata{
  2. % modern PDF rendering: <https://tex.stackexchange.com/a/686905/309738>
  3. $if(lang)$
  4.   lang={$lang$},
  5. $endif$
  6. $if(pdfversion)$
  7. pdfversion=$pdfversion$,
  8. $endif$
  9. $for(pdfstandard)$
  10. pdfstandard=$pdfstandard$,
  11. $endfor$
  12. $if(pdftestphase)$
  13. testphase=
  14. {
  15. $for(pdftestphase)$
  16. $pdftestphase$,
  17. $endfor$
  18. },
  19. $endif$
  20. $if(pdfdebug)$
  21. debug=
  22. {
  23. $for(pdfdebug)$
  24. $pdfdebug$,
  25. $endfor$
  26. },
  27. $endif$
  28. $if(pdfdebugfirstaidoff)$
  29. debug=
  30. {
  31. firstaidoff=
  32. {
  33. $for(pdfdebugfirstaidoff)$
  34. $pdfdebugfirstaidoff$,
  35. $endfor$
  36. },
  37. },
  38. $endif$
  39. }
  40. $if(copyright)$
  41. % flag as rights protected <https://tex.stackexchange.com/a/712443/309738>
  42. \ExplSyntaxOn
  43. \pdfmeta_xmp_add:n{<xmpRights:Marked>True</xmpRights:Marked>}
  44. \ExplSyntaxOff
  45. $endif$
  46. $if(pdftestphasestrict)$
  47. % fatalize tagging warnings
  48. \ExplSyntaxOn
  49. \msg_redirect_module:nnn { tag } { warning } { error }
  50. \ExplSyntaxOff
  51. $endif$
  52. \documentclass[
  53. $if(fontsize)$
  54. $fontsize$,
  55. $endif$
  56. $if(papersize)$
  57. $papersize$paper,
  58. $endif$
  59. $if(beamer)$
  60. ignorenonframetext,
  61. $if(handout)$
  62. handout,
  63. $endif$
  64. $if(aspectratio)$
  65. aspectratio=$aspectratio$,
  66. $endif$
  67. $if(babel-lang)$
  68. $babel-lang$,
  69. $endif$
  70. $endif$
  71. $for(classoption)$
  72. $classoption$$sep$,
  73. $endfor$
  74. ]{$documentclass$}