aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/coq/coqdoc-egs.v
blob: d79d44e587acdd2af6c56e3d6023b71cf40202e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(* Some tests/examples of coqdoc regions in Coq files, 
   used with MMM configuration (ProofGeneral -> Options -> Multiple Modes. *)


(** This is a coqdoc plain text region.

    After editing/changing regions in mmm mode, use C-x % C-b to reparse
*)


(** %This is a special case of a \LaTeX{} region recognised by MMM.
\begin{quote}
Emacs will be in \texttt{LaTeX} mode when editing this region.
\end{quote}
 % *)


(** #Similarly, this is an HTML region, edited in HTML mode # *)


(* Finally, here is some *)
<<
verbatim text
>>
(* in text mode *)