{highlighting} is about highlighting document elements. Use this tag in addition to other tags specifying what should be highlighted.

learn more… | top users | synonyms (1)

2
votes
2answers
33 views

Highlight selected references with asterisk

I'm using Biblatex/Biber with the phys style. I would like to highlight selected references in the text with an asterisk, i.e. the number should be marked. A \cite{key1,highlightedkey,key2} should ...
1
vote
2answers
188 views

listings - highlighting additional keywords inside own delimiters (like Doxygen annotations)

According to listings - use different style for normal comments /* and doxygen comments /** I used listings package to set style for /** Doxygen comments */ as user defined delimiter moredelim = ...
0
votes
1answer
70 views

Highlight text and mathematical expressions with colored background

I'd like to have a function that I can use like a highlighter, both in text and in math mode. I wrote something that works but it's really slow and still causes problems in some situations. Here is ...
6
votes
0answers
233 views

How to activate syntax highlighting for multiple references in TexStudio?

I want to enable highlighting for multiple references command \parencites {} of Biblatex package the same as of a similar command for one reference \parencite {} using TexStudio editor. The image ...
4
votes
0answers
83 views

Text highlighting that works with CMYK xcolor mode?

I looked at Cool Text Highlighting in LaTeX, and as my MWE (below) demonstrates: ... the first part, highlighted with soul's \hl, fails when [cmyk]{xcolor} is used. The accepted answer in the link ...
4
votes
0answers
146 views

(Clickable) cross-reference in lstlisting

To generate documentation for an 'application programming interface', I would like to have a syntax highlighted area (with the class declaration), which has clickable links to the documentation (which ...
3
votes
0answers
32 views

tikzmark: declare a shape imitating <span> in HTML

Too Long; Didn't Read See the figure. The yellow blocks are actually three nodes. How to improve anchor border? How to place such a node inline? Or, overall, any better mechanism to do so? ...
3
votes
0answers
124 views

Highlighting text for review

I am looking for a way to highlight sections, sentences, etc for review without breaking the paragraphs up. I have tried the package todonotes, but I couldn't get the underlining to work with ...
2
votes
0answers
54 views

Unhighlighted syntax with listings package

I have some trouble with making documents with syntax highlight. Here is the MWE: \documentclass{article} \usepackage{xcolor} \usepackage{listings} \lstset{% language=[LaTeX]TeX, % I also tried ...
2
votes
0answers
48 views

Sublimetext highlighting of braces

In SublimeText 3, the syntax highlighting for latex documents in math mode has the following (unexpected?) behavior. Consider the following: \{sometext\} versus \{ sometext\}. The syntax ...
2
votes
0answers
31 views

How to highlight php code in a HTML document and the document itself?

how can I highlight php code in a HTML document and the document itself? Example: <!DOCTYPE html> <html lang="de"> <head> <meta charset="utf-8"> ...
2
votes
0answers
89 views

R-code linebreaks AND themes in knitr

hpesoj626 provides two great minimal working examples for how to get R-code linebreaks AND code highlighting in knitr. I was wondering if it was possible to use Yihui's knitr themes within either of ...
2
votes
0answers
76 views

Highlighting words with special characters using \hl (soul)

I am using xelatex, polyglossia and the document is in UTF-8 encoding. I use the soul package to highlight words (using soulutf8 makes no difference). The problem is really weird, so I will go ...
2
votes
0answers
163 views

Kile syntax highlighting: A single dollar sign in the preamble

I'm using Kile to edit my LaTeX documents. I define my own custom environment to hightlight LaTeX code named lstLaTeX with the following code: \documentclass[a4paper]{scrartcl} ...
1
vote
0answers
33 views

Box highlighting of text with rounded corners and hyphenation support

I used tcolorbox to highlight text some text in paragraphs, it seems to work smoothly, but it disables text hyphenation, that the highlighted piece fo text cannot be start somwhere at one line and ...
1
vote
0answers
91 views

How can I typeset PowerShell code with the listings package?

I'm currently creating my diploma thesis, and used PowerShell to do some of the described work. I'd like to also put some of this code into the thesis and would therefore like to have syntax ...
1
vote
0answers
94 views

(Beamer) Highlight node/edge labels using onslide/only

So in my Beamer slides, I'm using this to highlight various parts of a tikz figure on different slides. \documentclass{beamer} \usepackage{tikz} \usetikzlibrary{positioning,automata} ...
1
vote
0answers
61 views

Highlight indentation level in code listings

I try to highlight the indentation level of some code listings to explain indentation behaviour of my language. My language is whitespace sensitive. Indentation indicates block structure similar to ...
1
vote
0answers
120 views

TeXShop inverse search highlight color

[EDIT 18 Jan 2015: This has now been fixed in 3.49! Thanks to Richard Koch and company. Copied from http://pages.uoregon.edu/koch/texshop/version.html: Three hidden preferences were added, allowing ...
1
vote
0answers
81 views

Minted Listings don't behave the way they should

I'm quite new to La/TeX and I have a question about the package minted and it's listing feature. I'm using a LaTeX template from someone else who gave it to me. He used the listing feature as well ...
1
vote
0answers
78 views

highlight glossaries entries on page

I want to highlight my glossaries entries with bold or italic formatting. I have used the following command but then the whole document is very colorful what I didn't want to have it like this. ...
0
votes
0answers
206 views

Word/rtf to Latex conversion with highlighting?

Similar questions have been asked before, such as Word 2003 to LaTeX converter and How to write in .doc/.odf/.rtf and convert to .tex?. I have a minor specification on them: I would like the ...
0
votes
0answers
56 views

TeXShop is scrolling upwards while pressing cmd

When I press cmd in TeXShop 3.48.1, it scrolls upwards and highlights some text. Is there a way to solve this problem. I've just updated to MacTeX 2014 which did not solve the problem.
0
votes
0answers
137 views

get spyder-like color highlighting in pythontex

In my work with Python 3.4, I use spyder (anaconda3 2.0.1) and I like the highlighting of the Spyder editor (version 2.3). Is it possible to have the same highlighting scheme in latex documents ...