I've been having a problem with Latex. I've been searching the internet with google and so far I haven't found a solution, so I thought I'd ask here.
What I'm trying to do is create a very simple set of commands for myself that will let me create a simple dictionary. Now, the usual format for a dictionary entry, in the dictionaries I have in my house, is for all lines after the first one to be slightly indented, which is the inverse of what Latex wants to do (indent the first line of a paragraph but not the rest). The reason for this is so that the start of each new word definition stands out. Below is a (silly) example:
Code: Select all
Dog [..] n. Large mammal. It has
fur and a tail, and is commonly
known as man's best friend.
Code: Select all
\newcommand{\newentry}[4] {%
\begin{flushleft}
{\bf #1} \textipa{[#2]} {\it #3} #4
\end{flushleft}
}
Code: Select all
\newcommand{\newentry}[4] {%
\begin{flushleft}
{\bf #1}
\addtolength{\oddsidemargin}{5mm}
\addtolength{\evensidemargin}{5mm}
\textipa{[#2]} {\it #3} #4
\addtolength{\oddsidemargin}{-5mm}
\addtolength{\evensidemargin}{-5mm}
\end{flushleft}
}
I'm not a particularly sophisticated user of Latex, although I generally manage to get it to do what I want by experimentation and lots of Googling. This time, though, I just can't figure out how to get what I want.
I'd appreciate any help you could give.
Chris.