Linked Questions

2
votes
2answers
384 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?
3
votes
3answers
779 views

How to cross out a word with a wavy line in LaTex

I need to cross out a word with a wavy line in LaTex. I used ulem package but the result was underlined word with a wavy line. This is my code so far: \documentclass{article} \usepackage{pict2e} \...
4
votes
1answer
459 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 ...
3
votes
2answers
5k views

Wrapping text in a fcolorbox? [duplicate]

I'm using package "color" to have a green text box with black text, and my code is - \textbf{\fcolorbox{black}{green!30}{black text on a boxed green background}} How can I get it to wrap lines ...
3
votes
0answers
893 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 ...
3
votes
1answer
639 views

Colorbox with changes package

I am working with the changes package. Modifying the color of the changed passages works well with \colorlet command. Is it possible to create colorboxes (with yellow color) only around the changes (...
5
votes
1answer
451 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 ...
2
votes
2answers
890 views

Strike through with colors

My question is related to: Strikeout in different color appears behind letters, not on top of them, except that I use beamer instead of article. Therefore, the solution provided there is somehow not ...
4
votes
0answers
54 views

Use Tikz to draw underlines [duplicate]

The following MWE contains the definition of a custom macro for colored underlines with the ulem package. \documentclass{article} \usepackage{xcolor} \usepackage{ulem} \newcommand{\muline}{\bgroup\...
9
votes
2answers
377 views

How to define a macro to make a line of text red?

I'm looking for a way to make a new command that makes text on that and only that line red (or in another way clearly distinguishable). Like the % symbol comments out a line. Are commands that work ...
2
votes
1answer
542 views

How to Blend Fcolorbox with Surrounding Text

Based on \usepackage{xcolor} you can box text using the commmand \fcolorbox{declared-color-frame}{declared-color-background}{text}. Colored boxes with colored frames and linebreaks can be created by ...
0
votes
0answers
79 views

How to highlight few sentences in a paragraph? [duplicate]

I would like to get a simple result, as the following Is it possible?
8
votes
1answer
1k views

Mixing underline and strike-out

Word allows for all kinds of font formatting: The above example combines strike-through/strike-out (like this) and underlining. I'd like to be able to do the same, but neither ulem nor soul allows ...
6
votes
1answer
997 views

Create box around text without creating a paragraph and with line breaking

I want to draw a box (no rounded corners, keep it simple ^^) around one or multiple words. There are two special things: 1) the box should support line break and 2) the box should not cover multiple ...
2
votes
1answer
369 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 ...

15 30 50 per page