The tag has no wiki summary.

learn more… | top users | synonyms

19
votes
2answers
8k views

Extend a language with additional keywords?

I'm using listings and I want to extend a language with additional keywords for highlightning. I know there is an option morekeywords available, but that only works for a particular lstset declaration ...
6
votes
3answers
600 views

How to highlight keywords?

I have an article with many keywords mixed throughout. I also have a list of those keywords and their definitions (this list needn't appear in the document, and I can put it in a CSV or any format as ...
5
votes
1answer
183 views

format special words in text

Is it possible and furthermore constructive to make LaTeX automatically format specific words in specific way? Let's say, for example, I'd like to have every occurrence of the word "hello" in a bold ...
2
votes
1answer
198 views

Where is the MiKTeX list of keywords?

I recently downloaded Basic MiKTeX 2.9.4813.. I'm trying to find on the MiKTeX dir a file containing a list of all general keywords for LaTeX languages but can't find any... Could you help me?
4
votes
1answer
149 views

How to I emphazise all words beginning with ` in an lstlisting

I use a preprocesser to process some code before my verilog compiler. All preprocesser words start with the ` character Example: `pp_if unfortunately its possible to define your own preprocessor ...
2
votes
1answer
910 views

Add keywords to an existing language in listings

I've already read extending a language with additional keywords and I have found kind of a solution, but I'm not quite sure if it's the right way and if I won't have problems in the future. The ...
2
votes
1answer
520 views

Disable line numbering of specific lines

Is there way how to turn off numbering of lines for specific line in algorithm2e? I need bold : after keyword. So I tried redefine these macros: \renewcommand{\KwIn}[1]{\textbf{Input:} #1} ...