\documentclass{article}
\begin{document}
\hrule
\noindent\rule{\textwidth}{0.4mm}
\noindent\rule{\textwidth}{0.4pt}
\end{document}
I need to insert text inside the rule.
cvrulestext;
\documentclass{article}
\begin{document}
\hrule
\noindent\rule{\textwidth}{0.4mm}
\noindent\rule{\textwidth}{0.4pt}
\end{document}
I need to insert text inside the rule.
Best Answer
Unless I've completely misunderstood the problem, here's a version that inserts text into a "rule" by using a
\colorbox
of appropriate width instead of an actual LaTeX rule:With a higher magnification, the hidden message (if that was intended) becomes readable: