2

Here is the photo. How to write conditional equations with one-sided curly bracket in TeXmacs?

enter image description here

I tried inserting Equation and Equations. I didn't manage to insert the curly bracket.
In LaTeX, it's like:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\[
    f(x)= 
\begin{cases}
    \frac{x^2-x}{x},& \text{if } x\geq 1\\
    0,              & \text{otherwise}
\end{cases}
\]
\end{document}
Werner
  • 603,163

1 Answers1

5

I've solved it by myself.

In equation mode you can click on Insert a table in the tool bar, then choose Choice, grid with with one-sided curly bracket will be automatically generated.

solve