Files
pandoc/test/tables/nordics.typst
John MacFarlane ebd425d867 Typst writer: don't add a carriage return after \ for hard break.
They are not necessary.  Note that they can still be included if
you use `--wrap=preserve` and add a newline in your source
document.

This fixes issues with line breaks in headings.
Closes #11446.
2026-02-07 10:57:50 +01:00

22 lines
744 B
Plaintext

#figure(
align(center)[#table(
columns: (30%, 30%, 20%, 20%),
align: (center,left,left,left,),
table.header(table.cell(align: center)[Name], table.cell(align: center)[Capital], table.cell(align: center)[Population
\ (in 2018)], table.cell(align: center)[Area \ (in km#super[2])],),
table.hline(),
[Denmark], [Copenhagen], [5,809,502], [43,094],
[Finland], [Helsinki], [5,537,364], [338,145],
[Iceland], [Reykjavik], [343,518], [103,000],
[Norway], [Oslo], [5,372,191], [323,802],
[Sweden], [Stockholm], [10,313,447], [450,295],
table.hline(),
table.footer([Total], [], [27,376,022], [1,258,336],),
)]
, caption: [States belonging to the #emph[Nordics.]
]
, kind: table
)
<nordics>