gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Placeholders for medications


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Placeholders for medications
Date: Sun, 13 May 2012 20:19:34 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, May 12, 2012 at 10:59:43PM +0000, Jim Busser wrote:

> In case you tried something different, what seems to work nicely for Drug and 
> Regimen is the alignment {|X|X|}

No, it doesn't (fully enough) :-)

You probably didn't yet select a drug the brand name of
which exceeds the auto-calculated X-width. What happens then
is that you'll get justified text on both edges of the cell.

What better solves that (and which the default meds template
now does) is:

\usepackage{ragged2e}
\begin{tabularx}{\textwidth}{|>{\RaggedRight}X|>{\RaggedRight}X|}
\end{tabularx}

> (BTW for the Allergy placeholder, I formatted it left, left, X:
> 
>       {|l|l|X|} 

While that's entirely a template issue (so, at the user
level) - as the table isn't produced by GNUmed code - I did
improve the GNUmed default meds template with your
suggestion since we were at that anyways.

Thanks,
Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]