Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to Temporarily shift text to right in LaTeX?

3,456 views
Skip to first unread message

The Assistant

unread,
Jul 3, 1992, 7:02:45 PM7/3/92
to

Here is what I would like to do:

text left margin ........
text left margin ........

these lines are shifted
these lines are shifted

other lines follow.......
other lines follow.......

* The quote environment wont help because line widths are
also shortened.

* Can't use \hspace because there may be too many lines.

* \addtolength{\oddsidemargin} had no effect.

* I solved it with the description environment:

\begin{description}
\item \\
lines to be shifted are placed here.
\end{description}

Is there a better, more flexible solution?

Thanks in advance...

The Assistant

unread,
Jul 5, 1992, 12:54:06 AM7/5/92
to
ass...@unocss.unomaha.edu (The Assistant) writes:
>Here is what I would like to do:

> text left margin ........
> text left margin ........

> these lines are shifted
> these lines are shifted

> other lines follow.......
> other lines follow.......

Many thanks to M.Epstein, B.Clausing, and P.Parker
for sharing their ideas.

A more flexible approach to do the above is to use
the minipage environment:

\hspace*{NN}
\begin{minipage}{MM} % where NN + MM = \textwidth
lines to be shifted, etc.
\end{minipage}

The above can be generalized to:

\hspace*{NN}
\addtolenght{\textwidth}{-NN}
\begin{minipage}{\textwidth}
lines to be shifted, etc.
\end{minipage}
\addtolenght{\textwidth}{+NN}

Regards...

P.S. \advance\leftmargin by NN did not work!

Alex Lange

unread,
Jul 6, 1992, 3:43:42 PM7/6/92
to
ass...@unocss.unomaha.edu (The Assistant) writes:
:
: Here is what I would like to do:

:
: text left margin ........
: text left margin ........
:
: these lines are shifted
: these lines are shifted
:
: other lines follow.......
: other lines follow.......
:
: * I solved it with the description environment:
:
: Is there a better, more flexible solution?
:

Use \begin{flushright}
.
.
.
\end{flushright}

0 new messages