【问题标题】:cross-reference prefix交叉引用前缀
【发布时间】:2022-09-25 21:01:16
【问题描述】:

如何在 Quarto 中更改交叉引用语言?

以文档中的示例为例:

![Elephant](elephant.png){#fig-elephant}

See @fig-elephant for an illustration.

在 .tex 文件中,它显示为 (Figure~\\ref{fig-elephant})。渲染,结果类似于see Figure 1 for an illustration

如何将Figure 更改为其他单词?

  • 你能显示中间的 .tex 文件吗?

标签: latex quarto


【解决方案1】:

您可以使用fig-prefix 选项来更改内联引用前缀,也可以使用fig-title 选项来相应地更改图形标题。 请参阅here in Quarto Documentation 了解更多更改参考样式的选项。

---
title: "Cross Reference Prefix"
format: pdf
crossref: 
  fig-prefix: "Picture"
  fig-title: "Picture"
---

## Quarto


![Elephant](elephant.png){#fig-elephant}

See @fig-elephant for an illustration.



【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-08-15
    • 2011-03-03
    • 2013-11-11
    • 1970-01-01
    • 1970-01-01
    • 2023-03-03
    相关资源
    最近更新 更多