The References heading is in a much smaller font than other headings in html output #11735
Answered
by
mcanouil
tony-an-phd
asked this question in
Q&A
-
DescriptionWhen I had the references from a .bib file, the heading for the References becomes much smaller than the rest h1 header in both Edge or Firefox. I copied the header markdown code from Firefox for References in the qmd file: ---
title: "The Reference in HTML has a smaller heading"
format:
html:
number-sections: true
theme: default
toc: true # Optional: to add a table of contents
toc-depth: 2 # Optional: controls depth of table of contents
code-fold: true
bibliography: t.bib
---
# Introduction
The heading for the chapter References has a much smaller font in html
output. See @this2024.
# Conclusion
The t.bib including the following:
```bibtex
@book{this2024,
author = {Author},
title = {Testing references},
publisher = {John Wiley \& Sons},
year = {2024}
}
```
The rendered html for reference is
```html
<h2 class="anchored quarto-appendix-heading" id="3-references">
3 References
<a class="anchorjs-link " aria-label="Anchor"
data-anchorjs-icon=""
href="#3-references"
style="font: 1em / 1 anchorjs-icons; margin-left: 0.1875em;
padding-right: 0.1875em; padding-left: 0.1875em;">
</a>
</h2>
```
# References This is what it looks like >quarto check
Quarto 1.6.36
[>] Checking environment information...
Quarto cache location: C:\Users\anthony.an\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.6.36
Path: C:\Users\anthony.an\AppData\Local\Programs\Quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: v2024.11
Chromium: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\anthony.an\AppData\Roaming\TinyTeX\bin\windows\
Version: 2024
[>] Checking basic markdown render....OK
[>] Checking Python 3 installation....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/ |
Beta Was this translation helpful? Give feedback.
Answered by
mcanouil
Dec 23, 2024
Replies: 1 comment 2 replies
-
What's the question? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not a bug.
See the documentation on appendix theming: https://quarto.org/docs/authoring/appendices.html#appendix-style
See code