12

By blank, I'm looking to TeX something like this:

$\{\emptyset\}$ _ $\{\emptyset,\{\emptyset\}\}$, but I want the _ to look more like a longer blank as you'd see in a fill-in-the-blank type of question. Thanks.

2 Answers 2

17

You can use \underline with an argument of \hspace. For example,

\documentclass{article}
\begin{document}
$\emptyset$\underline{\hspace{1in}}$\emptyset,\emptyset$
\end{document}
0
12
\documentclass[11pt]{article}

\begin{document}
foo\textvisiblespace bar
foo\_bar 
foo\rule{1em}{0.5pt}bar
foo\rule[-2pt]{1em}{0.5pt}bar
foo~\rule[0.5ex]{1em}{0.5pt}~bar

\end{document}
1
  • It would help to show the output. \textvisiblespace gives you , which is what I wanted. Also see here.
    – Albert
    Jul 10, 2023 at 21:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .