Linked Questions

3
votes
1answer
102 views

How to make a soul driver draw two lines at once (one above and one below text)

This is a follow up question from Box highlighting of text with rounded corners (soul-based). The desired end result is a sort of "circled text", as one would do if annotating a text with a pencil. I ...
0
votes
0answers
206 views

Slack style code in LaTeX

How can I get text to look like Slack inline code? An example is the pinkish redish text in the image below.
2
votes
1answer
69 views

Realistically highlight theorem title and numbering

Recently I came along this awesome post about cool text highlighting in LaTeX and the corresponding answer from @Antal Spector-Zabusky. I do want to implement this highlighting into my lecture notes. ...
4
votes
1answer
44 views

Auto linefeed of node text in tikz

\node by tikz is used to get an effect of text highlight. It's all right except that the node text can not automatically linefeed. Is there a better way to achieve this? MWE: \documentclass{article} \...
3
votes
1answer
72 views

Making a comment on margin with decoration and dealing with page breaking

is it possible to make a comment-like section on the margin which encloses a paragraph and can deal with page breaking? The problem with the following code is that if an enclosed paragraph exceeds the ...
1
vote
1answer
69 views

Auto-cross lines in framebox

Some text in a paragraph may need frame out of them, and this framed text may cross lines. \framebox seems not be able to do that. How to get this effect as shown on the attached figure which is ...
3
votes
0answers
93 views

Need linebreak when \fbox exceeds the text area

Need to align a "fbox", when exceeds the text area. MWE: \documentclass{article} \begin{document} Blah \fbox{Text within box in horizontal line} Blah ... Blah \fbox{Text within box in horizontal ...
1
vote
1answer
72 views

Adjusting perimeter of colorbox to fit text

Consider this MWE: \documentclass[11pt]{article} \usepackage[left=1.5cm,top=2.5cm,right=3.5cm,bottom=3.2cm,a4paper]{geometry} \usepackage{xcolor} \usepackage{adjustbox} \usepackage{setspace} \...
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\...
0
votes
0answers
39 views

Inline DeclareTotalTCBox Using tColorBox

My goal is to have inline code embedded in text using \DeclareTotalTCBox. The problem is that the box is not breakable (even though I used the breakable option). I looked at the manual (v 4.20) page ...

15 30 50 per page