documentation improvements

This commit is contained in:
Bastien Dumont
2025-12-07 21:14:43 +01:00
parent 5ed8f515a9
commit cdf3277c62

View File

@ -87,7 +87,7 @@ end
### Further customization of the marginal notes
By default, all marginal notes are rendered by the macro `\mrgnn`, which is defined as follows:
By default, in LaTeX and ConTeXt, all marginal notes are rendered by the macro `\mrgnn`, which is defined as follows:
* LaTeX:
@ -118,7 +118,7 @@ By default, all marginal notes are rendered by the macro `\mrgnn`, which is defi
alternative=serried]
```
However, you can associate different macros with individual classes by setting the variable `csname`:
However, you can associate different macros/commands with individual classes by setting the variable `csname`:
``` yaml
mrgnn-define-renderings:
@ -128,7 +128,7 @@ mrgnn-define-renderings:
csname: mrgnnTerm
```
In that case, you will have to define `\mrgnnTerm` in your LaTeX or ConTeXt template. This macro takes one argument, which is the result of the processing of `note-text`.
In that case, you will have to define `\mrgnnTerm` in your LaTeX or ConTeXt template or via `header-includes`. This macro takes one argument, which is the result of the processing of `note-text`.
The position of the instructions about the marginal note in the output file can be set _via_ the variable `position`. They can be placed `after` (default) or `before` the in-text content.