Terry Collins wrote:
> A latex question - how do you "double indent" a paragraph?
> I'm not having much luck on google. Might be a jargon problem.
> I'm basically listing a question, then typing a response, but I want to
> have the sides of the response paragraphs moved inwards. In WP (and
> others), this was known as double indenting.

You can either design a new command or a new environment to
your liking.

\newcommand{\qindent}{\hspace{2em}}
\newcommand{\aindent}{\hspace{4em}}

Defines a new commands called \qindent for questions and
\aindent for answers which are 2ems and 4ems in width.

Usage:

\qindent This is a typical question

\aindent This is thne answer

or a little more sophisticated, but typographically a mess,
is:

\newcommand{\question}[1]{\noindent\textbf{Q}:
\hspace{2em}\parbox[t]{4in}{#1}
\vspace{\baselineskip}

}

\newcommand{\answer}[1]{\noindent\textbf{A}:
\hspace{2em}\parbox[t]{4in}{#1}
\vspace{\baselineskip}

}

Then you type:

\question{This is a long question. Try addign enough so its
a paragraph. }

\answer{Add here a long answer}

If the questions and answers are longish i.e. more than a
few paras then look up creating a new environment. As
someone earlier replied the quote env might be a good one to
look or make your own. It's easier than creating a template
in Word :-)
 
If this is an examination like style with typical questions
and answers then there are a few LaTeX packages on
http://www.ctan.org that may help; exam, exams and
examdesign.

Mike
-- 
<mailer error>Available signature space taken up by legal
waffle, insufficient space for normal signature.
</mailer error>


UTS CRICOS Provider Code:  00099F

DISCLAIMER
=====================================================================
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
=====================================================================


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to