{brackets} is about different brackets, their usage and functionality in (La)TeX.

learn more… | top users | synonyms

6
votes
1answer
779 views

Right curly bracket around text

The following code will produce some text enclosed by a right curly bracket and to the right of it some other text saying that is the same meaning. Now, I would like to have the text aligned to the ...
4
votes
2answers
239 views

Dual big brackets around Text

Back again! Currently attempting a dual bracket thing: where word {para}{para} word, are all on one line. I'm trying to play around with the code. But I cannot seem to get it to work. Here's my ...
3
votes
2answers
88 views

New commands for the equation environment

I'm trying to define a bra-ket command so that I can easily build things like: \langle e^+ | \gamma^\mu | e^-\rangle At the moment I have this: \newcommand{\brak}[3]{ \langle #1 \| \gamma^{#2} \| #...
5
votes
1answer
166 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 ...
5
votes
2answers
107 views

How to prevent overstretching of brackets?

With a tall equation like the following, using simple ( and ) gives brackets that are too small, and using \left( and \right) gives ones that are ridiculously big: a+b\left(\underbrace{\sum_{i=1}^{...
2
votes
1answer
4k views

Get round brackets with apalike

When forming my bibliography, I use \bibliographystyle{apalike} However that leads to in text references to use square brackets. I was wondering if it is possible for me to change the brackets to ...
12
votes
2answers
27k views

Tall curly brace

I would like to put a tall (long) left curly bracket on the left side of the following: \documentclass[12pt]{article} \begin{document} \noindent c: $\{$1, ..., n$\}$ $\rightarrow$ $\{$1, ..., n$\}$,...
6
votes
2answers
559 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. ...
8
votes
2answers
424 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
3answers
3k 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
755 views

Disable TeXstudio auto completion of square brackets?

I've disabled auto completion of {} from the advanced settings menu, but the program still automatically adds a ] when I type [ in examples like: \item[--] Is this a bug or can I disable it some ...
1
vote
1answer
681 views

Small descriptions next to matrix [duplicate]

One of my textbooks notates Markov transition matrices this way with 1 and 2 denoting states: How can I reproduce this matrix in LaTeX?
4
votes
1answer
134 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 ...
13
votes
3answers
3k views

Big brackets around Text

I want to create a big single curly bracket over a paragraph of text. I will be using this for many, many paragraphs. I want to make it left and/or right idented. This is for a conversational styled ...
1
vote
0answers
100 views

Redefine \cite for brackets [duplicate]

EDIT: I finally found out how to do it: \newrobustcmd*{\parentexttrack}[1]{% \begingroup \blx@blxinit \blx@setsfcodes \blx@bibopenparen#1\blx@bibcloseparen \endgroup} \AtEveryCite{% \let\...
5
votes
2answers
642 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 ...
2
votes
1answer
3k views

Two double-line equations need double left brackets

I have four lines of equations. The first two and the second two need to be grouped by a left bracket, and all four need to be grouped by one overall left bracket. I am using an array within an ...
4
votes
1answer
385 views

Using square bracket inside square bracket [duplicate]

I have a two-column layout, and I want to put a specific section with images to span the whole page width. So I use: \twocolumn[ ... ] So far, so good. However, when I want to include anything in ...
5
votes
1answer
685 views

Highlighted Matrix with brackets

I would like to produce the matrix as shown in this figure: At the moment, I have this code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{...
6
votes
3answers
1k views

How to get the braces in the multirow spanning all three rows?

In the following table I would like to have the braces in both multirows span the three rows that the multirow is covering. I tried using \left.\right\} and editing the vertical space, but nothing has ...
23
votes
3answers
31k views

big angle brackets

I know that \langle and \rangle creates left and right angle brackets. But they don't seem to adopt to the size of the expression inside. For example, if I have a big matrix, I would like to angle ...
8
votes
1answer
219 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
2answers
2k views

How can I use LaTex to mark my delta y and my delta x?

I know it is possible to use curly brackets (braces) in both vertical and horizontal orientation in Latex. Can I somehow use this to mark my change in y and my change in x on a Coordinate plane? Here'...
5
votes
1answer
138 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
51 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
74 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 ...
4
votes
1answer
3k views

Generate a table with braces and tables

I'm trying to get a LaTeX table to look like the below. Any tips on how to implement the brackets? I currently just know how to do basic tables, which would be a 11x10 table in this case. Any way ...
12
votes
1answer
3k 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 ...
1
vote
0answers
591 views

Highlight missing closing brackets in TeXworks [closed]

Is there the possibility to perform a check in TeXworks to see if there are any missing closing brackets? With this I also mean brackets not related to specific latex commands (e.g. ( and )).
1
vote
1answer
3k views

How can I adjust the size of the square brackets in the equation?

I am trying to write an equation that includes fractions and the power of fractions. Here is my equation. \begin{equation}\label{eq:vlj} \si{\volt\of{LJ}}= \varepsilon\Bigl[{\left(\frac{r_\...
7
votes
3answers
888 views

Space before right bracket

I have created this formula using mathptmx as font \begin{equation} BER = Q\left(\sqrt{\dfrac{2E_{b}^{\text{RX}}}{N_{0}}}\right) \end{equation} getting the above result: I'm not totally ...
19
votes
1answer
605 views

Indicating matching brackets/parentheses in TeX output

I often have cause to typeset things like this in TeX: When reading expressions like the one above, it's very difficult to tell which brackets match each other. I'd like to be able to define ...
3
votes
1answer
257 views

Nested bracket in breqn doesn't work

I tried to use the latest version of breqn package to break this equation; The result shows that it can't break the equation at Level/depth greater than 2 even by using \setkeys{breqn}{breakdepth={4}},...
3
votes
1answer
651 views

Parentheses in thebibliography environment

I want to change the default square brackets in the entries of the thebibliography environment to parentheses. Sample: % sample.tex \documentclass{article} \begin{document} \pagestyle{empty} \...
2
votes
1answer
521 views

How can I use brackets for serial numbers like 1, 2, 3

I want to write the reference numbers like the following in MS WORD. How can I write in such a manner? [1] Brattin WJ, Glenda EA. 1 Free Radical Biol Med 1985;1:27. [2] Osawa T, Kavakishi S, ...
9
votes
1answer
1k views

Braces in equations

This resembles what I want: Unfortunately, both braces are too big. I would like the brace on the top to enclose the variables, that is, span from (x_0 to \x_i). The brace on the right should ...
10
votes
2answers
2k views

LaTeX: optional arguments with square brackets

LaTeX is trying to add a missing $ that I don't want to the following code: EDIT: replaced stricken lines from original question with minimal working example: \documentclass[letter,12pt]{article} \...
5
votes
1answer
6k views

How to make brackets larger?

How can the first { and last } in the following be made larger? $A =\left \{a \notin\{1, 2\}, \ b\notin \{4,5\}\right\}$.
6
votes
0answers
139 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 ...
2
votes
3answers
314 views

\left \right for the bracket of a function

I'm writing something like a function Y(-), where the term in the bracket is large, so I wrote Y\left(-\right), however, the "Y" is still the normal size, which makes it looks small, compare with the \...
1
vote
1answer
138 views

Forbid word breaking (ConTeXt)

In the following example \definefont[Shehkl][name:Scheherazade*arabic at 15pt] % or file:amiri-regular.ttf*... file:alq.ttf \definestartstop[Arab][commands=\setups{Arabic}] \def\Arab{\doArab} \def\...
8
votes
1answer
688 views

bracket covering only a part of a matrix

How can I write a matrix, with brackets that cover only rows/columns in a certain range, but still has the right indentation? What I would like: My current solution: \[ \overset{ \begin{array}{...
8
votes
3answers
860 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
458 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*} f(a+h)-f(a)=&f(a_1+h_1,\dots\mspace{25mu}\dots,a_n+h_n)-f(...
4
votes
1answer
344 views

Colored Curly Brackets spanning across multiple pages

This is just a thought that came for the notes I am working on, I have a need to create curly brackets which span across multiple pages. I don't know if this is possible to do or not. my curly ...
5
votes
1answer
7k views

sets and enclosing braces

How can I denote a set of numbers with curly braces around them (curly braces are usually the standard for sets in mathematical textbooks). I tried the following: $d={3, 2, 2, 1, 1, 1}$ Tex ...
6
votes
1answer
1k views

Brackets and parenthesis from different fonts in unicode-math

I am using the unicode-math package to use letters from the body font in math typesetting. The font I am using (Arno Pro) works quite well for this, because it includes a full Greek alphabet on top of ...
1
vote
0answers
176 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 ...
2
votes
1answer
615 views

Combining split and rcases

I have an equation, that is split along multiple lines. All equations should be aligned to the equal sign. All but the first equation form a group. The following gives almost the expected result (...
6
votes
1answer
5k views

Removing brackets from the reference [duplicate]

Possible Duplicate: How to use 1. (number followed by dot) format instead of [1] format in bibliography I'm using the amsart class, and the command \begin{thebibliography} for references. ...