From 04b370f1a51318158307587f85f5954e01701126 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 23 Feb 2025 14:55:53 +0100 Subject: initial draft --- _extensions/ruc-play/stylish-report/doc-class.tex | 74 +++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 _extensions/ruc-play/stylish-report/doc-class.tex (limited to '_extensions/ruc-play/stylish-report/doc-class.tex') diff --git a/_extensions/ruc-play/stylish-report/doc-class.tex b/_extensions/ruc-play/stylish-report/doc-class.tex new file mode 100644 index 0000000..8eff486 --- /dev/null +++ b/_extensions/ruc-play/stylish-report/doc-class.tex @@ -0,0 +1,74 @@ +\DocumentMetadata{ +% modern PDF rendering: +$if(lang)$ + lang={$lang$}, +$endif$ +$if(pdfversion)$ + pdfversion=$pdfversion$, +$endif$ +$for(pdfstandard)$ + pdfstandard=$pdfstandard$, +$endfor$ +$if(pdftestphase)$ +testphase= + { +$for(pdftestphase)$ + $pdftestphase$, +$endfor$ + }, +$endif$ +$if(pdfdebug)$ +debug= + { +$for(pdfdebug)$ + $pdfdebug$, +$endfor$ + }, +$endif$ +$if(pdfdebugfirstaidoff)$ +debug= + { +firstaidoff= + { +$for(pdfdebugfirstaidoff)$ + $pdfdebugfirstaidoff$, +$endfor$ + }, + }, +$endif$ +} +$if(copyright)$ +% flag as rights protected +\ExplSyntaxOn +\pdfmeta_xmp_add:n{True} +\ExplSyntaxOff +$endif$ +$if(pdftestphasestrict)$ +% fatalize tagging warnings +\ExplSyntaxOn + \msg_redirect_module:nnn { tag } { warning } { error } +\ExplSyntaxOff +$endif$ +\documentclass[ +$if(fontsize)$ + $fontsize$, +$endif$ +$if(papersize)$ + $papersize$paper, +$endif$ +$if(beamer)$ + ignorenonframetext, +$if(handout)$ + handout, +$endif$ +$if(aspectratio)$ + aspectratio=$aspectratio$, +$endif$ +$if(babel-lang)$ + $babel-lang$, +$endif$ +$endif$ +$for(classoption)$ + $classoption$$sep$, +$endfor$ +]{$documentclass$} -- cgit v1.2.3