# 9th edition =\> 9\<sup\>th\</sup\> ed

**URL:** <https://discourse.citationstyles.org/t/9th-edition-9-sup-th-sup-ed/1594>\
**Category:** CSL Usage\
**Created:** [December 16, 2019, 12:33pm UTC](https://discourse.citationstyles.org/t/9th-edition-9-sup-th-sup-ed/1594 "2019-12-16T12:33:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denis\_Maier](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@Denis\_Maier](https://discourse.citationstyles.org/u/Denis_Maier)\
**Post date:** [December 16, 2019, 12:33pm UTC](https://discourse.citationstyles.org/t/9th-edition-9-sup-th-sup-ed/1594/1 "2019-12-16T12:33:44Z")

</div>

I am editing a style where ordinal markers should appear as sups. Is there a way to achieve this?

---

<div class="post-metadata">

**Author:** ![cormacrelf](https://avatars.discourse-cdn.com/v4/letter/c/a88e4f/32.png) [@cormacrelf](https://discourse.citationstyles.org/u/cormacrelf)\
**Post date:** [December 17, 2019, 5:27pm UTC](https://discourse.citationstyles.org/t/9th-edition-9-sup-th-sup-ed/1594/2 "2019-12-17T17:27:51Z")

</div>

No way in CSL spec, but possible and a mature solution exists.

citeproc-js/-rs support locale terms that have Unicode superscript in them, which get turned into superscript tags, but you could also encode normal sup tags as XML entities and that would also work but wouldn’t fallback well (not sure if -js supports this) So google around for a Unicode superscript converter. Of course this is limited to the hundred or so characters which have a superscript variant in Unicode 12. So good luck with any language you’re not sure of. Fortunately superscript ordinals are a French invention, so I think this tends to be enough.

(Note - in citeproc-js, each individual character in a sequence of superscript characters gets a separate `sup` tag. This is not perfect if you wanted to style them as a single element, but usually not an issue. It makes my tests fail though!)

You can set `vertical-align="sup"` on text nodes, but you cannot target only the ordinal suffix of a number, hence the difficult solution above.
