iucr.layout: use Item_Environment for a style as proposed by Jürgen

- IUCr-article.lyx: update template accordingly
This commit is contained in:
Uwe Stöhr 2015-05-30 00:53:43 +02:00
parent 063de3337f
commit 0b80be42d0
2 changed files with 60 additions and 26 deletions

View File

@ -230,31 +230,23 @@ End
Style Acknowledgements
CopyStyle "Short Author"
LatexName ack
InTitle 0
LabelString "Acknowledgements:"
Category BackMatter
TopSep 0.7
End
InsetLayout "Flex:References"
CopyStyle "Flex:City"
LatexType Environment
LatexName references
Decoration Classic
ForcePlain 0
Spellcheck 0
ParbreakIsNewline 1
FreeSpacing 1
KeepEmpty 1
LabelString "References"
LabelFont
Color Green
EndFont
End
Style Reference
CopyStyle "Short Author"
LatexName reference
Style References
Margin Manual
Category BackMatter
LabelString "Reference:"
LatexType List_Environment
LatexName references
ItemCommand reference
NextNoIndent 1
Argument item:1
LabelString "Reference"
Mandatory 1
AutoInsert 1
EndArgument
Align Left
End

View File

@ -554,6 +554,13 @@ A citation:
LatexCommand cite
key "lamport86"
\end_inset
and another one:
\begin_inset CommandInset citation
LatexCommand cite
key "pauling89"
\end_inset
@ -782,14 +789,40 @@ Acknowledgment text
\end_layout
\begin_layout Standard
You can either use plain references:
\end_layout
\begin_inset VSpace bigskip
\end_inset
\begin_layout Standard
\begin_inset Flex References
You can either use plain references:
\begin_inset Note Note
status open
\begin_layout Reference
\begin_layout Plain Layout
Pressing
\family sans
Return
\family default
in a
\family sans
References
\family default
environment adds a new
\family sans
Reference
\family default
inset.
Insert one reference in each inset.
\end_layout
\end_inset
\end_layout
\begin_layout References
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
Parthé, E.
& Gelato, L.
(1984).
@ -804,7 +837,16 @@ Acta Cryst.
, 169183.
\end_layout
\begin_layout Reference
\end_inset
\end_layout
\begin_layout References
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
Rauch, H.
& Petrascheck, D.
(1976).