Difference between revisions of "Report style"

From Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
[[File:2020_hcc_rapport_features.png|800px]]
 
[[File:2020_hcc_rapport_features.png|800px]]
  
* Several features are used
+
Several features are used
** headings with rules "across the page", slightly different design for right and left page, in order to bring dynamic:
+
 
*** {{cmd|defineoverlay}}
+
* headings with rules "across the page", slightly different design for right and left page, in order to bring dynamic:
*** {{cmd|useMPgraphic}}
+
** {{cmd|defineoverlay}}
*** {{cmd|startuseMPgraphic}}
+
** {{cmd|useMPgraphic}}
*** {{cmd|signalrightpage}}
+
** {{cmd|startuseMPgraphic}}
*** {{cmd|doifrightpageelse}}
+
** {{cmd|signalrightpage}}
*** {{cmd|startsectionblockenvironment}}
+
** {{cmd|doifrightpageelse}}
** numbering with decreasing font size with increasing level of sectioning
+
** {{cmd|startsectionblockenvironment}}
*** {{cmd|setuphead}}
+
* numbering with decreasing font size with increasing level of sectioning
*** {{cmd|definestructureseparatorset}}
+
** {{cmd|setuphead}}
*** {{cmd|defineconversion}}
+
** {{cmd|definestructureseparatorset}}
*** {{cmd|definestructureconversionset}}
+
** {{cmd|defineconversion}}
*** {{code|1=sectionconversionset}}
+
** {{cmd|definestructureconversionset}}
*** {{code|1=prefixconversionset}}
+
** {{code|1=sectionconversionset}}
*** {{code|1=sectionsegments}}
+
** {{code|1=prefixconversionset}}
*** {{code|1=sectionstopper}}
+
** {{code|1=sectionsegments}}
** Specific "encadré" environment
+
** {{code|1=sectionstopper}}
*** {{cmd|definehead}}  with {{code|1=before}} and {{code|1=aftersection}} and...
+
* Specific "encadré" environment
*** Dedicated numbering, added to the table of content  
+
** {{cmd|definehead}}  with {{code|1=before}} and {{code|1=aftersection}} and...
**** {{cmd|definehead}}  and {{code|1=sectionresetset}},  {{code|1=bodypartlabel}}  
+
** Dedicated numbering, added to the table of content  
**** {{cmd|setuplist}}
+
*** {{cmd|definehead}}  and {{code|1=sectionresetset}},  {{code|1=bodypartlabel}}  
**** {{cmd|setupreferencestructureprefix}}
+
*** {{cmd|setuplist}}
*** A large coloreed rule on the left to highlight the text (pushed on the right)
+
*** {{cmd|setupreferencestructureprefix}}
**** {{cmd|definetextbackground}}
+
** A large coloreed rule on the left to highlight the text (pushed on the right)
**** MetaPost / MetaFun to draw around the text (as background)
+
*** {{cmd|definetextbackground}}
**** {{code|1=for i=1 upto nofmultipars}}
+
*** MetaPost / MetaFun to draw around the text (as background)
**** {{code|1=if multilocs[i] == 3:}}
+
*** {{code|1=for i=1 upto nofmultipars}}
*** Local footnotes
+
*** {{code|1=if multilocs[i] == 3:}}
**** {{cmd|definenote}}
+
** Local footnotes
**** {{cmd|setupnotation}}
+
*** {{cmd|definenote}}
**** {{code|1=numberconversion}}
+
*** {{cmd|setupnotation}}
 +
*** {{code|1=numberconversion}}
  
 
== Report style 02 ==
 
== Report style 02 ==

Revision as of 21:16, 29 November 2020

Report style 01

Here is a "try to look nice and dynamique" report, inspired by initial PDF material. It was used to learn to use ConTeXt and MetaFun (pdftotext > markdown > pandoc > manual work):

Here is some visual to give an idea:

2020 hcc rapport features.png

Several features are used

Report style 02


TODO: this page needs more work (See: To-Do List)