How can I obtain this vertical line?
Asked
Active
Viewed 76 times
1 Answers
2
Try this:
\documentclass[10pt,a4paper]{article}
\usepackage{framed,lipsum}
\begin{document}
\lipsum[1]
\begin{leftbar}
\noindent
\lipsum[2]
\end{leftbar}
\lipsum[3]
\end{document}
Output:
Second solution:
\documentclass[10pt,a4paper]{article}
\usepackage{framed,lipsum}
\begin{document}
\lipsum[1]
\begin{tabular}{|lp{10cm}}
\textit{Proof}:& \lipsum[1]\
& \lipsum[5]
\end{tabular}
\end{document}
Output:
Raffaele Santoro
- 9,702
-
Thank you for this reply. A question the lp 10 cm represent the length of the vertical lign. How should i know exactly the size of it? – Ravinala Nov 17 '22 at 20:53
-
1@Ravinata No, 10 cm is the width of text for proof, You can change this value as You need, also to reach the width of Your page . Length of the vertical line is equal to the length of Your proof. – Raffaele Santoro Nov 17 '22 at 22:35
-



tcolorboxcan be a way to solve your problem. – Zarko Nov 17 '22 at 12:32