Discussion:
\parindent in figure environment ??
nekko337
2006-11-17 18:30:49 UTC
Permalink
Dear TeXniCenters Lovers,

I need to include a code-like material in a document with some of the
lines indented. So I use, e.g.

for $k = 1$ to $n$ do \\
\indent set $x_{k} := k$; \\
end \{for\};%

When I put it into the figure environment (in order to add a caption to
the included code), the \indent command ceases to work. It seems that
\begin{figure} resets the \parindent value to 0. How could I recover
the original value of \parindent?

Thanks for any help on that..

Dae-Jin

Loading...