10 questions linked to/from Phantom and line break
39k views

### How to make a blank underline? [duplicate]

I'm looking to produce something like this: blah blah ____ blah blah But with a solid line. Thanks in advance.
34 views

### How do I make a long underlined hspace not run off to the page but split into multiple lines? [duplicate]

\documentclass{amsart} \begin{document} \title{Title 1} \maketitle Please fill in all details here: \underline{\hspace{50cm}} \\ Thank you \end{document} I would like to make the underline ...
4k views

### How to exclude text portions by simply setting a variable or option?

I'm writing a document where some text portions are confidential and would therefore like to create an environment (e.g. confidential) which I can then exclude from the PDF by simply setting a ...
2k views

### Censor text spanning multiple lines

I'd like to censor or hide some text while replacing it with the appropriate amount of white-space. The replacement text cannot be searchable. The text to be hidden usually exists in the LR mode. The ...
2k views

### An underline with texts one both ends of a line

I want to make a blank between texts on both ends of a line. For example, \begin{enumerate} \item There \hrulefill\ in the room. \end{enumerate} But, the above appears in student's version only, and ...
2k views

### How can I hide (or blur) some code in a listing?

I have a code listing to write in a report, but I'd like to blur or hide some code parts with a colored box (of same length as the hidden text), so that readers cannot see the hidden parts. (Another ...
416 views

### How to replace specific words with an underscore equal in length to the original word replaced in ConTeXt?

My problem is identical to Phantom and line break, however, I am using ConTeXt. I am creating a cloze test, e.g.: Frogs have four ____ and two eyes. The original text in the source appears like ...
985 views

### Control ulines for cloze text

@Martin Scharrer suggested me the following amazing solution to make cloze texts: https://tex.stackexchange.com/a/16004/4011 \documentclass{article} \usepackage[normalem]{ulem} \makeatletter \def\UL@...