1
vote
1answer
54 views

Mathematical Function Notation [duplicate]

How do I get this sort of notation in LaTeX? I'm using TeXmaker.
2
votes
0answers
36 views

Need to split right bracket at side of matrix into three smaller brackets [duplicate]

To the right of this matrix I have a big right curly bracket with the text "2m terms" that spans the height of the matrix. I need to replace this right bracket with three smaller ones that together ...
5
votes
2answers
88 views

LaTeX parenthesis problem with multline environment [duplicate]

I have a problem with the different size of parenthesis with multiline (see image). Actually i don't care about the different size of the square parenthesis on M and \bar{M} but I really care about ...
3
votes
0answers
94 views

How to replace parentheses with symbol of other font so that they are expandable?

I use Bitstream Charter for my document, but I'm not satisfied with the appearance of round parentheses. I'd like to replace them with the parentheses from Palatino, both in text and math mode. In ...
4
votes
1answer
84 views

Resize brackets for publication?

I am unsure how to select appropriate size of brackets for different equations. Example \begin{equation} (v, \frac{\partial^{2} u}{\partial t^{2}}) + c^{2}(\nabla v, \nabla u) - c^{2} (v, ...
5
votes
1answer
109 views

How can I define a macro with literal square brackets in the body?

The following macro works correctly for enclosing an expression in parenthesis. \def\group#1{\left ( #1 \right )} I want to write the equivalent macro for enclosing an expression in square ...
4
votes
1answer
148 views

Wrap lines of code with curly bracket and add some text next to it

I am currently studying algorithmic complexity of some programs, I have to deal with lines and lines of code and it would be really nice and helpful if I could wrap some of those lines in a right (or ...
3
votes
2answers
100 views

Anomalous bracket sizes when using the cancel package

I have been happily using the cancel package that allows to cross out parts of mathematical formulas for some time now. However, today I noticed a very strange behaviour in the size of brackets ...
0
votes
2answers
212 views

Automatically size the brackets by \left and \right

My tex code \documentclass[twocolumn]{article} \usepackage{amsmath, amsfonts, amssymb, textcomp} \usepackage[T4, OT1]{fontenc} \usepackage{newunicodechar} \usepackage{unicode-math} ...
2
votes
1answer
80 views

How can I insert a bracket on top or below a sum? [duplicate]

I would like to insert brackets around a sum to signal the number of terms inside like we sometimes do in mathematics. I drew a picture: The bracket can be either on top or bottom. Is there any ...
20
votes
2answers
1k views

\overbrace with square bracket

I'm trying to put a nice square bracket over a complex text, it should look like an \overline but with ending like \ulcorner and \urcorner. The presence of \overrightarrow and \overleftarrow makes me ...
0
votes
1answer
87 views

When to use `\left(` and when plain `(`? [duplicate]

This is basically a follow-up to the comments on this answer which I couldn't find to be settled anywhere. I learned that you can write ordinary bracket simply using f(x) but that you can also use ...
15
votes
3answers
384 views

Angle brackets with an underset arrow

I am trying to make a pair of angle brackets of variable height enclosing a main box along with a box beneath each bracket and an arrow of variable length between these lower boxes. Since I'm sure ...
4
votes
1answer
114 views

Where are \left and \right defined?

In order to define a new environment using \left and \right, I need to know how those macros are defined. Unfortunately, both \show\left and \show\right return an error. My last resort was to scan ...
6
votes
2answers
205 views

Missing final brackets (in one equation { and in other - ]) in the equations

This is my first question on tex.stackexchange, so the formatting will be terrible. I've got a problem with three lengthy equations - the closing brackets, in all three formulas, are not displayed. ...
7
votes
2answers
228 views

Less aggressive automatic paren stretching with \left

\left and \right are convenient but sometimes they're a bit overeager in stretching the parentheses. In that case we can manually use \bigl, \Bigl, etc. I have defined a new command like this ...
3
votes
2answers
443 views

Can I make LyX automatically use 'smart' parentheses [\left( \right)] in math mode?

When I type in math mode I always prefer to use the parentheses using \left and \right. Currently, I go into math mode and then press the button on the ribbon that appears in this mode and creates ...
4
votes
1answer
113 views

Matching Brackets in TeX output

Is there any ways or features to make pdf-files using one of TeX systems so that when I move the cursor to one of brackets (either open or closed brackets) in pdf, then the bracket and the other ...
5
votes
2answers
173 views

Double subscript error with \newcommand?

Disclaimer: I know of Defining a newcommand with sub- or superscript and avoiding "double subscript" error but this only gives a work-around, but no explanation to my question. Here's a ...
9
votes
2answers
2k views

Why different bra ket notations?

Why are bra and ket defined in the official package braket.sty in two different ways (\bra, \Bra and \ket, \Ket)? I do not understand why there exists the command \bra with non-scalable delimiters. ...
8
votes
1answer
108 views

Underbrace multiple math lines

I have to underbrace multiple lines in an align-environment with one brace. Meaning something like \begin{align*} A ={}& B + \underbracemultiline{C + D + E \\ & + F + G \\ & ...
4
votes
1answer
121 views

Create “bracket free” macros (like in mimeTeX)

In mimeTeX, an abundance of macros like \cd = \cdot, \fr = \frac and \sq = \sqrt are allowed. This kind of macros are easily created in own LaTeX documentens, using \newcommand. Other mimeTeX macros ...
0
votes
0answers
47 views

Brackets with correct delimiters and automation [duplicate]

According to What is the correct way to do delimiters? the correct way of using brackets in math mode could be achieved by a macro like this: \newcommand{\myLeft}{\mathopen{}\left} I wonder if ...
5
votes
1answer
70 views

How to build a conditional based on a resize paramater

I would like to define my own macro that accepts an optional parameter such as \big, \Big, etc that apply that if it is specified, otherwise apply the auto resizing \left, \right pair. So, how do I ...
10
votes
1answer
842 views

Easily change behavior of \DeclarePairedDelimiter

After seeing the answer to this question I realized that I preferred the way of working of Juan A. Navarro's answer: I.e., \DeclarePairedDelimiter{\parens}{\lparen}{\rparen} from mathtools is a ...
6
votes
0answers
114 views

Spacing around \left and \right: When is it needed? [closed]

There have been a few questions (such as this and more recently this) regarding the "extra" spacing around \left and \right. And there are various options for fixing it, including the mleftright ...
8
votes
3answers
332 views

How to make pipe to grow with both sides?

How to make pipe (vertical bar) symbol to grow like in Dirac product notation but without outer angle brackets?
3
votes
3answers
268 views

Long brackets in flalign*

I'm trying to type a nice looking long sum of functions: I managed to do it with combination of flalign* and \mspace: \begin{flalign*} ...
1
vote
0answers
124 views

Why is the left bracket [ darker than the right bracket ] in equations? [closed]

I was writing up some formulas with concentrations on Chemistry.SE, and the left brace is noticeably darker than the right brace. I replaced them with \lvert and \rvert, but it is harder to write. is ...
1
vote
0answers
58 views

Splitting a long equation while maintaining size of brackets [duplicate]

Possible Duplicate: How to make \left, \right pairs of delimiter work over multiple lines? How can I have this equation: \begin{eqnarray}\nonumber \ln T &=& -\sum\limits_{i=1}^{N} ...
5
votes
3answers
307 views

Parenthesis size and white space in equation with long subscripts

I'm writing an equation which contains a relatively long subscritps under a summation, which is just next to a bracket. The code is the following $$\mu_j=\E(X_j)=\E\left( \sum_{i\in ...
2
votes
1answer
409 views

Bringing the (square) brackets to the same height

Consider the .tex extract from below: \begin{equation*} A=U\Lambda U^T=\left[\begin{array}{ccc} & & \\ u_1 & \cdots & u_n \\ & & ...
4
votes
2answers
2k views

Angle brackets in non-math-mode text

Is there a way to directly input angle brackets into text without resorting to math-mode symbols? I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single ...
19
votes
3answers
729 views

Curly brace to insert something into an equation? Like an inverted underbrace

I have a generic equation, into which I want to "insert" something so that the reader can see what I inserted into the equation and at which point. E.g. \documentclass{plain} \begin{document} \[ f ...
16
votes
1answer
14k views

Square brackets in math mode without the bracket symbols

Is there a way to typeset a square bracket without using the symbols [ and ]? What I am looking for is like \vert instead of |. Motivation is a need for a workaround in using LaTeX formulas inside ...
9
votes
5answers
1k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
6
votes
1answer
139 views

Compilation error when a command argument contains a math formula with a bracket ]

When I try to compile the following document: \documentclass{article} \newenvironment{modelDefinitions}{% \begin{description} }{% \end{description} } \newcommand{\modelDef}[2]{\item[#1] \hfill ...
6
votes
3answers
364 views

A way to mark things in math mode

I want to mark the weight function in an equation, using something similar to \underbrace. Using this piece of code: (x^2y')' + \lambda \underbrace{x^2}_{\text{Weight function}}y = 0 I get . I ...
3
votes
2answers
2k views

Equation: Using \left brackets inserts unwanted space [duplicate]

Possible Duplicate: Spacing around \left and \right I'm having some problems with writing down an equation in LaTeX. It's only a minor issue regarding appearance, but I'm kind of a ...
6
votes
1answer
232 views

Using “found” code to typeset augmented matrices, want [] instead of ()

Here's a minimal example of what I'm doing presently: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{arydshln} \makeatletter \renewcommand*\env@matrix[1][*\c@MaxMatrixCols ...
12
votes
3answers
13k views

How to write a function (piecewise) with bracket outside?

How to write this Piecewise function using LaTeX? I tried $ \begin{array}{cc} \{ & \begin{array}{cc} 0 & x\leq 0 \\ \frac{100-x}{100} & 0\leq x\leq 100 \\ 0 ...
0
votes
0answers
138 views

How to form braces or brackets used in math formulas around nodes in a TikZ picture? [duplicate]

Possible Duplicate: Adding a large brace next to a body of text I'm trying to create a brace or bracket around two or more nodes within a TikZ picture. Since there are more elements in the ...
0
votes
0answers
189 views

How to print this bracket? [duplicate]

Possible Duplicates: How to look up a math symbol? A symbol for the field of formal Laurent series Could anyone tell me how to print the left bracket in these 2 formulae? And their ...
5
votes
2answers
163 views

How can you address the size of surrounding parentheses whose size is determined by \left and \right? [duplicate]

Possible Duplicate: How to automatically resize the vertical bar in a set comprehension? Trying to type the formula for a conditional probability like this \mathrm{P} \left( whatever \mid ...
6
votes
3answers
619 views

How to make \left<\overrightarrow{b}\right> look good?

I want a 'b' with an arrow on top, enclosed in angle brackets. \left<\overrightarrow{b}\right> gives angle brackets which are far too high. <\overrightarrow{b}> gives far too much ...
28
votes
3answers
4k views

How to have overlapping under-braces and over-braces

I am trying to typeset an equation that has overlapping over and under braces as per the image below: I have managed to typeset it using a sort of a hack, by typing the equation twice, once using ...
53
votes
4answers
40k views

“(” or “\left(” parentheses?

What is the difference between ( and \left( in LaTeX? Sometimes, when the content is small, it does not seem to matter which pair I use. What is the best practice when it comes to which parentheses ...
10
votes
5answers
865 views

A symbol for the field of formal Laurent series

In my area of math one of the objects that pops up quite often is the field of all formal Laurent series. Now the trouble is that the notation for this field is $\mathbf{C} (( t ))$. Now the two ...
59
votes
4answers
3k views

Spacing around \left and \right

Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently? Is there a way to use ...
1
vote
0answers
268 views

Bad vertical centering in an equation [duplicate]

Possible Duplicate: Vertically asymmetric size variation for parentheses I'm trying to typeset something like the following: \begin{equation} x = f\Biggl[\sum_{i\in\Omega} ...