Quantcast
Channel: Highlight every occurrence of a list of words? - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 7 View Live

Image may be NSFW.
Clik here to view.

Answer by Steven B. Segletes for Highlight every occurrence of a list of words?

Having answered a related question, Automatically highlighting nominalizations (a.k.a. zombie nouns) as a writing aid, I realized the listofitems could also perform this task rather simply.UPDATE for...

View Article


Answer by alexis for Highlight every occurrence of a list of words?

Here's a simple script that will mark up words that you specify by editing the script-- it was the simplest way to handle lots of words and lots of different colors. It requires perl, which is standard...

View Article


Image may be NSFW.
Clik here to view.

Answer by Aditya for Highlight every occurrence of a list of words?

ConTeXt provides a proof of concept module for such translations: m-translate. You could use it to translate text, but the translation takes place before macro expansion. So, the method will fail if...

View Article

Image may be NSFW.
Clik here to view.

Answer by Manuel for Highlight every occurrence of a list of words?

Here's another with l3regex.\documentclass{scrartcl}\usepackage{xcolor,xparse,l3regex}\ExplSyntaxOn\NewDocumentCommand \texthighlight { +m } { \david_texthighlight:n { #1 } }\cs_new_protected:Npn...

View Article

Image may be NSFW.
Clik here to view.

Answer by michal.h21 for Highlight every occurrence of a list of words?

Solution using LuaTeX callbacks. Library luacolor.lua from luacolor is also used.First package...

View Article


Image may be NSFW.
Clik here to view.

Answer by Steven B. Segletes for Highlight every occurrence of a list of words?

Strongly based on my answer at How to insert a symbol to the beginning of a line for which a word appears?. However, I had to extend the logic to handle multiple color assignments. Syntax is multiple...

View Article

Image may be NSFW.
Clik here to view.

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like...

View Article
Browsing latest articles
Browse All 7 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>