# CHARSTYLES
#
+
+InsetLayout Flex:Bold
+ LyXType charstyle
+ LabelString Bold
+ LatexType command
+ LatexName textbf
+ Font
+ Series bold
+ EndFont
+ Argument 1
+ LabelString "Action"
+ MenuString "Action Specifications|S"
+ Tooltip "Specify the overlay settings (see beamer manual)"
+ LeftDelim <
+ RightDelim >
+ EndArgument
+End
+
InsetLayout Flex:Emphasize
LyXType charstyle
- LabelString Emphasize
+ LabelString Emph.
LatexType command
LatexName emph
Font
Tooltip "Specify the overlay settings (see beamer manual)"
LeftDelim <
RightDelim >
- AutoInsert 1
EndArgument
End
Tooltip "Specify the overlay settings (see beamer manual)"
LeftDelim <
RightDelim >
+ AutoInsert 1
EndArgument
End
if document.textclass not in beamer_classes:
return
- new_flexes = {"Emphasize" : "\\emph", "Only" : "\\only", "Uncover" : "\\uncover",
- "Visible" : "\\visible", "Invisible" : "\\invisible",
- "Alternative" : "\\alt", "Beamer_Note" : "\\note"}
+ new_flexes = {"Bold" : "\\textbf", "Emphasize" : "\\emph", "Only" : "\\only",
+ "Uncover" : "\\uncover", "Visible" : "\\visible",
+ "Invisible" : "\\invisible", "Alternative" : "\\alt",
+ "Beamer_Note" : "\\note"}
old_flexes = {"Alert" : "\\alert", "Structure" : "\\structure"}
rx = re.compile(r'^\\begin_inset Flex (.+)$')