Formula:TextusSupra

E Wikisource
(Redirectum de Formula:Overscript)
Documentatio formulae

This template is for placing text above another text. It is based on Wikipedia template overset

{{os}} redirects here. Use this shorter form of the template if you prefer.

Syntax[recensere]

The syntax is:

{{TextusSupra|base|over}}

Required parameters:

  • base (1) : This is the base text.
  • over (2) : This is the TextusSupra text above the base text.

Optional parameters:

  • os-offset : Adjusts the line-height of the TextusSupra and this changes vertical distance between the TextusSupra and the base. Default is 0.8em.
  • os-size : Adjusts the font-size of the TextusSupra. Default is 70%.
  • os-padding : Adjusts the left and the right padding of the TextusSupraed text (to clearly separate it from other text). Default is 0.1em.

Examples[recensere]

{{TextusSupra|base|over}} = overbase

{{TextusSupra|base text|over}} = overbase text

{{TextusSupra|base|over|os-offset=0em}} = overbase

{{TextusSupra|base|over|os-size=40%}} = overbase

ab{{TextusSupra|c|1}}de = ab1cde

ab{{TextusSupra|c|1|os-padding=0.0em}}de = ab1cde