What is \<open>
used for in isabelle?
Is it to aid some sort of literate source files that will be formatted differently when exported to html?
For example, section \<open>Network model\<close>
from
https://gist.github.com/ept/b6872fc541a68a321a26198b53b3896b
It is just a delimiter
It looks like ‹ ...›
if you visualize it in Isabelle/jEdit (and you should instead of reading gists)
I saw in a youtube video (forgot which one) where they were typing ‹
without fully typing in \<open>
. Is there a short way of typing that?
Finally a question I can answer!
In jEdit , type a double-quote and pause briefly. A menu will pop up, with the (probably) first option looking like
<[]> (template)
where the double-brackets are really a box, and the angle-brackets are actually smaller ones. That first option will be highlighted. Pressing "tab" causes an open-close pair of exactly the kind you want to appear:
image.png
with your cursor positioned so that your subsequent typing appears within them.
If that option isn't the first one, you can use arrow keys to move down and then press tab. If you do this a few times, the option will soon move to the top of the list, and you'll be in the world of instant cartouches. Well..nearly instant; you still have to wait just a moment for the popup to appear.
You can also set completion delay
to zero in the jedit settings, then you do not have to wait
John Hughes said:
In jEdit , type a double-quote and pause briefly. A menu will pop up, with the (probably) first option looking like
Thanks! This is what I was looking for.
So cartouche means the special symbols?
Makarius names those symbol cartouches
Last updated: Mar 09 2025 at 12:28 UTC