Attached. I'll put this in if people feel that this is the right direction.

Note that character styles still are not enabled by default. It has been my
long standing wish that at least Noun and Emph would replace the similar
named 'font-like' styles.

(What to do with underbar? Underlining is generally discouraged, that's
what emph is for. number seems to be a RtL thing...)

- Martin

Index: stdcharstyles.inc
===================================================================
--- stdcharstyles.inc	(revision 19807)
+++ stdcharstyles.inc	(working copy)
@@ -1,5 +1,5 @@
 # Textclass definition file for LaTeX.
-# Author : Martin vermeer <[EMAIL PROTECTED]>
+# Author : Martin vermeer <[EMAIL PROTECTED]>
 # Character Styles definition
 
 Format 5
@@ -28,6 +28,34 @@
 End
 
 
+InsetLayout CharStyle:Strong
+	LyxType               charstyle
+	LabelString           strong
+	LatexType             command
+	LatexName             strong
+	Font
+	  Series              Bold
+	EndFont
+	Preamble
+	\newcommand{\strong}[1]{\textbf{#1}}
+	EndPreamble
+End
+
+
+InsetLayout CharStyle:Code
+	LyxType               charstyle
+	LabelString           code
+	LatexType             command
+	LatexName             code
+	Font
+	  Family              Typewriter
+	EndFont
+	Preamble
+	\newcommand{\code}[1]{\texttt{#1}}
+	EndPreamble
+End
+
+
 # Error fallback:
 InsetLayout CharStyle
 	LyxType               end

Reply via email to