1 # Moved here by rikiheck. Original author cloudy.
2 # Edited sep '22 by Udi Fogiel <udifoglle@gmail.com> (more similar version to the amsthm one)
6 # This is just a hacked version of the AMS proof environment
15 LabelString "Alternative Proof String"
16 Tooltip "Alternative proof string"
26 AlignPossible Block, Left
38 \ifcsname proof\endcsname\else
39 \DeclareRobustCommand{\lyx@qed}{%
41 \else \leavevmode\unskip\penalty9999 \hbox{}\nobreak\hfill
43 \quad\hbox{\lyx@qedsymbol}}
44 \newcommand{\lyx@openbox}{\leavevmode
47 \vbox to.675em{\hrule width.6em\vfil\hrule}%
49 \newcommand{\lyx@qedsymbol}{\lyx@openbox}
50 \newenvironment{proof}[1][\proofname]{\par
52 \topsep6\p@\@plus6\p@ \trivlist
53 \item[\hskip\labelsep\itshape
60 # No LangPreamble or BabelPreamble, since babel knows \proofname already.
61 DocBookWrapperTag figure
62 DocBookWrapperAttr role='proof'
64 DocBookGenerateTitle true