]> git.lyx.org Git - lyx.git/commit
Display footnote labels as superscripts
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sat, 22 Jul 2023 14:53:14 +0000 (16:53 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 24 Jul 2023 09:15:03 +0000 (11:15 +0200)
commit6a8c10f0d6178dc261f089fe8245de1000ef1941
treee3ab1fcc302ce0dcc4fb771e29c4f5df62218a04
parent6d167e94f40578837b7a93451592d96639d98dbd
Display footnote labels as superscripts

A new counter type \superarabic is introduced, that transforms the
counter into superscript Unicode numbers.

This is used for the footnote counter.

The Foot inset layout is modified to use an empty LabelString (in size
Normal, since the numbers could be too small).

We use this occasion to set footnote text in footnotesize, as it should.

A couple of changes are done to the code to make the button label and
tooltip look better.

Fixes bug #12238.
lib/layouts/numreport.inc
lib/layouts/stdcounters.inc
lib/layouts/stdinsets.inc
src/Counters.cpp
src/insets/InsetFoot.cpp
src/support/counter_reps.cpp
src/support/counter_reps.h