Usage
--reference-spacingfor vertical rhythm in bibliographies --reference-font-sizeand --reference-line-heightfor readability --reference-text-indentplus --reference-padding-leftfor hanging indents --reference-text-alignand --reference-hyphensfor layout style
--reference-text-indent--reference-padding-left--content-spacing
Tokens
Spacing and Typography Tokens
--reference-spacing | var(--content-spacing) | |
--reference-font-size | var(--text-font-size) | |
--reference-line-height | var(--text-line-height) | |
--reference-text-align | left | |
--reference-text-indent | 0 | |
--reference-padding-left | 0 | |
--reference-hyphens | none |
Examples
Default References
:root {
/* No design token overrides */
}Anderson, J., Brown, K., & Chen, L. (2024). Novel approaches to quantum computing in molecular simulations. Journal of Computational Science, 42(7), 1234-1250. https://doi.org/10.1000/jcs.2024.001
Martinez, R., Thompson, S., & Wilson, P. (2023). Deep learning architectures for predictive modeling in biological systems. Advances in Neural Networks, 18(4), 567-589. https://doi.org/10.1000/ann.2023.045
Lee, H., Patel, N., & Davis, M. (2024). Real-time data processing frameworks for large-scale scientific computing. Computing Methods Review, 31(2), 89-112. https://doi.org/10.1000/cmr.2024.078
:::
## Dense Bibliography
Compact spacing and smaller font for space-efficient reference sections:
```css
:root {
--reference-spacing: var(--space-3);
--reference-font-size: var(--font-size-sm);
--reference-line-height: var(--line-height-sm);
}Anderson, J., Brown, K., & Chen, L. (2024). Novel approaches to quantum computing in molecular simulations. Journal of Computational Science, 42(7), 1234-1250. https://doi.org/10.1000/jcs.2024.001
Martinez, R., Thompson, S., & Wilson, P. (2023). Deep learning architectures for predictive modeling in biological systems. Advances in Neural Networks, 18(4), 567-589. https://doi.org/10.1000/ann.2023.045
Lee, H., Patel, N., & Davis, M. (2024). Real-time data processing frameworks for large-scale scientific computing. Computing Methods Review, 31(2), 89-112. https://doi.org/10.1000/cmr.2024.078
:::
## Hanging Indent Style
Traditional bibliography formatting with hanging indents:
```css
:root {
--reference-spacing: var(--space-4);
--reference-text-indent: -1.5em;
--reference-padding-left: 1.5em;
}Anderson, J., Brown, K., & Chen, L. (2024). Novel approaches to quantum computing in molecular simulations. Journal of Computational Science, 42(7), 1234-1250. https://doi.org/10.1000/jcs.2024.001
Martinez, R., Thompson, S., & Wilson, P. (2023). Deep learning architectures for predictive modeling in biological systems. Advances in Neural Networks, 18(4), 567-589. https://doi.org/10.1000/ann.2023.045
Lee, H., Patel, N., & Davis, M. (2024). Real-time data processing frameworks for large-scale scientific computing. Computing Methods Review, 31(2), 89-112. https://doi.org/10.1000/cmr.2024.078
:::
## Justified Dense Bibliography
Scholarly paper style with justified text and hyphenation:
```css
:root {
--reference-spacing: var(--space-3);
--reference-font-size: var(--font-size-sm);
--reference-text-align: justify;
--reference-text-indent: -1.5em;
--reference-padding-left: 1.5em;
--reference-hyphens: auto;
}Anderson, J., Brown, K., & Chen, L. (2024). Novel approaches to quantum computing in molecular simulations. Journal of Computational Science, 42(7), 1234-1250. https://doi.org/10.1000/jcs.2024.001
Martinez, R., Thompson, S., & Wilson, P. (2023). Deep learning architectures for predictive modeling in biological systems. Advances in Neural Networks, 18(4), 567-589. https://doi.org/10.1000/ann.2023.045
Lee, H., Patel, N., & Davis, M. (2024). Real-time data processing frameworks for large-scale scientific computing. Computing Methods Review, 31(2), 89-112. https://doi.org/10.1000/cmr.2024.078
:::
## Spacious References
Generous spacing for enhanced readability in presentations or educational materials:
```css
:root {
--reference-spacing: var(--space-8);
--reference-line-height: var(--line-height-md);
--reference-text-wrap: pretty;
}Anderson, J., Brown, K., & Chen, L. (2024). Novel approaches to quantum computing in molecular simulations. Journal of Computational Science, 42(7), 1234-1250. https://doi.org/10.1000/jcs.2024.001
Martinez, R., Thompson, S., & Wilson, P. (2023). Deep learning architectures for predictive modeling in biological systems. Advances in Neural Networks, 18(4), 567-589. https://doi.org/10.1000/ann.2023.045
Lee, H., Patel, N., & Davis, M. (2024). Real-time data processing frameworks for large-scale scientific computing. Computing Methods Review, 31(2), 89-112. https://doi.org/10.1000/cmr.2024.078
:::
# Tips
**Hanging indents**: Pair negative `--reference-text-indent` with matching `--reference-padding-left`.
**Justified lists**: Use `--reference-text-align: justify` with `--reference-hyphens: auto` for dense bibliographies.
**Long URLs**: Enable `--reference-text-wrap: pretty` to improve line breaks for DOI/URL-heavy entries.
**Page breaks**: Tune `--reference-orphans` and `--reference-widows` to control splits in print output.