proper latex rendering of abbrevs templates (e.g. src/HOL/Nonstandard_Analysis/HLim.thy);
authorwenzelm
Tue, 02 Aug 2016 21:55:15 +0200
changeset 63590 4854f7ee0987
parent 63589 58aab4745e85
child 63591 8d20875f1290
proper latex rendering of abbrevs templates (e.g. src/HOL/Nonstandard_Analysis/HLim.thy);
lib/texinputs/isabelle.sty
src/HOL/Nonstandard_Analysis/document/root.tex
src/Pure/Thy/latex.ML
--- a/lib/texinputs/isabelle.sty	Tue Aug 02 21:30:30 2016 +0200
+++ b/lib/texinputs/isabelle.sty	Tue Aug 02 21:55:15 2016 +0200
@@ -73,6 +73,7 @@
 \newcommand{\isadigit}[1]{#1}
 
 \newcommand{\isachardefaults}{%
+\def\isacharbell{\isamath{\bigbox}}  %requires stmaryrd
 \chardef\isacharbang=`\!%
 \chardef\isachardoublequote=`\"%
 \chardef\isachardoublequoteopen=`\"%
--- a/src/HOL/Nonstandard_Analysis/document/root.tex	Tue Aug 02 21:30:30 2016 +0200
+++ b/src/HOL/Nonstandard_Analysis/document/root.tex	Tue Aug 02 21:55:15 2016 +0200
@@ -1,6 +1,7 @@
 \documentclass[11pt,a4paper]{article}
 \usepackage{graphicx,isabelle,isabellesym,latexsym,textcomp}
 \usepackage{amsmath}
+\usepackage{stmaryrd}
 \usepackage{pdfsetup}
 
 \urlstyle{rm}
--- a/src/Pure/Thy/latex.ML	Tue Aug 02 21:30:30 2016 +0200
+++ b/src/Pure/Thy/latex.ML	Tue Aug 02 21:55:15 2016 +0200
@@ -45,7 +45,8 @@
 
 val char_table =
   Symtab.make
-   [("!", "{\\isacharbang}"),
+   [("\007", "{\\isacharbell}"),
+    ("!", "{\\isacharbang}"),
     ("\"", "{\\isachardoublequote}"),
     ("#", "{\\isacharhash}"),
     ("$", "{\\isachardollar}"),