I tried the $\overline{\phantom}$, but it doesn't work. The output should look like this.
[
]
This can also included between single quotes.
1:
I tried the $\overline{\phantom}$, but it doesn't work. The output should look like this.
[
]
This can also included between single quotes.
1:
\phantom had to have an argument, for example
$\overline{\phantom{I}}$
For it you can define \newcommand, for example as is done in the following MWE:
\documentclass[border=3.141592]{standalone}
\newcommand\Bar{$\overline{\phantom{I}}$}
\begin{document}
text \Bar text
\end{document}