From: Richard Heck Date: Tue, 17 Apr 2012 13:42:59 +0000 (-0400) Subject: Re-organize and repair the InsetLayout for the script inset. X-Git-Tag: 2.1.0beta1~1933^2~31 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=dbf6daf99ea1487dec54d8ed7524e435ce923283;p=features.git Re-organize and repair the InsetLayout for the script inset. --- diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 62b5f2ffc5..4bc60d9101 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -476,21 +476,26 @@ InsetLayout Preview MultiPar true End + +InsetLayout Script + LatexType command + MultiPar false + ForcePlain 1 + CustomPars 0 + InToc 1 + HTMLIsBlock 0 +End + + InsetLayout Script:superscript - LyXType standard - LatexType command - LaTeXName textsuperscript - MultiPar false - HTMLTag sup - HTMLIsBlock 0 + CopyStyle Script + LaTeXName textsuperscript + HTMLTag sup End InsetLayout Script:subscript - Requires subscript - LyXType standard - LatexType command - LaTeXName textsubscript - MultiPar false - HTMLTag sub - HTMLIsBlock 0 + CopyStyle Script + Requires subscript + LaTeXName textsubscript + HTMLTag sub End