Article View: comp.text.tex
Article #2453\raggedright paragraph in tabular environment
From: Erhard Hilbig
Date: Wed, 19 Aug 1992 09:26
Date: Wed, 19 Aug 1992 09:26
79 lines
3413 bytes
3413 bytes
Who can help me on the following problem?
I want to get a raggedright paragraph in a tabular environment without any
extra lines above or below. (see the following example)
Erhard Hilbig email: zahilb@pbhrzt.uni-paderborn.de
==========================================================================
\documentstyle{book}
\frenchspacing
\textwidth11cm \textheight17cm
\oddsidemargin0cm \evensidemargin0cm \topmargin-2cm
\newcommand{\rra}[1]{{\raggedright #1}}
%this command does not work at all!!!
\newcommand{\rrb}[1]{{\raggedright #1 \par}}
%this produces an extra line after the paragraph!!!
\begin{document}
\footnotesize
\begin{tabular}{|p{3cm}|p{7.5cm}|}
\hline
\bf Chemische Hauptgruppe&\rra{\bf Chemikalien innerhalb der jeweiligen
Hauptgruppe}\\
\hline
Kohlenwasserstoffe&\rra{Benzol, Toluol, Xylol, Cyclohexan, leichte
Kohlenwasserstoffe, Petroleum, Schwerbenzine, Lackbenzin}\\
\hline
Alkohole&\rra{Isopropanol, Glykol, Glyzerin}\\
\hline
Halogenide&\rrb{S\"amtliche organischen Monohalogenide,\\
z.~B. Amylbromid, Butylbromid, Butylchlorid, Cyclohexylbromid,
Ethylbromid, Propylbromid, Propylchlorid, Trimethylbromid,
Brombenzol, Chlorbenzol, Tetrachlorkohlenstoff und sonstige
aromatische Halogenide}\\
\hline
Nitrile (Cyanide)&\rrb{Diphenylacetonitril (Diphenylmethylcyanid)}\\
\hline
Ester&\rrb{Allyi-Butyrat, -Caproat, -Formiat und -Propionat,\\
Amyl-Butyrat, -Isobutyrat, -Caproat und -Caprylat,\\
Benzyl-Butyrat, -Isobutyrat, -Propionat und -Succinat,\\
Butyl-Butyrat, -Isobutyrat, -Caproat, -Propionat, -Succinat,\\
Isobutyl-Benzoat, -Butyrat und -Caproat,\\
Cyclohexyl-Butyrat, Ethyl-Butyrat, -Isobutyrat, -Caproat,
-Caprylat, -Propionat und -Succinat,\\
Methyl-Butyrat, -Caproat, -Propionat und -Succinat,\\
Octyl-Butyrat und -Caproat,\\
Propyl-Butyrat, -Isobutyrat, -Caproat, -Formiat und -Propionat,\\
Isoprypyl-Benzoat, -Caproat und -Formiat}\\
\hline
Phenole&\rrb{Phenol, Kresole (Methylphenole), Xylenole
(Dimethylphenole), Biphenol (Dihydroxyphenol),
2,4-Dichlorphenol, Parachlorkresol und Chlorxylenole}\\
\hline
\rrb{Aromatische Amine und Aminsalze}
&\rrb{Pyridin, Pyrrolidin, Methylpiperazin, 2:4 Diamino
5- (Chlorphenyl-) 6-Ethylpurimidin, Hydroxyethylmorpholin
(Hydroxyethylenimid-Oxid), Para-Aminobenzol, Sulfonylguanidin,
Dicarbathoxypiperazin, 1-Benzhydryl 4-Methylpiperazin,
Butylaminoleat, Piperazin-Hydrochlorid-Monohydrat und
Carbathhoxypipetrazin-Hydrochlorid (trocken)}\\
\hline
Amide &\rrb{Formamid und Dimethylformamid}\\
\hline
Sonstiges &\rrb{Traubenzucker (fl\"ussig), Benzilidenaceton,
Para-Chlorbenzophenon, Natrium-Azobenzolsulfonat,
Dimethylthianthren (Dimethyldiphenylen-Disulfid),
Metaninharzlsungen, Polyesterharzlsungen und roher
Cascarwurzelextrakt}\\
\hline
\end{tabular}
\end{document}
Technical Details
Message-ID:
<zahilb.6.0@pbhrzt.uni-paderborn.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!stl!bnrgate!nrcnet0!cunews!torn!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!pbinfo2!pbhrzt.uni-paderborn.de!zahilbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!stl!bnrgate!nrcnet0!cunews!torn!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!pbinfo2!pbhrzt.uni-paderborn.de!zahilb From: zahilb@pbhrzt.uni-paderborn.de (Erhard Hilbig) Newsgroups: comp.text.tex Subject: \raggedright paragraph in tabular environment Message-ID: <zahilb.6.0@pbhrzt.uni-paderborn.de> Date: 19 Aug 92 09:26:16 GMT Sender: news@uni-paderborn.de (News Uni-Paderborn) Organization: HRZ Lines: 79 Nntp-Posting-Host: at-zahilb