[texhax] Tex question - cases environment

Angela Rademeyer angela.rademeyer at opsi.co.za
Sun Mar 8 10:59:38 CET 2009


Thanks, I had made that modification but I realise now that it is failing for me as I am running the code after this command:
\begin{longtable}{|p{14cm}|}
Is there a way to get it to work inside a table?

Thanks again,
Regards


Angela Rademeyer
OPSI SYSTEMS
082 498 9332
(011) 880 7951 ext. 225
www.opsisystems.com



-----Original Message-----
From: Axel E. Retif [mailto:axel.retif at mac.com]
Sent: 06 March 2009 11:16 AM
To: philip.ratcliffe at uninsubria.it
Cc: Angela Rademeyer; support at tug.org
Subject: Re: [texhax] Tex question - cases environment

On  6 Mar, 2009, at 02:58, Philip G. Ratcliffe wrote:

>> Thanks for the help. When I run the version below I get this error:
>>
>> [snip]
>>
>> \begin{flalign*}
>> a_{ig} =
>> \begin{cases}
>> 1 & \text{if customer $i$ belongs to profile group $g$}\\
>> 0 & \text{otherwise} \\[.3cm]
>> \end{cases} && %% <------------------ these two && \end{flalign*}
>
> Axel's mailer seems to wrap lines that it shouldn't

Oh! I see. I'll try to be more careful.

Thank you.

Axel




More information about the texhax mailing list