mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 23:49:37 +00:00
9ae4b659dc
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.
See #10678 for discussion
This last part updates the layout format and changes collapsable color.
This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).
(cherry picked from commit 4345331870
)
66 lines
1.2 KiB
Plaintext
66 lines
1.2 KiB
Plaintext
#\DeclareLyXModule[rsphrase.sty]{Risk and Safety Statements}
|
|
#DescriptionBegin
|
|
#Provides two insets and one environment to typeset numbers and phrases of
|
|
#chemical risk and safety statements. For a description see the file
|
|
#R-S-statements.lyx in LyX's examples folder.
|
|
#DescriptionEnd
|
|
#Author: Uwe Stöhr <uwestoehr@web.de>
|
|
|
|
Format 65
|
|
|
|
InsetLayout "Flex:R-S number"
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName rsnumber
|
|
Requires rsphrase
|
|
LabelString "R-S number"
|
|
Font
|
|
Color foreground
|
|
Size Small
|
|
Family Roman
|
|
Shape Up
|
|
Series Medium
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout "Flex:R-S phrase"
|
|
CopyStyle "Flex:R-S number"
|
|
LatexName rsphrase
|
|
LabelString "R-S phrase"
|
|
End
|
|
|
|
Style "Safety phrase"
|
|
LatexType command
|
|
LatexName rsphrase
|
|
Requires rsphrase
|
|
Category MainText
|
|
NextNoIndent 1
|
|
Argument 1
|
|
LabelString "Phrase Text"
|
|
Tooltip "Argument for statements that requires to specify additional information"
|
|
EndArgument
|
|
KeepEmpty 1
|
|
Margin Dynamic
|
|
LabelSep xx
|
|
ParSkip 0.0
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType Static
|
|
LabelString "S phrase:"
|
|
LabelFont
|
|
Color Green
|
|
EndFont
|
|
End
|
|
|