I'm looking for how to add a bottom square bracket (looks like this: ⎵) in latex (Overleaf specifically although I don't believe it should be different?).
According to Entering Unicode characters in LaTeX, this should work and is what I currently have:
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{9141}{\bottomsquarebracket} % 9141 is 23B5 in decimal
...
\begin{document}
...
This is a bottom square bracket: \bottomsquarebracket
...
\end{document}
When compiled, I just get the text "This is a bottom square bracket: " as if the \bottomsquarebracket wasn't there at all.
I'm open to changing my code entirely if there is another way to do this.
\verbvisiblespaceshould work with\usepackage[T1]{fontenc}in pdflatex, without the need for\texttt. – imnothere May 24 '21 at 03:51source2e.pdf). Vanilla LaTeX, though, defines\DeclareRobustCommand\asciispace{\char 32 }and for pdfLaTeX has\let\verbvisiblespace\asciispace– Don Hosek May 24 '21 at 03:55\verbvisiblespaceis defined as, if it's not\asciispace, doesn't mess up spacing... part of the legacy of UTF8 being grafted onto a system that doesn't inherently support it. – Don Hosek May 24 '21 at 03:58