1

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}
Dustland
  • 41
  • 1
  • 8
  • Seems better suited to http://tex.stackexchange.com/ – James King May 20 '14 at 02:47
  • Please consider supporting the proposed creation of a TeXmacs SE site here: https://area51.stackexchange.com where such kind of questions can be discussed. – mgubi Apr 14 '19 at 15:41

1 Answers1

3

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.

Image here: https://i.stack.imgur.com/JE1B8.png

Dustland
  • 41
  • 1
  • 8