70 questions linked to/from Cool Text Highlighting in LaTeX
877 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 ...
375 views

### Box highlighting of text with rounded corners (soul-based)

Here it is an excellent solution from Gonzalo Medina. Could somebody help me to make it with nice small rounded courners?
450 views

### URL with dotted/customized underline AND line breaking

How can I get a dotted URL underline with line breaking? I found this solution: Having all links underlined with dotted line but this TIKZ one does not work with line breaking. I also tried a ...
442 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 ...
253 views

### Colored background with rounded corners for a text fragment preventing an overflow over the end of line

I have already found some similar solutions, but I was not able to adapt them to my requirements: A text fragment (e.g., source code) surrounded by other text should be highlighted with a background ...
260 views

### A bad result with the soulutf8 package

When I combine \textsl \textbf and \hl from the soulutf8 package, the result is ugly. Some letters are degraded. By zooming or printing you can see that with the following code: \documentclass[12pt,...
227 views

### Tcolorbox: breakable inlined box

I'd like to have a breakable inlined box in order to emphasis some text. Any idea how to do that, if possible with tcolorbox? Thanks! MWE: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \...
368 views

### How to write over a table? [duplicate]

I would like to make a hanzi grid for practicing Chinese characters, like this one: http://www.hanzigrids.com/version/1328584298/example-pdfs/hanzigrids-yingbikaishu.pdf I am able to make the table ...
380 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 ...
289 views

### Excess space surrounding highlighted text in modified soul's hl command

In Cool Text Highlighting in LaTeX, Gumbo offered, in a comment to Caramdir's answer, \hlc, a modification of soul's \hl to allow choosing the highlighting color on the fly. \hlc, though, leaves ...
160 views

### White space between hightlight tex [duplicate]

Here I faced challenge in highlighted text using soul package, when highlighting white space occurs in between lines. It should be closed up, please suggest any option for fixing this issue: Note: ...
255 views

### Modified soul command \hl will not accept \boldsymbol

In Cool Text Highlighting in LaTeX, Gumbo offered, in a comment to Caramdir's answer, \hlc, a modification of soul's \hl to allow choosing the highlighting color on the fly. \hlc accepts \$2\$ as ...
247 views

### Highlight text starting from the middle of line

I am using tcolorbox to highlight text. However, the color box starts from a new line even if I start highlight from the middle of a line. \documentclass{article} \usepackage[most]{tcolorbox} \...