Difference between revisions of "Report style"
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 | |
− | + | ||
− | + | * headings with rules "across the page", slightly different design for right and left page, in order to bring dynamic: | |
− | + | ** {{cmd|defineoverlay}} | |
− | + | ** {{cmd|useMPgraphic}} | |
− | + | ** {{cmd|startuseMPgraphic}} | |
− | + | ** {{cmd|signalrightpage}} | |
− | + | ** {{cmd|doifrightpageelse}} | |
− | + | ** {{cmd|startsectionblockenvironment}} | |
− | + | * numbering with decreasing font size with increasing level of sectioning | |
− | + | ** {{cmd|setuphead}} | |
− | + | ** {{cmd|definestructureseparatorset}} | |
− | + | ** {{cmd|defineconversion}} | |
− | + | ** {{cmd|definestructureconversionset}} | |
− | + | ** {{code|1=sectionconversionset}} | |
− | + | ** {{code|1=prefixconversionset}} | |
− | + | ** {{code|1=sectionsegments}} | |
− | + | ** {{code|1=sectionstopper}} | |
− | + | * Specific "encadré" environment | |
− | + | ** {{cmd|definehead}} with {{code|1=before}} and {{code|1=aftersection}} and... | |
− | + | ** Dedicated numbering, added to the table of content | |
− | + | *** {{cmd|definehead}} and {{code|1=sectionresetset}}, {{code|1=bodypartlabel}} | |
− | + | *** {{cmd|setuplist}} | |
− | + | *** {{cmd|setupreferencestructureprefix}} | |
− | + | ** A large coloreed rule on the left 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}} | ||
== 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:
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 with
before
andaftersection
and... - Dedicated numbering, added to the table of content
- \definehead and
sectionresetset
,bodypartlabel
- \setuplist
- \setupreferencestructureprefix
- \definehead and
- A large coloreed rule on the left 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 with
Report style 02
TODO: this page needs more work (See: To-Do List) |