[Ipe-discuss] Error compiling Latex text using IPE 7.2.24 on windows 10

Nasser M. Abbasi nma at 12000.org
Wed Feb 2 00:19:40 CET 2022


On 2/1/2022 4:44 PM, Otfried Cheong via Ipe-discuss wrote:
> On Tue, Feb 1, 2022, at 23:32, Nasser M. Abbasi via Ipe-discuss wrote:
>> I am making a diagram. Created a Text object and typed in it the following
>>
>> \begin{empheq}[left = \empheqlbrace]{align*}
>> \left[  \sqrt{r}\right]_{c_1}&=0\\
>> \alpha_{c_1}^{+}&=1\\
>> \alpha_{c_1}^{-}&=1
>> \end{empheq}
> 
> You can't use environments like this inside an Latex \mbox, so it will not work inside a label.
> 
> If you right-click on the text object, and change the type from "label" to "minipage", it will work.
> 
> Cheers,
>    Otfried
> 

Thanks. I did not realize it needed to be in a minipage. So I just
added

\begin{minipage}{1.8in}
....earlier shown code here...
\end{minipage}

and now it compiled.

--Nasser




More information about the Ipe-discuss mailing list