4

How can make an environment in which I can write my text and in output, I see it indented with a coloured vertical line?

I want the code be like the following:

\begin{textbox}[orange][1cm] % [colour of the line][distance from left margin]
\lipsum[1]
\end{textbox}

enter image description here

\documentclass{book}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}
enthu
  • 3,795

0 Answers0