From cdf3277c62597ad3275912d7b4bb81f503e9d4ae Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Sun, 7 Dec 2025 21:14:43 +0100 Subject: [PATCH] documentation improvements --- margin-notes/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/margin-notes/README.md b/margin-notes/README.md index 6fe9b21..d4b45a1 100644 --- a/margin-notes/README.md +++ b/margin-notes/README.md @@ -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.