Being new to LateX (I have been playing around for less than a week), Im looking for an end-all method to format the indentation for an entire document. This would include:
- subsection indentation,
- paragraph indentation (first line and hanging),
- list indentation,
- list item indentation (first line and hanging),
- table indentation,
- float indentation,
- paragraph indentation which includes a wrapped figure/picture,
So far I just cant seem to get all of these things to work all at the same time.
One method I tried using was encapsulating all my paragraphs in:
{\leftskip=0.3in
first paragraph
second paragraph
list
third paragraph (embedded picture)
}
However that left me unable to indent first lines and lists.
Another method I tried was this
\newenvironment{zz}
{\list{}{\leftmargin=0.3in \rightmargin=0in}%
\item\relax}
{\endlist}
begin{zz}
first paragraph
second paragraph
list
third paragraph (imbedded picture)
end{zz}
But now my text flows right over my pictures. (also, if someone could point out why \list{}
does anything without a \begin
starting it that would be very handy).
the methods I am fiddling with right now feel very crude. Is there a way to declare a global formatting for all paragraphs based upon its "Level of Depth"?
Lastly, I cannot find a good resource that is just a reference database of commands, their options, the arguments they take, and how to use/what to use them for. For lack of a better description, something similar to how for java programming, you can find almost anything on http://docs.oracle.com/javase/6/docs/api/java/util/package-summary.html.
Help would be greatly appreciated.
zz
is the right thing (it is the definition of thequote
environment more or less, setting\leftskip
directly in latex is just wring and will lead to pain:-) It is hard to know what you mean by "level of depth" your examples don't show any nesting, or multiple paragraphs\list
, apart from some error checking\begin{zzzz}
is just\begingroup\zzzz
so it often is convenient to use\zzzz
directly if you know what you are doing and know you don't need the grouping in some context that has already supplied a group.texdoc
is your best friend.texdoc <package name>
will 'describe' the package you give it; it will pull up the full manual (almost always as a PDF) that explains the package. For your indentation, I'd use a combination ofgeometry
,titlesec
andenum????
(there is a package that deals specifically with lists), keeping in mind that you can have 'negative' indentation for the first line.