this problem is driving me nuts. I need a line of text formatted as follows:
Avian Influenza Tamiflu Jan 2, 2011
* This is a random description, note that it spans
mult. cols.
* These bullet points--would like to use itemize
for them.
Chicken pox DrugXYZ Feb 3, 1998
* This is another description.
* The "headers" (e.g. DrugXYZ, Avian Influenza) can
be different, and have different lengths.
basically, I want Avian Influenza
to be left-aligned, Tamiflu
to be centered, and Jan 2, 2011
to be right-aligned, such that the disease, dates and drug names in both sets are aligned at the same tabs. Altogether, the three should span the textwidth
.
I tried to use tabular, but I want to be able to use itemize
, etc in the "stuff" portion.
Any ideas??
Best Answer
Another possible solution:
And yet another option:
tabular
is only used for the words requiring alignment, the descriptions are left to anitemize
environment (customized with the help ofenumitem
):