Skip to content

Commit 4d26c2a

Browse files
committed
Test the latex.before-metadata option
1 parent d24cf0b commit 4d26c2a

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

example/paper.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,3 +462,14 @@ A common method for PDF generation is to go via LaTeX. However, support
462462
for tagging -- a requirement for accessible PDFs -- is not readily
463463
available for LaTeX. The current method used ConTeXt, to produce tagged
464464
PDF/A-3, a format suited for archiving [@pdfa3].
465+
466+
467+
``` {=comment}
468+
The below snippet can be added to the YAML metadata if the placement of
469+
the metadata block in the margin needs manual adjustments.
470+
```
471+
472+
---
473+
latex:
474+
before-metadata: '`\vspace{0cm}`{=latex}'
475+
---

test/expected-draft/paper.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@
406406
\marginpar{
407407

408408
\begin{flushleft}
409+
\vspace{0cm}
409410
%\hrule
410411
\sffamily\small
411412

test/expected-pub/paper.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@
403403
\marginpar{
404404

405405
\begin{flushleft}
406+
\vspace{0cm}
406407
%\hrule
407408
\sffamily\small
408409

0 commit comments

Comments
 (0)