From 0f5ee52244782c9d27c4c1af83385be59d9e372f Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Wed, 4 Dec 2019 22:11:57 -0500 Subject: [PATCH] Style URLs --- xenops-xen.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xenops-xen.el b/xenops-xen.el index 230b067..65d4f21 100644 --- a/xenops-xen.el +++ b/xenops-xen.el @@ -59,6 +59,8 @@ ("\\begin{quote}" . "“") ("\\end{quote}" . "”") + "\\url{\\([^}*\n]+\\)}" + ("\\item" . "⁃") ("\\includegraphics" . "img") @@ -93,6 +95,8 @@ ((string-match "\\\\subsection" match) '(face font-latex-sectioning-3-face)) ((string-match "\\\\section" match) - '(face font-latex-sectioning-2-face)))) + '(face font-latex-sectioning-2-face)) + ((string-match "\\\\url" match) + '(face underline)))) (provide 'xenops-xen)