Quarto provides a very convenient syntax to customize the [citation](https://quarto.org/docs/authoring/footnotes-and-citations.html#sec-citations) and [reference styles for figures](https://quarto.org/docs/authoring/cross-references.html#references).

It seems that this syntax does not apply to other crossref types such as the sections. An MRE is as follows,

```markdown
---
title: Custom crossref style
number-sections: true
format: html
---

## Section I

Something here.

## Section II {#sec-trial}

Something else. -@sec-trial
```
While I understand that the global print style for the title and references can be [customized in the  `yaml` header](https://quarto.org/docs/authoring/cross-references.html#options), thre are times I want to use a customized printout in the text.

Another example is illustrated in the [hackish template I made for the American Society of Civil Engineers (ASCE)](https://github.com/juliantao/asce-quarto). The writing style is shared by 35 different ASCE journals and numerous ASCE proceedings. 

An issue is that in the `LaTex` class file, the appendixes are numbered, but the sections in the main text are not. I set the global section reference style to have a prefix of `Section`. When I want to reference for example Appendix I, I wrote `Appendix @sec-something`, and the rendered text becomes `Appendix Section I`, which is expected but not ideal. 

So if we can use a syntax such as `Appendix -@sec-somthing`, hopefully, we can get `Appendix I` in the rendered file.


2022-05-28T20:34:25Z
juliantao
closed
Custom crossref style for non-figure references
https://github.com/quarto-dev/quarto-cli/issues/1012