mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
49a805c3a2
commit
1db9b50407
@ -52,7 +52,7 @@ InsetLayout Flex:Strong
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
\newcommand{\strong}[1]{\textbf{#1}}
|
\providecommand*{\strong}[1]{\textbf{#1}}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
InToc true
|
InToc true
|
||||||
HTMLTag strong
|
HTMLTag strong
|
||||||
@ -69,7 +69,7 @@ InsetLayout Flex:Code
|
|||||||
Family Typewriter
|
Family Typewriter
|
||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
\newcommand{\code}[1]{\texttt{#1}}
|
\providecommand*{\code}[1]{\texttt{#1}}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
InToc true
|
InToc true
|
||||||
HTMLTag code
|
HTMLTag code
|
||||||
|
Loading…
Reference in New Issue
Block a user