added example for print-mode Axiom
authorschirmer
Fri, 16 Feb 2007 11:01:16 +0100
changeset 22329 e4325ce4e0c4
parent 22328 cc403d881873
child 22330 00ca68f5ce29
added example for print-mode Axiom
doc-src/LaTeXsugar/Sugar/Sugar.thy
--- a/doc-src/LaTeXsugar/Sugar/Sugar.thy	Fri Feb 16 11:00:47 2007 +0100
+++ b/doc-src/LaTeXsugar/Sugar/Sugar.thy	Fri Feb 16 11:01:16 2007 +0100
@@ -196,6 +196,21 @@
 the line.  2. Premises that are @{text"\<Longrightarrow>"}-implications are again
 displayed with a horizontal line, which looks at least unusual.
 
+
+In case you print theorems without premises no rule will be printed by the
+\texttt{Rule} print mode. However, you can use \texttt{Axiom} instead:
+\begin{quote}
+\verb!\begin{center}\isastyle!\\
+\verb!@!\verb!{thm[mode=Axiom] refl} {\sc refl}! \\
+\verb!\end{center}!
+\end{quote}
+yields
+\begin{center}\isastyle
+@{thm[mode=Axiom] refl} {\sc refl} 
+\end{center}
+
+
+
 *}
 
 subsection{*If-then*}