Skip to content

Commit 33f6087

Browse files
committed
add test for multiword fig-title
1 parent dfa371c commit 33f6087

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: Multi word fig title should be one line
3+
format: latex
4+
crossref:
5+
fig-title: 'Supplementary Figure'
6+
_quarto:
7+
tests:
8+
latex:
9+
ensureFileRegexMatches:
10+
- ['\\figurename\{Supplementary Figure\}']
11+
- []
12+
---
13+
14+
## Unresolved Crossref Figure
15+
16+
![Elephant](img/surus.jpg){#fig-elephant}
17+
18+
See @fig-elephant for examples.

0 commit comments

Comments
 (0)