Lyx 中的變定理(AMS)

Lyx 中的變定理(AMS)

我在 Lyx 中使用 theorem(AMS) 模組。如果我使用引理、定義等環境,那麼例如引理就會用粗體字母書寫。如果我使用備註環境,則其為斜體。我想更改它,使其也以粗體顯示。我怎樣才能做到這一點?

答案1

前往文件 --> 設定 --> 本機佈局,新增以下程式碼,按一下驗證並確定。這會將Remark樣式設定為與 相同Lemma。如果您希望許多文件使用這種樣式,請按照中所述建立一個新模組如何讓「聲明」環境看起來像是「定理」環境?

Style Remark
CopyStyle             Theorem
DependsOn         Theorem
LatexName             rem
LabelString           "Remark \thetheorem."
Font
  Shape               Up
  Size                Normal
EndFont
LabelFont
  Shape                Up
  Series              Italic
EndFont
Preamble
  \theoremstyle{plain}
  \newtheorem{rem}[thm]{\protect\remarkname}
EndPreamble
LangPreamble
  \providecommand{\remarkname}{_(Remark)}
EndLangPreamble
BabelPreamble
  \addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
EndBabelPreamble
End

在此輸入影像描述

相關內容