You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create academic posters with ASCII grid layouts. See [examples/sample_poster.md](examples/sample_poster.md) for a complete example.
520
+
521
+
### Poster front matter
522
+
523
+
```yaml
524
+
---
525
+
marp: true
526
+
theme: cdl-poster
527
+
size: A0
528
+
math: katex
529
+
---
530
+
```
531
+
532
+
Available sizes: `A0` (landscape, default), `A0-portrait`, `A1`, `48x36`, `36x48`, or any `WxH` pattern.
533
+
534
+
### ASCII grid layout
535
+
536
+
Define your poster layout with a `poster-layout` code block. Each letter represents a section, and its area on the grid determines its position and size:
537
+
538
+
````markdown
539
+
```poster-layout
540
+
TTTTTTTTTTTTTTTTTTTTTTTTTTTT
541
+
IIIIIIIIRRRRRRRRRRRRDDDDDDDD
542
+
IIIIIIIIRRRRRRRRRRRRDDDDDDDD
543
+
MMMMMMMMRRRRRRRRRRRRDDDDDDDD
544
+
MMMMMMMMRRRRRRRRRRRREEEEAAAA
545
+
```
546
+
````
547
+
548
+
Each letter maps to a `## X: Section Title` heading in your markdown. The number of rows and columns a letter spans determines the relative size of that section.
549
+
550
+
### Poster sections
551
+
552
+
Define sections with `## X: Title` syntax, where `X` matches a letter from the grid:
Content with **Markdown**, callout boxes, emoji figures, math, and tables.
564
+
565
+
## M: Methods [violet]
566
+
567
+
Use callout boxes, flow diagrams, and emoji figures inside sections.
568
+
569
+
## R: Results [green]
570
+
571
+
$$\hat{y} = \beta_0 + \beta_1 x_1 + \epsilon$$
572
+
573
+
## D: Discussion [teal]
574
+
575
+
Callout boxes work inside poster sections just like in slides.
576
+
577
+
## E: References [orange]
578
+
579
+
1. Author A, Author B (2023). *Journal* 1:1-10.
580
+
581
+
## A: Acknowledgments [spring]
582
+
583
+
Supported by **NSF**#1234567.
584
+
```
585
+
586
+
The `T` section renders as the title bar. All other sections render as content panels with section headings. Use `<div class="scale-80">` wrappers to adjust font size within sections.
587
+
588
+
### Section colors
589
+
590
+
Add `[color]` after a section title to set its callout box color scheme:
591
+
592
+
```markdown
593
+
## I: Introduction [blue]
594
+
## M: Methods [violet]
595
+
## R: Results [green]
596
+
```
597
+
598
+
Available colors: `blue`, `green`, `violet`/`purple`, `orange`, `red`, `teal`, `spring`.
599
+
600
+
Colors affect the section heading border, callout box backgrounds, and callout box borders. Individual boxes can override with `data-color="..."` on the div.
601
+
478
602
## Bundled Fonts
479
603
480
604
The package includes these fonts for consistent rendering across platforms:
0 commit comments