Use \providecommand for logical markup macros

\strong is already defined by recent fontspec.

Also use non-long definition (starred version), since the insets
only contain one paragraph.
This commit is contained in:
Juergen Spitzmueller 2017-02-17 08:35:41 +01:00
parent 49a805c3a2
commit 1db9b50407

View File

@ -52,7 +52,7 @@ InsetLayout Flex:Strong
Series Bold
EndFont
Preamble
\newcommand{\strong}[1]{\textbf{#1}}
\providecommand*{\strong}[1]{\textbf{#1}}
EndPreamble
InToc true
HTMLTag strong
@ -69,7 +69,7 @@ InsetLayout Flex:Code
Family Typewriter
EndFont
Preamble
\newcommand{\code}[1]{\texttt{#1}}
\providecommand*{\code}[1]{\texttt{#1}}
EndPreamble
InToc true
HTMLTag code