Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/macros/latex/contrib/realscripts


Small package to replace `\textsuperscript` & `\textsubscript`
by equivalent commands that use OpenType font features
to access the appropriate glyphs if possible.

Provides `\textsubsuperscript` (and `\textsupersubscript`) for
setting subscripts and superscripts on top of each other.

Also patches LaTeX's default footnote command to use this
new `\textsuperscript` for footnote symbols.

Requires fontspec running on either XeLaTeX or LuaLaTeX.

For more information see the documentation realscripts.pdf.

Change History

v0.3c 2013/03/18

 * Fix completely broken `\textsupersubscript`.
 * Allow `\textsubsuperscript` at the start of a paragraph (!).
 * Sync with expl3 updates.

v0.3b 2013/02/27

 * Remove internal definition of two functions that have since been defined
   in expl3 (`\dim_min:nn` and `\dim_max:nn`).

v0.3  2010/09/30

 * New commands `\textsubsuperscript` and `\textsupersubscript` added.

 * Fix an "infinite loop" bug added in the last version, triggered
   when loading the `xltxtra` package with the `[no-sscript]` option.

v0.2  2010/09/20

 * Add feature to specify the font of the patched footnotemark.
   This behaves well with KOMA-Script's `\setkomafont`, as well.


 * First release
 * Extracted from the xltxtra package


The release version of this package is available from CTAN:

* <>

Development and historical versions are available from GitHub:

* <>

Please report bugs and feature suggestions to the issue tracker:

* <>


The realscripts package is released under the
[LaTeX Project Public License](
version 1.3c or greater. The current maintainer is Will Robertson.

Copyright 2010 Will Robertson


Name Size Date Notes
README 1899 2013-03-17 11:43:34
realscripts.dtx 13529 2013-03-17 11:43:34
realscripts.ins 1729 2013-03-17 11:43:34
realscripts.pdf 107302 2013-03-17 11:43:34

Down­load the con­tents of this pack­age in one zip archive (106.8k).

re­alscripts – Ac­cess OpenType sub­script and su­per­script glyphs

This small pack­age re­places \textsu­per­script and \textsub­script com­mands by equiv­a­lent com­mands that use OpenType font fea­tures to ac­cess ap­pro­pri­ate glyphs if pos­si­ble.

The pack­age also patches LaTeX’s de­fault foot­note com­mand to use this new \textsu­per­script for foot­note sym­bols.

The pack­age re­quires fontspec run­ning on ei­ther XLaTeX or LuaLaTeX.

The pack­age holds func­tions that were once parts of the xltx­tra pack­age, which now loads re­alscripts by de­fault.

Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2010 Will Robert­son
Main­tainerWill Robert­son
Con­tained inTeXlive as re­alscripts
MikTeX as re­alscripts
Topics use of open­type font fea­tures
Guest Book Sitemap Contact 2014-04-25 06:06 CEST