diff --git a/espdinsets.inc b/espdinsets.inc index 706351d..33180b6 100644 --- a/espdinsets.inc +++ b/espdinsets.inc @@ -290,4 +290,39 @@ InsetLayout Info:shortcuts Font Family sans EndFont + +InsetLayout Flex:Code + LyxType charstyle + LabelString code + LatexType command + LatexName code + Font + Family Typewriter + Size Small + Series Normal + EndFont + Preamble + \newcommand{\code}[1]{\texttt{\small{#1}}} + EndPreamble + InToc true + HTMLTag code + ResetsFont true +End + +InsetLayout Flex:Code-Bold + LyxType charstyle + LabelString code-bold + LatexType command + LatexName codebold + Font + Family Typewriter + Size Small + Series Bold + EndFont + Preamble + \newcommand{\codebold}[1]{\texttt{\textbf{\small{}{#1}}}} + EndPreamble + InToc true + HTMLTag code + ResetsFont true End