quarto标题字体大小太大。我怎么让它变小?

huangapple go评论123阅读模式
英文:

quarto title font size is too large. How can I make it smaller?

问题

标题字体太大了,如标题所示。我如何将它变小?

这是我在YAML中的设置:

  1. title: "Self-Statement"
  2. format:
  3. pdf:
  4. fontsize: "10.5pt"
  5. keep-tex: true
  6. geometry:
  7. - left=1in
  8. - right=1in
  9. - top=1in
  10. - bottom=1in
英文:

Like the title says. Quarto title font size is too large. How can I make it smaller?

This is what I have in YAML

  1. title: "Self-Statement"
  2. format:
  3. pdf:
  4. fontsize: "10.5pt"
  5. keep-tex: true
  6. geometry:
  7. - left=1in
  8. - right=1in
  9. - top=1in
  10. - bottom=1in

答案1

得分: 2

你可以在标题之前简单地使用不同的字体大小

  1. ---
  2. title: \small 自我陈述
  3. format:
  4. pdf:
  5. fontsize: "10.5pt"
  6. keep-tex: true
  7. geometry:
  8. - left=1in
  9. - right=1in
  10. - top=1in
  11. - bottom=1in
  12. ---
  13. ## Quarto
  14. 这不是很棒吗?

quarto标题字体大小太大。我怎么让它变小?

  1. <details>
  2. <summary>英文:</summary>
  3. You can simply use [different font sizes](https://latex-tutorial.com/changing-font-size/) before the title.
  4. ~~~
  5. ---
  6. title: \small Self-Statement
  7. format:
  8. pdf:
  9. fontsize: &quot;10.5pt&quot;
  10. keep-tex: true
  11. geometry:
  12. - left=1in
  13. - right=1in
  14. - top=1in
  15. - bottom=1in
  16. ---
  17. ## Quarto
  18. Isn&#39;t it awesome?
  19. ~~~
  20. &lt;hr&gt;
  21. [![small font size for title][1]][1]
  22. [1]: https://i.stack.imgur.com/Xugv1.png
  23. </details>

huangapple
  • 本文由 发表于 2023年6月6日 09:17:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76410867.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定