Questions tagged [highlighting]

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

Filter by
Sorted by
Tagged with
2
votes
2answers
30 views

need help in highlighting a row in a table

I am trying to highlight a rows MSE in the table but i am unable to do it and I am getting a small box at the end of the table. need help to draw a red box around the MSE row in the two tables ...
2
votes
1answer
32 views

Is there a way to get the text position on beamer slides? (Can I insert auto-positioned spotlight highlights?)

This problem originates from the idea that I wanted to put spotlight highlighting directly on my slides. I was able to code something like that. (And there is also an alternative here: beamer: using a ...
0
votes
1answer
14 views

How to highlight text in lyx?

I want to highlight some text in lyx just like in word/docs. I can't find the way to do this in lyx, how do I do that?
0
votes
0answers
24 views

Highlight the title of a section and one bibliography output of bibtex

I am trying to highlight one specific title of my section by using the \hlc command, but it does not seem to work at all. When I try this: \hlc[green]{\section{Title section5}}, the title of the ...
1
vote
1answer
19 views

Ruined styles when adding empty explpreset

I'm trying to show LaTeX commands using package showexpl. In the documentation of the package, it says that explpreset has a default value of . I think the sentence in documentation is not completed ...
1
vote
0answers
38 views

How to add text at the start and end of each line?

I would like to add some text at the end of each line. For example, for the input This is a long text that will be split by LaTeX into various lines. I want to obtain This is a long textX Xthat will ...
0
votes
1answer
69 views

Syntax highlight for gmsh code (*.geo)?

I am looking for syntax highlighting packages (as listings or minted) for *.geo (gmsh input) and/or MSH file format version 2 or 4 *.msh (gmsh output). Example of content of *.geo file // Scale global ...
0
votes
1answer
32 views

pgfplotstable: string replace when formatting with 'postproc cell content' does not work

It seems, that string replace={XXX}{replaced} does not work, if I use postproc cell content/.style={...}. What can I do? \documentclass[a4paper]{article} \usepackage{colortbl} \usepackage{...
0
votes
1answer
19 views

Looking for a package able to do this highlighting+labeling

I am looking for a way to do the following highlighting : see the word "be". I did some googling to find an answer but I wasn't lucy! I also tried other ways such as converting the HTML ...
1
vote
0answers
52 views

Why does highlighting in the soul package change the spacing between letters?

\documentclass{ieeeaccess} \usepackage[noadjust]{cite} \usepackage{amsmath,amssymb,amsfonts} %\usepackage{algorithmic} \usepackage{graphicx} \usepackage{textcomp} \usepackage{color, soul} % comment ...
0
votes
0answers
30 views

How to highlight multiple lines of inline equations?

\documentclass{ieeeaccess} \usepackage[noadjust]{cite} \usepackage{amsmath,amssymb,amsfonts} %\usepackage{algorithmic} \usepackage{graphicx} \usepackage{textcomp} \usepackage{color, soul} % comment ...
8
votes
1answer
189 views

Highlight numbers using listings package

The problem: Is it possible to highlight all the numbers inside a lstenvironment except the numbers in comments, strings or variable names? Example of expected output (Python in Google Colaboratory): ...
1
vote
0answers
99 views

MDPI Default Template Highlight

Hi everyone I am working on MDPI submission using their template avaliable on overleaf and their site here I am highlighting changes using the soul package and the \hl{} but everytime I do this on the ...
2
votes
1answer
18 views

Biblatex: Marking reference categories with different symbols

A journal I would like to submit to requires that references of "special" and "outstanding" interest be labelled with one or two asterisks, respectively, as follows: This is a ...
1
vote
0answers
35 views

Beamer - \spot not Transparent

In Beamer, I tried using \spot, but no matter what I tried, I couldn't get it to not be opaque. e.g., If I write \spot{0}: 1, the spotlight 'highlights' 0, but leaks over and hides : completely. I ...
2
votes
0answers
31 views

Beamer - Make “alert” font highlighted

In the Beamer class, How can I make the \alert font highlighted as in \hl? Then, how can I make it so a word is alerted (highlighted) for only one slide? i.e., I want this to be the output: Slide 1: $...
0
votes
1answer
26 views

Is it possible to automatically highlight the top level of an enumeration?

The motivation for this question is : I have an enumeration with depth = 2 (one level of nesting, not shown here) that is long, which is a page waster. One alternative is a) to inline it (enumerate*) ...
0
votes
1answer
31 views

Color of side note change when adding highlighting on crossline text (with the soul package)

Just as shown in the following picture, when I highlight the crossline text, the color of the text in side note of the same line is also changed. The code is as following: \documentclass[onecolumn]{...
5
votes
1answer
137 views

Minted: alternate (zebra) background color lines

despite my precarious knowledge of the environment, I have been able to style listings to my taste (which is nothing fancy) for modern JavaScript. The show-stopper is that I need to syntax-highlight ...
0
votes
0answers
19 views

Highlighting filenames in inline text (for revtex or latex)

I'm wondering if there are any recommendations or suggestions on how to properly highlight filenames written in the text, for example when mentioning source code files (frontend.py in the example ...
1
vote
1answer
43 views

Pass a regexp to an engine to produce highlighting in the pdf output

Is there a way to pass a regexp to an engine (pdflatex, xelatex... I don't know what could be the right choice) to produce a highlighting of the matches in the pdf output? I need the .tex file not be ...
1
vote
1answer
26 views

How can I highlight blocks of text which include citations and display equations?

I am addressing reviewer comments for a scientific article. I would like to highlight significant changes to make it easier for reviewers to spot the changes. However, I find that when using the soul ...
1
vote
0answers
24 views

Change background color of head navigation elements (and shaded)

I want to change the background (as a rectangle around, similar to the footer) in the two head navigation bars, for section and subsection. So that the currently active elements have one color, e.g. ...
3
votes
1answer
174 views

How to yellow highlight differences of two tex documents automatically in LaTex

I want to compare two different tex files, say old.tex and new.tex, by just yellow highlighting the different places in the new.tex automatically. I tried two ways but not exactly what I want. Use ...
0
votes
0answers
48 views

Highlight and label anything in LaTex article

I'm looking for a package that highlights and labels anything I wrap with it. So that I can then create a list of those highlights according to the label. I was thinking of something like the ...
0
votes
0answers
56 views

Parts of speech tagging in LaTeX?

A part of speech tagger identifies the nouns, verbs, adjectives, etc. in a sentence. There are several programs that do this online, an example being https://parts-of-speech.info. I am looking for a ...
1
vote
1answer
45 views

Coloring the lines of an algorithm

I'm writing a report for a class project and I need to highlight several lines within some of the algorithms in the report. I managed to do so, but I don't like the solution I got. Here is a picture (...
2
votes
0answers
17 views

Texmaker Highlight/Note Functionality

I was thinking it would be really useful to me if there is a functionality in texmaker like highlighting some text blocks to easy recognize. Currently I am writing comments like this %%% Check This ...
0
votes
0answers
47 views

highlighting with soul corrupts text structure

I have a text where students have to individually highlight certain passages. The lines are numbered for later comparison. I use \hl{} from the soul-package for highlighting, but have found that it ...
1
vote
0answers
149 views

How can I highlight specific lines of code with minted in beamer?

I've been working on a set of slides in beamer, and one feature I really like as I'm learning is alert. In one part of my presentation, I have a relatively complex bit of code that's 12 lines long ...
1
vote
0answers
87 views

How to highlight text spanning multiple lines that includes macros?

I am currently proofreading a document and want to highlight some sentences. Unfortunately, I haven't found a highlighting package that can both Preserve linebreaks Highlight text produced by macros, ...
0
votes
0answers
20 views

LaTeX highlighting ignored in Kile 2.9.91

I'm trying to change the editor highlighting for LaTeX in Kile via: Seetings > Configure Kile > Editor > Fonts & Colors Highlighting Text Styles choosing Highlight:Markup/LaTeX and then ...
3
votes
1answer
34 views

How to get xcancel to work inside highlight?

\documentclass[oneside,9pt]{memoir} \usepackage{soul} \usepackage{cancel} \usepackage{ulem} \usepackage{lipsum} \usepackage{xcolor} \makeatletter \def\SOUL@hlpreamble{% \setul{\dp\strutbox}{\...
1
vote
1answer
41 views

Looking for a way to mark margin

Per the formatting requirements for a specific proposal, I need a way to mark sections of the documents (possibly breaking across pages) with asterisk symbols going down both margins. Ideally I would ...
3
votes
2answers
244 views

Highlighting only the bottom half of a word

I would like to define a command for highlighting in the following style. Some people do this on paper and I would like to mimic that on a particular document. How could I achieve this? I thought of ...
0
votes
1answer
72 views

Break longer word into lines to fit the box (inputminted?)

I would like to fit the long string (as it is labelled url in the json file) inside the box without overflowing. As far as I understand, breaklines option only helps when strings consist of separated ...
0
votes
0answers
123 views

highlight not working on figure captions

I am using highlight package where I use \hl command to highlight certain sentences. But when It comes to a figure caption, it gives wierd errors and stops working. Any suggestions on this. \...
2
votes
1answer
100 views

lstlisting: Box numbered variables in matching colors

Is it possible to match numbers, prepended by a %, e.g. variable %101 and surround every occurrence of that number in color-matched boxes? I am trying to make it easier for readers to follow the ...
2
votes
1answer
146 views

How to highlight the XML code in latex overleaf

I followed few answers mentioned here to highlight the XML content in my latex and tried to combine best things together from different answers but for some reason nothing is being highlighted in my ...
4
votes
3answers
54 views

No corner table with colored titles

I would like to know how to build a table like the one on this code, however I feel there should be a much better way to do it since: 1.- I want to get rid of the top left cell. 2.- Since the left ...
0
votes
0answers
29 views

Highlight some text and download it as image online

Till now, I was using codecogs online editor to quickly get LaTeX images simply by attaching the code at the end of the url like this - https://latex.codecogs.com/png.latex?\int_{0}&space;^{\infty}...
4
votes
1answer
132 views

minted escapeinside works for all supported languages except LaTeX

I want to add some math symbols into the escaped contents, minted works well for languages like Python, but not LaTeX. A sample code: \documentclass{article} \usepackage{minted} \begin{document} \...
1
vote
1answer
76 views

Biblatex multiple author annotations

I'm highlighting certain authors in biblatex using the annotation feature: \documentclass{article} \usepackage{biblatex} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @MISC{test, ...
8
votes
2answers
563 views

Alternative to the soul package?

Context One may want to highlight some text, or strike it. This can be done with either the soul package, or with the ulem package using a trick, although it does not work that well. Problem The ...
3
votes
1answer
83 views

Highlight Lines in side-by-side algorithm

I have a 2 column latex template (IEEEtran), in which I put 2 algorithms side by side: \documentclass[10pt,conference]{article} \usepackage{algorithm} \usepackage{algorithmic} \usepackage{xcolor} \def\...
2
votes
1answer
60 views

Bibliography: highlight recent references automatically by adding an asterisk in left margin

I am updating a list of references and I would like to highlight references added since the last update. For example, I would like to add an asterisk (or another symbol) just before the reference (...
4
votes
1answer
811 views

Use minted for plain-text? (without syntax-highlighting) [duplicate]

I'm possibly too lazy to find how to do it without minted, but since I already use minted and I want top keep it's styles it applies to code boxes (like background color, the line break features, ...
0
votes
0answers
48 views

Highlighting citations along with some long sentences starting in the middle of paragraphs

I am trying to highlight my revised paper in latex, since when I highlight its PDF using Foxit the highlights are not shown after pressing generate PDF in journal's website. I have some troubles: I ...
2
votes
1answer
39 views

How to stop lines of an algorithm from jumping up and down

I have the following code to walk though the lines of an algorithm: \documentclass{beamer} \usetheme{default} \usepackage[]{algorithm2e} \def\HiLi{\leavevmode\rlap{\hbox to \hsize{\color{yellow!50}\...
1
vote
0answers
82 views

pgfplotstable: How to highlight row and column of a cell with special content

If I say string replace={x}{\cellcolor{pink}x} a cell with content 'x' gets highlighted. But how to highlight the row and the column of 'x' too? \documentclass[]{article} \usepackage{pgfplotstable} \...

1
2 3 4 5
12