When I compile
\documentclass[a4paper]{article}
\usepackage[a4paper, left=5mm, right=5mm, top=4mm]{geometry}
\begin{document}
\noindent\hfil\rule[0mm]{200mm}{.1pt}\hfil
\leftskip4em\rule{.1pt}{150mm}{}
\end{document}
where the horizontal line and the vertical line are connected, as I want.
When I introduce a multicols
environment in order to may write text at the right of the vertical column and I compile it
\documentclass[a4paper]{article}
\usepackage[a4paper, left=5mm, right=5mm, top=4mm]{geometry}
\usepackage{multicol}
\setlength{\columnsep}{-17cm}
\begin{document}
\noindent\hfil\rule[0mm]{200mm}{.1pt}\hfil
\begin{multicols}{2}
\leftskip4em\rule{.1pt}{150mm}{}
\columnbreak
\textbf{Lorem ipsum}
\end{multicols}
\end{document}
so the horizontal line and the vertical line become disconnected.
How can I solve this issue? Is it possible I open \begin{multicols}
without adding the space between the horizontal and the vertical line? Or may I write Lorem ipsum
text at the right of the vertical line placed as it is without using multicols
and having this issue?
Thank you!
PS: If I do (as suggested for text at first column of page 3 of https://ctan.javinator9889.com/macros/latex/required/tools/multicol.pdf)
\documentclass[a4paper]{article}
\usepackage[a4paper, left=5mm, right=5mm, top=4mm]{geometry}
\usepackage{multicol}
\setlength{\columnsep}{-17cm}
\begin{document}
\begin{multicols}{2}
[
\noindent\hfil\rule[0mm]{200mm}{.1pt}\hfil
]
\leftskip4em\rule{.1pt}{150mm}{}
\columnbreak
\textbf{Lorem ipsum}
\end{multicols}
\end{document}
I get an error:
Paragraph ended before \@rule was complete. [\noindent\rule[0mm]{