Tagged Questions
2
votes
1answer
91 views
Can we have viewer specific text in a pdf generated by pdfLaTex?
I am wondering if we could have a pdf file, which can tell what viewer its being viewed with. I was looking for some tex command, which says something like:
If viewer is Acrobat, print "Hi You are ...
10
votes
1answer
449 views
\listings code style for HTML5 (CSS, HTML, JavaScript)
I would like to create a code style for HTML5 that can be used with the \listings package.
An HTML5 document consists of three languages: CSS, HTML and JavaScript. That makes the whole thing a bit ...
1
vote
1answer
54 views
How to use listings with multiple languages?
I've got a HTML document with JavaScript inside that I want to show in my article.
For that I would like to use my JavaScript and HTML formatting. How can I get the listings package to use two ...