Linked Questions

196
votes
2answers
336k views

How to write conditional equations with one-sided curly brackets [duplicate]

I want to write a conditional expression such as the following. What is the best way to express such conditional expressions in Latex?
86
votes
1answer
317k views

Left brace including several lines in eqnarray [duplicate]

How is it possible to make a brace and have something like this in a eqnarray block?
29
votes
1answer
140k views

Multiple lines one side of equation with a Curly Bracket [duplicate]

I am trying to write an equation that looks like this, everything should be left aligned on the right hand side. I am using the following code to write this equation. \begin{equation} D_{it} = \...
3
votes
2answers
1k views

Writing this function on moodle using TeX Notation [duplicate]

I want to write an equation with one curly brace ({) on the right hand side and, next to the curly, two statements in two different lines. How can i do it using TeX or Latex? Thanks.
0
votes
1answer
3k views

Equation with condition [duplicate]

I'd like to create the following equation: Could you please give me a solution? Thank you.
0
votes
1answer
724 views

Maths Equation Formatting - Brackets [duplicate]

Does anyone know how you would type this in latex? Thank you!
1
vote
1answer
832 views

Adding a bracket to a set of equations [duplicate]

So I'm a first time Latex learner and I'm still learning the roots, but I want to do something similar to the example given in the picture.
0
votes
0answers
411 views

Brace spanning multiple lines [duplicate]

Good afternoon. I would like to get this (the picture below) but I don't know how to get it and I don't know a name of that. :) Thanks for help.
0
votes
0answers
205 views

If statement in math notation using latex [duplicate]

I am trying to find a way to write mathematical notation for an if statement in LaTeX. For example I would like to have this python code in mathematical notation: def my_function(x): result = [] ...
0
votes
1answer
135 views

How to write this in Latex? [duplicate]

Please see the image? How to write this in latex?
0
votes
0answers
83 views

How to write commands for cases? [duplicate]

For writing cases like a definition of a function having two or more conditions compiled by large braces ({), do I have to use \begin{equation} and \begin{cases} within, or there is some other command ...
0
votes
0answers
65 views

If if statement latex [duplicate]

I want to create an equation like the one in photo below I have been using this command: \begin{equation} CC_{it}= \begin{cases} 1 \quad EMP_{i,t}>25 \quad \& \quad (EMP_{i,t}-...
1
vote
0answers
23 views

Can I make a larger left bracket? [duplicate]

For statements like the one below, I need a large left bracket to precede the array. \Biggr\{ is not big enough. Ideally I could use \left\{ and make the right bracket white, but there doesn't seem ...
4
votes
5answers
913 views

Double solution in equation mode

I Want to do give two solutions to an equation, and do something like that: / 0 If c = 0 => x = \ -b/a Edit: I've tried the cases environment or ...
2
votes
2answers
2k views

Complicated Pseudocode in Latex - Need assistance

I am trying to create a complicated pseudocode as shown below: My attempt: \documentclass{article} \usepackage{algorithm}% http://ctan.org/pkg/algorithm \usepackage{algpseudocode}% http://ctan.org/...

15 30 50 per page