Difference between revisions of "Report style"
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 | ||
− | |||
− | |||
− | |||
** headings with rules "across the page", slightly different design for right and left page, in order to bring dynamic: | ** headings with rules "across the page", slightly different design for right and left page, in order to bring dynamic: | ||
*** {{cmd|defineoverlay}} | *** {{cmd|defineoverlay}} | ||
Line 25: | Line 22: | ||
*** {{code|1=sectionsegments}} | *** {{code|1=sectionsegments}} | ||
*** {{code|1=sectionstopper}} | *** {{code|1=sectionstopper}} | ||
− | ** specific "encadré" environment | + | ** specific "encadré" environment |
− | *** | + | *** {{cmd|definehead}} and {{code|1=aftersection}} |
− | *** dedicated numbering, added to the table of content | + | *** dedicated numbering, added to the table of content |
− | *** a margin in color to highlight the text pushed on the right | + | **** {{cmd|definehead}} and {{code|1=sectionresetset}}, {{code|1=bodypartlabel}} |
− | *** | + | **** {{cmd|setuplist}} |
+ | **** {{cmd|setupreferencestructureprefix}} | ||
+ | *** a margin in color to highlight the text pushed on the right | ||
+ | *** {{cmd|\definetextbackground}} | ||
+ | *** MetaPost / MetaFun to draw around the text (as background) | ||
+ | **** {{code|1=for i=1 upto nofmultipars}} | ||
+ | **** {{code|1=if multilocs[i] == 3:}} | ||
+ | *** local footnotes | ||
+ | **** {{cmd|definenote}} | ||
+ | **** {{cmd|setupnotation}} | ||
+ | **** {{code|1=numberconversion}} | ||
+ | Here is some visual to give an idea: | ||
+ | [[File:2020_hcc_rapport_features.png|800px]] | ||
− | + | == Report style 02 == | |
+ | |||
+ | {{todo|this page needs more work}} | ||
[[Category:Sample documents]] | [[Category:Sample documents]] |
Revision as of 21:12, 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
- headings with rules "across the page", slightly different design for right and left page, in order to bring dynamic:
- numbering with decreasing font size with increasing level of sectioning
- \setuphead
- \definestructureseparatorset
- \defineconversion
- \definestructureconversionset
sectionconversionset
prefixconversionset
sectionsegments
sectionstopper
- specific "encadré" environment
- \definehead and
aftersection
- dedicated numbering, added to the table of content
- \definehead and
sectionresetset
,bodypartlabel
- \setuplist
- \setupreferencestructureprefix
- \definehead and
- a margin in color to highlight the text pushed on the right
- \\definetextbackground
- MetaPost / MetaFun to draw around the text (as background)
for i=1 upto nofmultipars
if multilocs[i] == 3:
- local footnotes
- \definenote
- \setupnotation
numberconversion
- \definehead and
Here is some visual to give an idea:
Report style 02
TODO: this page needs more work (See: To-Do List) |