Text FormattingPutting a continuous vertical line next to a text

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
hresquivelo
Posts: 4
Joined: Wed May 20, 2009 8:47 pm

Putting a continuous vertical line next to a text

Post by hresquivelo »

Hi. Is there any way to put a continuous vertical line next to a text?

This is an example to illustrate my point:
Image

Any help will be greatly appreciated.

Thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Putting a continuous vertical line next to a text

Post by gmedina »

Hi,

you can use the leftbar environment provided by the framed package; a little example:

Code: Select all

\documentclass{article}
\usepackage{framed}

\begin{document}

\begin{leftbar}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text \begin{equation}
  a=b
\end{equation}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
\end{leftbar}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
hresquivelo
Posts: 4
Joined: Wed May 20, 2009 8:47 pm

Re: Putting a continuous vertical line next to a text

Post by hresquivelo »

Muchísimas gracias!
Post Reply