]> git.lyx.org Git - features.git/commitdiff
Add some more logical charstyles
authorMartin Vermeer <martin.vermeer@hut.fi>
Wed, 29 Aug 2007 16:04:56 +0000 (16:04 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Wed, 29 Aug 2007 16:04:56 +0000 (16:04 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19892 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/stdcharstyles.inc

index 52b494144a136194fc916c73fbb9754503ed6f6f..58d4c37f33183d2d8f2d902d9f231c05b551f10a 100644 (file)
@@ -1,5 +1,5 @@
 # Textclass definition file for LaTeX.
 # Textclass definition file for LaTeX.
-# Author : Martin vermeer <amrtin.vermeer@hut.fi>
+# Author : Martin vermeer <martin.vermeer@hut.fi>
 # Character Styles definition
 
 Format 5
 # Character Styles definition
 
 Format 5
@@ -28,6 +28,34 @@ InsetLayout CharStyle:Emph
 End
 
 
 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
 # Error fallback:
 InsetLayout CharStyle
        LyxType               end