rgheck schrieb:
The attached patch adds a facility for file-specific layout, e.g.: \begin_local_layout Format 6 InsetLayout CharStyle:MenuItem LyxType charstyle LabelString menu LatexType command LatexName menuitem Font Family Sans EndFont Preamble \newcommand{\menuitem}[1]{\sffamily{#1}}
should be \newcommand*\menuitem[1]{{\sffamily#1}} otherwise switching to \sffamily is not hold local Herbert