Difference between revisions of "Report style"

From Wiki
Jump to navigation Jump to search
m
 
(9 intermediate revisions by the same user not shown)
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]]
  
Here is some visual to give an idea:
+
Here is some visuals of the ConTeXt version to give an idea:
  
[[File:2020_hcc_rapport_features.png|900px]]
+
[[File:2020_hcc_rapport_features.png|900px|Report style, modern / dynamic, built with the marvelous ConTeXt (based on LuaTeX and LuaMetaTeX), inspired by french HCC report - Haut Conseil pour le Climat]]
  
The source code has been cleaned up and commented on (as a mix of english and french), in the hope that it will help.
+
The source code has been cleaned up and commented on (still some mix of english and french), in the hope that it will help.
  
 
Several features are used.  
 
Several features are used.  
Line 36: Line 36:
 
*** {{cmd|setuplist}}
 
*** {{cmd|setuplist}}
 
*** {{cmd|setupreferencestructureprefix}}
 
*** {{cmd|setupreferencestructureprefix}}
** A large colored rule on the left to highlight the text (pushed on the right)
+
** A large colored rule on the left to highlight the text (pushed on the right), compatible with page breaks
 
*** {{cmd|definetextbackground}}
 
*** {{cmd|definetextbackground}}
 
*** MetaPost / MetaFun to draw around the text (as background)
 
*** MetaPost / MetaFun to draw around the text (as background)
Line 46: Line 46:
 
*** {{code|1=numberconversion}}
 
*** {{code|1=numberconversion}}
 
* Structuration
 
* Structuration
*** {{cmd|startfrontmatter}}, {{cmd|startbodymatter}}, {{cmd|startappendices}}, {{cmd|startbackmatter}}
+
** {{cmd|startfrontmatter}}, {{cmd|startbodymatter}}, {{cmd|startappendices}}, {{cmd|startbackmatter}}
*** {{cmd|component}}
+
** {{cmd|component}}
 
* Fonts (GaramondPro and AvenirNext)
 
* Fonts (GaramondPro and AvenirNext)
 
** {{cmd|definefontfeature}}
 
** {{cmd|definefontfeature}}
Line 53: Line 53:
 
** {{cmd|definefontsynonym}}
 
** {{cmd|definefontsynonym}}
 
** {{cmd|definetypeface}}
 
** {{cmd|definetypeface}}
** {{code|1=rscale}} and a short code to get x-height ratio between two fonts with  
+
** {{code|1=rscale}} and a short code to get x-height ratio between two fonts with
 
 
 
 
  
 
== Report style 02 ==
 
== Report style 02 ==

Latest revision as of 12:03, 18 December 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 visuals of the ConTeXt version to give an idea:

Report style, modern / dynamic, built with the marvelous ConTeXt (based on LuaTeX and LuaMetaTeX), inspired by french HCC report - Haut Conseil pour le Climat

The source code has been cleaned up and commented on (still some mix of english and french), in the hope that it will help.

Several features are used.

Report style 02


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