Difference between revisions of "Report style"

From Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
** [[:File:2020 hcc rapport maitriser-l-empreinte-carbone-de-la-france.pdf|PDF output]]
 
** [[:File:2020 hcc rapport maitriser-l-empreinte-carbone-de-la-france.pdf|PDF output]]
 
* several features are used
 
* several features are used
** metapost for covers and heading
+
** metapost/metafun for covers and headings
 +
*** {{code|1=for i=1 upto nofmultipars"}}
 +
*** {{code|1=if multilocs[i] == 3:}}
 
** heading slightly different for right and left page (in order to bring dynamic) (\defineoverlay,\useMPgraphic, \startuseMPgraphic, \signalrightpage, \doifrightpageelse\startsectionblockenvironment)
 
** heading slightly different for right and left page (in order to bring dynamic) (\defineoverlay,\useMPgraphic, \startuseMPgraphic, \signalrightpage, \doifrightpageelse\startsectionblockenvironment)
 
** numbering with decreasing font size with increasing level of sectioning (\defineconversion, \definestructureconversionset, sectionconversionset, prefixconversionset)  
 
** numbering with decreasing font size with increasing level of sectioning (\defineconversion, \definestructureconversionset, sectionconversionset, prefixconversionset)  
Line 12: Line 14:
 
*** local footnotes (\definenote, \setupnotation, numberconversion
 
*** local footnotes (\definenote, \setupnotation, numberconversion
 
*** dedicated numbering, added to the table of content (\setuplist, \setupreferencestructureprefix, \sectionresetset...)  
 
*** dedicated numbering, added to the table of content (\setuplist, \setupreferencestructureprefix, \sectionresetset...)  
*** a margin in color to highlight the text pushed on the right (\definetextbackground, "for i=1 upto nofmultipars", if "multilocs[i] == 3:", ...)
+
*** a margin in color to highlight the text pushed on the right (\definetextbackground, , , ...)
 
*** metapost used to bring rules and dynamics
 
*** metapost used to bring rules and dynamics
  

Revision as of 21:00, 29 November 2020

Report style 01

  • "try to look nice and dynamique" report, inspired by initial PDF material, and used to learn ConTeXt (pdftotext > markdown > pandoc > manual work):
  • several features are used
    • metapost/metafun for covers and headings
      • for i=1 upto nofmultipars"
      • if multilocs[i] == 3:
    • heading slightly different for right and left page (in order to bring dynamic) (\defineoverlay,\useMPgraphic, \startuseMPgraphic, \signalrightpage, \doifrightpageelse\startsectionblockenvironment)
    • numbering with decreasing font size with increasing level of sectioning (\defineconversion, \definestructureconversionset, sectionconversionset, prefixconversionset)
    • specific "encadré" environment, with
      • local footnotes (\definenote, \setupnotation, numberconversion
      • dedicated numbering, added to the table of content (\setuplist, \setupreferencestructureprefix, \sectionresetset...)
      • a margin in color to highlight the text pushed on the right (\definetextbackground, , , ...)
      • metapost used to bring rules and dynamics


2020 hcc rapport features.png