{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)

0
votes
0answers
18 views

Highlighting combination of text and cited references [duplicate]

How can I highlight a text that has cited references in it as well? I am using \hl{} in package soul but it does not work when the text contains cited references in \cite{ } form as well. I appreciate ...
1
vote
1answer
17 views

Customizing latexdiff default (UNDERLINE) output styling

I'm using latexdiff to highlight the differences between two versions of a tex document, using the default style which is UNDERLINE. This style formats added text in blue with a wavy underline, and ...
1
vote
0answers
13 views

changing TeXShop PDF search display preferences

I am using TeXShop 3.59 on a MacBook Pro. I would like to change the colour for highlighting search results in the PDF from light gray to a more discernible colour as I have great difficulty finding ...
9
votes
2answers
97 views

Listings for plain tex

Is there a package to produce syntax-colored blocks of source code in plain TeX ? A listings equivalent ? Or (maybe) some macro to produce a colored tex input for some given source code ? Is it ...
2
votes
1answer
32 views

Highlight differences between character sequences

I have got some character sequences which I need to put into a documentation: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \begin{document} \begin{table}[h] {\renewcommand\...
1
vote
1answer
61 views

How can I color one cell of a table using a tikzpicture?

I want to draw a table, and color one cell in another color. As I'm not that experienced in latex, I found this example: \usepackage{tikz} \usetikzlibrary{calc,matrix} \usepackage{amsthm} \usepackage{...
3
votes
2answers
115 views

How do I draw a path of grey background through elements of a matrix?

I would like to draw a highlighted path along elements of a matrix, as in the following example (which looks quite ugly as I drew the path manually with Gimp). I know ways of changing the color of ...
2
votes
1answer
21 views

Align \boxed{} equation inside systeme*

I would like to know how can I align a *systeme** environment with only a \boxed{} equation belonging to it. The code I have produces the right system of equations, but the boxed equation is ...
0
votes
0answers
43 views

How to Highlight everything: Text, Tables, TiKZ Pictures

I am aware of Latex text 'yellow' highlighters, however, I am looking for the perfect highlighter, which can simply highlight everything from text, tables and TikZ Figures. Is there a way (for ...
2
votes
0answers
63 views

Highlight subsections below current section, while shade other (sub)sections

I want my slides to show like this, that the current section and its subsections highlighted, while other section and subsections shown but shaded: http://web.mit.edu/rsi/www/pdfs/beamer-tutorial.pdf ...
2
votes
1answer
52 views

Highlight #pragma in code listing using minted

I'm going to give a talk on OpenMP soon and I'm currently preparing my beamer slides. Since a lot of the OpenMP magic happens inside of #pragma instructions, I'd like to highlight those in some bright ...
2
votes
1answer
38 views

Highlight the item in list after uncovering it

\documentclass[xcolor=table ]{beamer} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \title[Your Short Title]{Your Presentation} \author{You} \institute{Where You're From} \date{Date of ...
0
votes
0answers
60 views

minted not highlighting and inserting random characters in code

I am trying to syntax highlight some Haskell code in my latex document. The rest of my document works fine except for one section. I have the \usepackage{minted} command where my other packages are ...
2
votes
1answer
32 views

Highlight changed part of the equation

As a physicist, I often have unhandy expressions and do manipulations on them. One such example is the following: The only thing that has really changed are that the \gamma^0 from the outside ...
0
votes
2answers
122 views

Why did TeXstudio suddenly highlight some commands with red background?

I tried to compile from a .tex file included by master. TeXstudio didn't infere that master.tex, which was also open in Texstudio was the master. I received a lot of error messages, and as a result, ...
4
votes
1answer
137 views

Highlight Text with Background Color

I try to highlight text with \texttt font and background color (somehow like the highlighting on StackExchange: this). I tried with a colorbox, but the problem is that it doesn't support line breaks, ...
1
vote
1answer
61 views

highlight several successive paragraphs, including tables

I want to do s.t. which seems like it ought to be trivial, but I've tried for two days without success (much of the time trying methods I found here). Conceptually, I want to highlight an arbitrarily ...
3
votes
2answers
83 views

Text not wrapping to margins if highlighted with \colorbox

In a test file such as; \documentclass{article} \begin{document} \begin{itemize} \item Short line of text \item Comparatively long line of text to illustrate that latex is wrapping my text ...
6
votes
1answer
110 views

How to highlight elements of a matrix in a formula? [duplicate]

I currently have problems with hihglighting elements inside a matrix. I've red a lot of questions here, my problem is that I have a matrix formula, {N}=[AB]{E} where I would like to highlight parts ...
1
vote
0answers
65 views

Highlight or find locations of bounding boxes

I want to produce documents where every paragraph, equation, and other visually distinct part of the document is highlighted with its own background color (e.g. equations are highlighted in blue, ...
3
votes
2answers
89 views

Highlighting First Occurence of Word. Making it Case Insensitive

first time asking a question. I'm implementing egregs answer from this question: Highlight First Occurrence of a Particular Word %%% Code to set up special term treatment \makeatletter \newcommand{\...
2
votes
1answer
130 views

Customising Syntax Highlighting in TeXmaker

I'm wondering if there is any way to add new syntax highlighting patterns to TeXmaker. I've been using TeXworks for years and I love that special characters $ & { [ etc. are highlighted ...
1
vote
0answers
45 views

Indentation issues with highlighting cell using tikzmarkin

I am trying to eliminate offset/indentation issues when using tikzmarkin to highlight regions of a table. \documentclass{beamer} \RequirePackage{booktabs,colortbl,caption,tabularx,chngcntr, tikz, ...
7
votes
1answer
67 views

How can update this code for print number with different colors?

I have this code for highlight the diagonal, the first row and the first column with different colours! (This code has been build from egreg on this community :-D in a past question) \documentclass{...
2
votes
2answers
84 views

highlight a node in tikz

\begin{frame} {Family work up } \begin{tikzpicture}[level 1/.style={sibling distance=5cm},level 2/.style={sibling distance=2.5cm}] \node {Patient}[edge from parent fork down] child { node {...
1
vote
0answers
102 views

Latex highlighting error for lstinline

it has been quite a while that I have this problem and I have searched everywhere online and couldn't find a solution. The problem is latex syntax highlighting doesn't work after this line: \...
0
votes
0answers
37 views

highlighting of \begin{} and \end{} in TeXworks

I previously worked in TexShop, where I could for example click on '\begin{enumerate}' and the corresponding '\end{enumerate}' would be highlighted in the same colour. The same went for math mode, ...
5
votes
1answer
227 views

How to set up beamer to grey out past items but hide future items?

I know about beamer's feature \setbeamercovered{invisible} and \setbeamercovered{transparent} to hide or grey out upcoming item's . But is there some way to have past items greyed (transparent) and ...
4
votes
1answer
122 views

Setting style for Python docstrings in lstinputlisting environment

I am using the listings package for source code in my LaTeX document. I am trying to set the style for docstrings in the Python programming language: \documentclass{article} \usepackage{listings} \...
0
votes
0answers
41 views

How to highlight accented characters in pdflatex?

I tried using soul package and hl{word inside with an accent such as é} but they simply can't be rendered in pdflatex. I tried lualatex or xetex and it worked, BUT on the downside a lot of other ...
-1
votes
1answer
57 views

\cshade makes an empty line after, How can I fix? [closed]

How can I fix the space added after it? \newcommand{\tccheck}[1]{{\cshade{yellow}{#1}}}
7
votes
2answers
243 views

Highlight the upper or lower triangular portion of a matrix

I previously asked this question here, but now would like to achieve the same goal with a matrix under a different construction. More specifically, how can I highlight or shade the upper or lower ...
4
votes
2answers
170 views

How to shade or highlight the upper or lower triangular part in a matrix?

How can I shade or highlight the lower (or upper) triangular part of a matrix in some color like Q above?
2
votes
1answer
57 views

How to add background for texttt (and allow line breaks)

I use texttt{} to write names of software, commands etc. within the text. Sometimes the texttt text is longer and there is a line break within it. It works well, no problem here. I wish to add ...
1
vote
0answers
35 views

listings: enable language settings only inside delim

I wish to enable language settings (keyword, string etc.) only inside delimiter. Example based on Jubobs answer to question about highlighting oneline delim. \documentclass[a4paper, 12pt]{article} ...
3
votes
1answer
54 views

listings: Highlight one-line delim without the delimiter itself

I would like to use a one-line delimiter (with [l] parameter), but without highlighting the delimiter itself; something like sqlite> .open ex2.db What follows sqlite> should get highlighted but ...
5
votes
1answer
78 views

make soul highlight span lines

The \hl command from the soul package highlights spans of text with a backround color when color is loaded. When used on longer spans of text, some inter-line spacing remains uncolored, which is ...
4
votes
1answer
37 views

Let TeXStudio highlight chords (e.g. \[F#]) in songs package

I wrote a chordbook with songs package and I would really like that TeXStudio highlights the chords. The syntax is like: Oh fre\[F#]edom In the file in <user>\AppData\Roaming\texstudio\songs....
0
votes
1answer
87 views

how can I highlight text with the following effect

how can I highlight text with the following effect? The darkness of the color indicates the importance of the text.
1
vote
1answer
54 views

beamer: how to label an equation with \alert in its \tag?

I would like to \alert an equation tag, then refer to it in another overlay. \documentclass{beamer} \usepackage{amsmath} \begin{document} \begin{frame} \only<1>{ My equation reads: ...
2
votes
1answer
110 views

hf-tikz package: error with custom colors and overlay in beamer class

Consider the following MWE from here: Solution with the hf-tikz package \documentclass{beamer} \usepackage{lmodern,amsmath,amssymb} \usepackage[beamer]{hf-tikz} \usetheme{Copenhagen} \begin{...
1
vote
0answers
188 views

Highlight text in editor window (Texstudio)

I am trying to highlight some text in the editor window (like WinEdt does). For example, by typing: \textbf{some text} I would like to have the phrase "some text" in bold in the editor window, ...
4
votes
1answer
102 views

Highlight first occurence of reference in text

I'm working on a LaTeX template for our institute. The guidelines dictate an unusual style when referencing figures, equqations or tables. The frist time, they are mentioned in the text, they have to ...
3
votes
1answer
122 views

Highlighting of $…$ syntax in WinEdt 9

In WinEdt 8.0 the text within dollar signs $...$ in the .tex file was highlighted by using a different background color than the rest of the text. I installed WinEdt 9.0 and this effect is no longer ...
2
votes
0answers
77 views

Stepwise edge hightlighting (tikz) doesn't work with template [closed]

I'm just now working on a written paper for a presentation I've given and would like to reuse the graphs developed for the slides. Unfortunately the template given for the paper somehow screws with my ...
0
votes
0answers
55 views

Kile - syntax highlighting of new command

I made the following changes to my /usr/share/kde4/apps/katepart/syntax/latex.xml file for Kile: in the <highlighting><contexts> section, I added the line <StringDetect String="\lm{"...
2
votes
1answer
85 views

Highlight text using alltt

I am trying to create this effect: (without red underlines, I did this example with Word that emphasizes the words he doesn't know in red). I used the package alltt this: \begin{alltt} text ...
2
votes
2answers
137 views

Inline verbatim with line breaks, colored font and highlighting

I'd like to be able to use inline verbatim text with the following features: Line breaks, as provided for example by package spverbatim, command \spverb; Colored font, as provide by package color; ...
1
vote
2answers
153 views

Can I copy text with syntax highlighting

Is there a way to copy LaTeX text out of TeXstudio with syntax highlighting? Will include some macros and small portions of LaTeX in a presentation (Powerpoint) and want to get it as readable as ...
3
votes
0answers
125 views

problem with highlighting single words with adobe reader in iPad

It seems awful that I can't highlight an individual word in adobe reader in ipad. Selecting words are done randomly. In some cases, it does highlight an individual word whereas in other cases, it ...