I am trying to address bug #7301 concerning the Springer layout files,
and the following 4 questions have arisen:
1) NextNoIndent prevents the following paragraph (whether of the same or
a different layout) from being indented. Is there a possibility to
restrict this behavior such that in only applies if the next paragraph
has a different layout?
Use case: A definition may consist of several paragraphs which should be
indented. However, the first paragraph in Standard layout following the
definition should not be indented.
2) In the svmono class the \part command is typeset right-ragged, where
the first line consists of Part x and the second line of the name of the
part. (Same as chapter but right-ragged rather than left-ragged).
For the Part layout I cannot obtain the line break after the part
number, even though it is easy to obtain this form for the Chapter
layout (just include: Align Right). The reason for this behavior is the
line "LabelCounter part". If I change it to "LableCounter chapter", I
obtain the right ragged line break, but the counter is messed up, of
course. Redefining "Counter part" does not have an effect. If I
redefine "Counter chapter" in analogy to "Counter part" (as provided in
stdcounters.inc), the Chapter layout still exhibits the line break.
Any idea what I am doing wrong?
3) I am implementing support for a part sectioning command that prints
some additional text on the next (otherwise empty) page. My current
implementation is as follows:
Style PartBacktext
Category Section
Margin Dynamic
LabelString "Part \thepart"
LabelType Counter
TocLevel 0
LabelCounter part
Labelsep M
NeedProtect 1
ParIndent MM
TopSep 4
BottomSep 4
LaTexType Environment
LatexName svmultpartbacktext
LabelFont
Series Bold
Size Huge
EndLabelFont
TextFont
Series Medium
Shape Up
Size normal
EndTextFont
RequiredArgs 1
Preamble
\newenvironment{svmultpartbacktext}[1]{\begin{partbacktext}
\part{#1}}{\end{partbacktext}}
EndPreamble
HTMLTag h1
End
In the environment that contains the additional text I do not obtain the
parindents in LyX, though the output is properly indented.
4) svmono contains an environment svgraybox that provides a gray
background. I am aware that currently the background color cannot be
controlled by layouts. I have therefore chosen sans font in order to
indicate this environment, simply because this font is rarely used.
Does anyone have a better idea?
(I am using the LyX 2.0RC3 binary on OSX.)