lyx_mirror/lib/layouts
Jean-Marc Lasgouttes 6c1855313c Center correctly centered top labels (e.g. abstract)
Since the first row may be indented, it is necessary to find out what
the left margin would be on the next row (even if this next row does
not exst.

To this end, modify TextMetrics::leftMargin so that it does not test
whether position is after the last position of the paragraph.

Cosmetics: set the size of label to "small" for Abstract layout in
standard classes and reduce the spacing between label and text.

Fixes remainder of #11939.
2021-01-05 14:53:15 +01:00
..
a0poster.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
aa.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
aapaper.inc Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
aapaper.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
aastex6.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
aastex62.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
aastex.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
achemso.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
acm-sigs-alt.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
acm-sigs.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
acm-sigs.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
acmart.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
acmsiggraph-0-92.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
acmsiggraph.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
AEA.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
agums.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
aguplus.inc Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
agutex.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
algorithm2e.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
amsart.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
amsbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
amsdefs.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
apa6.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
apa7.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
apa.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
apax.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
arab-article.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
article-beamer.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
article.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
beamer.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
beamerposter.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
bicaption.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
book.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
braille.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
broadway.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
bxjsarticle.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
bxjsbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
bxjsreport.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
bxjsslide.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
chess.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
chessboard.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
cl2emult.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
copernicus.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
ctex-article.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
ctex-book.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
ctex-report.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
customHeadersFooters.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
db_stdcharstyles.inc Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
db_stdclass.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
db_stdstarsections.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
db_stdstruct.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
db_stdtitle.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
dinbrief.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
docbook-book.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
docbook-chapter.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
docbook-section.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
docbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
doublecol-new.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
dtk.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
ectaart.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
egs.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
elsart.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
elsarticle.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
endnotes.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
enotez.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
entcs.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
enumitem.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
eqs-within-sections.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
europasscv.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
europecv.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
extarticle.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
extbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
extletter.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
extreport.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
figs-within-sections.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
fix-cm.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
fixltx2e.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
fixme.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
foils.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
foottoend.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
foottoenotez.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
frletter.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
g-brief2.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
g-brief.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
graphicboxes.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
hanging.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
heb-article.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
heb-letter.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
hollywood.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
hpstatement.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
IEEEtran-CompSoc.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
IEEEtran-TransMag.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
IEEEtran.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
ijmpc.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
ijmpd.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
initials.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
InStar.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
iopart.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
isprs.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
iucr.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
jarticle.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
jasatex.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
jbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
jgrga.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
jreport.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
jsarticle.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
jsbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
jss.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
kluwer.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
knitr.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
landscape.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
latex8.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
letter.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
lettre.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
lilypond.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
linguistics.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
litinsets.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
llncs.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
logicalmkup.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
ltugboat.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
lyxmacros.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
maa-monthly.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
memoir.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
minimalistic.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
moderncv.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
multicol.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
mwart.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
mwbk.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
mwrep.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
natbibapa.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
noweb.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
numarticle.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
numreport.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
numrevtex.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
paper.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
paralist.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
pdfcomment.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
pdfform.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
powerdot.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
recipebook.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
report.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
revtex4-1.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
revtex4-2.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
revtex4-x.inc Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
revtex4.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
revtex.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
RJournal.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
rsphrase.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
ruby.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
sciposter.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
scrartcl.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
scrarticle-beamer.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
scrbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
scrclass.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
scrlettr.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
scrlttr2.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
scrreprt.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
sectionbox.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
seminar.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
shapepar.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
siamltex.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
sigplanconf.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
simplecv.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
singlecol-new.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
singlecol.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
slides.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
soul.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
spie.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdcharstyles.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdciteformats.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdclass.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdcounters.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdcustom.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdfloatnames.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdfloats.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdinsets.inc Capitalize labels of floats, etc. Fixes #11993. 2021-01-03 14:38:52 -05:00
stdlayouts.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdletter.inc Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
stdlists.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdlyxlist.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdrefprefix.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdsections.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdstarsections.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
stdstruct.inc Center correctly centered top labels (e.g. abstract) 2021-01-05 14:53:15 +01:00
stdtitle.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
subequations.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
svcommon.inc Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
svglobal3.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
svglobal.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
svjog.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
svmono.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
svmult.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
svprobth.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
sweave.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
tabs-within-sections.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
tarticle.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
tbook.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
tcolorbox.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
theorems-ams-bytype.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams-chap-bytype.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams-chap-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams-extended-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams-extended-chap-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams-extended.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-ams.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-bytype.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-case.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-chap-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-chap.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-counters-bytype.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-counters-extended-bytype.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-named.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-order.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-proof-std.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-proof.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-refprefix.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-sec-bytype.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-sec.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-starred-equivalents.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-starred.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-starred.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-std.module Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems-without-preamble.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
theorems.inc Update layouts to version 90 2020-12-22 16:53:15 +01:00
todonotes.module Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
treport.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
tufte-book.layout Use only semantic colors in layout definitions 2020-12-11 11:46:31 +01:00
tufte-handout.layout Update layouts to version 90 2020-12-22 16:53:15 +01:00
varwidth.module Update layouts to version 90 2020-12-22 16:53:15 +01:00