Tagged Questions
1
vote
1answer
350 views
Hightlight an XML code beamer
To hightlight an XML code I have refer to XML syntax highlighting, so I write:
\documentclass[10pt]{beamer}
\usepackage{listings}
\usepackage{color}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
...
5
votes
1answer
701 views
XML syntax highlighting does not work
How do I make comments highlighted in the form:
<!-- ======= Processing Root tag ======= -->
. This is not working.
\documentclass[11pt]{scrartcl}
\usepackage{listings, color}
...
7
votes
1answer
2k views
XML highlighting - different style for attributes
I need to highlight syntax in my LaTeX presentation, so i've found this answer:
XML syntax highlighting
\lstdefinelanguage{XML}
{
morestring=[b]",
morestring=[s]{>}{<},
...