X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Flogicalmkup.module;h=5319faf3eaaaa83fb188904a73e3d37c3c53dd8d;hb=b0629c79acf7591bd082596017d2742284e11b3e;hp=bea2b261c264d44c0b61fdcf25e1ef8de3048eee;hpb=be34425828e93bf625293c4624366921fe72dd40;p=lyx.git diff --git a/lib/layouts/logicalmkup.module b/lib/layouts/logicalmkup.module index bea2b261c2..5319faf3ea 100644 --- a/lib/layouts/logicalmkup.module +++ b/lib/layouts/logicalmkup.module @@ -2,12 +2,13 @@ #DescriptionBegin #Defines some character styles for logical markup: noun, emph, strong, and code. #DescriptionEnd +#Category: charstyles # Author : Martin vermeer -Format 9 +Format 49 -InsetLayout CharStyle:Noun +InsetLayout Flex:Noun LyxType charstyle LabelString noun LatexType command @@ -16,10 +17,19 @@ InsetLayout CharStyle:Noun Shape Smallcaps EndFont Requires noun + InToc true + HTMLTag span + HTMLAttr class='noun' + HTMLStyle + span.noun { + font-family: sans-serif; + } + EndHTMLStyle + ResetsFont true End -InsetLayout CharStyle:Emph +InsetLayout Flex:Emph LyxType charstyle LabelString emph LatexType command @@ -27,10 +37,13 @@ InsetLayout CharStyle:Emph Font Shape Italic EndFont + InToc true + HTMLTag em + ResetsFont true End -InsetLayout CharStyle:Strong +InsetLayout Flex:Strong LyxType charstyle LabelString strong LatexType command @@ -41,10 +54,13 @@ InsetLayout CharStyle:Strong Preamble \newcommand{\strong}[1]{\textbf{#1}} EndPreamble + InToc true + HTMLTag strong + ResetsFont true End -InsetLayout CharStyle:Code +InsetLayout Flex:Code LyxType charstyle LabelString code LatexType command @@ -55,5 +71,8 @@ InsetLayout CharStyle:Code Preamble \newcommand{\code}[1]{\texttt{#1}} EndPreamble + InToc true + HTMLTag code + ResetsFont true + Spellcheck false End -