Difference between revisions of "Report style"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
*** {{code|1=sectionstopper}} | *** {{code|1=sectionstopper}} | ||
** specific "encadré" environment | ** specific "encadré" environment | ||
− | *** {{cmd|definehead}} and {{code|1=aftersection}} | + | *** {{cmd|definehead}} with {{code|1=before}} and {{code|1=aftersection}} and... |
*** dedicated numbering, added to the table of content | *** dedicated numbering, added to the table of content | ||
**** {{cmd|definehead}} and {{code|1=sectionresetset}}, {{code|1=bodypartlabel}} | **** {{cmd|definehead}} and {{code|1=sectionresetset}}, {{code|1=bodypartlabel}} | ||
Line 29: | Line 29: | ||
**** {{cmd|setupreferencestructureprefix}} | **** {{cmd|setupreferencestructureprefix}} | ||
*** a margin in color to highlight the text pushed on the right | *** a margin in color to highlight the text pushed on the right | ||
− | *** {{cmd| | + | *** {{cmd|definetextbackground}} |
*** MetaPost / MetaFun to draw around the text (as background) | *** MetaPost / MetaFun to draw around the text (as background) | ||
**** {{code|1=for i=1 upto nofmultipars}} | **** {{code|1=for i=1 upto nofmultipars}} |
Revision as of 21:13, 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 with
before
andaftersection
and... - 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 with
Here is some visual to give an idea:
Report style 02
TODO: this page needs more work (See: To-Do List) |