Unstandardized brackets in matrix
I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
Could you help me?
I'm using usepackage{amsmath}
.
matrices brackets
add a comment |
I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
Could you help me?
I'm using usepackage{amsmath}
.
matrices brackets
You may use detexify to look for such brackets detexify.kirelabs.org/classify.html
– sztruks
1 hour ago
add a comment |
I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
Could you help me?
I'm using usepackage{amsmath}
.
matrices brackets
I wonder how to solve my problem.
In 'normal' matrix we have a square brackets but I need to write a brackets like in photo
Could you help me?
I'm using usepackage{amsmath}
.
matrices brackets
matrices brackets
edited 9 mins ago
Tiuri
5,1621630
5,1621630
asked 1 hour ago
BlazejBlazej
1648
1648
You may use detexify to look for such brackets detexify.kirelabs.org/classify.html
– sztruks
1 hour ago
add a comment |
You may use detexify to look for such brackets detexify.kirelabs.org/classify.html
– sztruks
1 hour ago
You may use detexify to look for such brackets detexify.kirelabs.org/classify.html
– sztruks
1 hour ago
You may use detexify to look for such brackets detexify.kirelabs.org/classify.html
– sztruks
1 hour ago
add a comment |
2 Answers
2
active
oldest
votes
I guess you're looking for leftlceil
and rightrfloor
.
documentclass{article}
usepackage{amsmath} % for 'matrix' environment
begin{document}
[
leftlceil
begin{matrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{matrix}
rightrfloor
]
end{document}
add a comment |
It makes sense to define new environments for this task:
documentclass{article}
usepackage{amsmath}
makeatletter
newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
}
makeatother
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
[
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
]
end{document}
The “prefix” can be any string not already in use.
With a bit more work it can support defining the *
-variant in the mathtools
style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.
documentclass{article}
usepackage{amsmath,mathtools}
MHInternalSyntaxOn
makeatletter
newcommand{newmatrix}[3]{%
% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}
{left#2env@matrix}
{endmatrixright#3}%
newenvironment{#1matrix*}[1][c]
{left#2MT_matrix_begin:N ##1}
{MT_matrix_end:right#3}
MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
}
makeatother
MHInternalSyntaxOff
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
begin{gather*}
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
\
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix*}[r]
111 & 44 & dots & -2 \
2 & 333 & dots & 5
end{fcmatrix*}
\
begin{cfsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfsmallmatrix}
ne
begin{fcsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcsmallmatrix}
end{gather*}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471604%2funstandardized-brackets-in-matrix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I guess you're looking for leftlceil
and rightrfloor
.
documentclass{article}
usepackage{amsmath} % for 'matrix' environment
begin{document}
[
leftlceil
begin{matrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{matrix}
rightrfloor
]
end{document}
add a comment |
I guess you're looking for leftlceil
and rightrfloor
.
documentclass{article}
usepackage{amsmath} % for 'matrix' environment
begin{document}
[
leftlceil
begin{matrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{matrix}
rightrfloor
]
end{document}
add a comment |
I guess you're looking for leftlceil
and rightrfloor
.
documentclass{article}
usepackage{amsmath} % for 'matrix' environment
begin{document}
[
leftlceil
begin{matrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{matrix}
rightrfloor
]
end{document}
I guess you're looking for leftlceil
and rightrfloor
.
documentclass{article}
usepackage{amsmath} % for 'matrix' environment
begin{document}
[
leftlceil
begin{matrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{matrix}
rightrfloor
]
end{document}
answered 1 hour ago
MicoMico
276k30374763
276k30374763
add a comment |
add a comment |
It makes sense to define new environments for this task:
documentclass{article}
usepackage{amsmath}
makeatletter
newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
}
makeatother
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
[
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
]
end{document}
The “prefix” can be any string not already in use.
With a bit more work it can support defining the *
-variant in the mathtools
style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.
documentclass{article}
usepackage{amsmath,mathtools}
MHInternalSyntaxOn
makeatletter
newcommand{newmatrix}[3]{%
% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}
{left#2env@matrix}
{endmatrixright#3}%
newenvironment{#1matrix*}[1][c]
{left#2MT_matrix_begin:N ##1}
{MT_matrix_end:right#3}
MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
}
makeatother
MHInternalSyntaxOff
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
begin{gather*}
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
\
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix*}[r]
111 & 44 & dots & -2 \
2 & 333 & dots & 5
end{fcmatrix*}
\
begin{cfsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfsmallmatrix}
ne
begin{fcsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcsmallmatrix}
end{gather*}
end{document}
add a comment |
It makes sense to define new environments for this task:
documentclass{article}
usepackage{amsmath}
makeatletter
newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
}
makeatother
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
[
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
]
end{document}
The “prefix” can be any string not already in use.
With a bit more work it can support defining the *
-variant in the mathtools
style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.
documentclass{article}
usepackage{amsmath,mathtools}
MHInternalSyntaxOn
makeatletter
newcommand{newmatrix}[3]{%
% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}
{left#2env@matrix}
{endmatrixright#3}%
newenvironment{#1matrix*}[1][c]
{left#2MT_matrix_begin:N ##1}
{MT_matrix_end:right#3}
MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
}
makeatother
MHInternalSyntaxOff
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
begin{gather*}
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
\
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix*}[r]
111 & 44 & dots & -2 \
2 & 333 & dots & 5
end{fcmatrix*}
\
begin{cfsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfsmallmatrix}
ne
begin{fcsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcsmallmatrix}
end{gather*}
end{document}
add a comment |
It makes sense to define new environments for this task:
documentclass{article}
usepackage{amsmath}
makeatletter
newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
}
makeatother
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
[
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
]
end{document}
The “prefix” can be any string not already in use.
With a bit more work it can support defining the *
-variant in the mathtools
style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.
documentclass{article}
usepackage{amsmath,mathtools}
MHInternalSyntaxOn
makeatletter
newcommand{newmatrix}[3]{%
% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}
{left#2env@matrix}
{endmatrixright#3}%
newenvironment{#1matrix*}[1][c]
{left#2MT_matrix_begin:N ##1}
{MT_matrix_end:right#3}
MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
}
makeatother
MHInternalSyntaxOff
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
begin{gather*}
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
\
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix*}[r]
111 & 44 & dots & -2 \
2 & 333 & dots & 5
end{fcmatrix*}
\
begin{cfsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfsmallmatrix}
ne
begin{fcsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcsmallmatrix}
end{gather*}
end{document}
It makes sense to define new environments for this task:
documentclass{article}
usepackage{amsmath}
makeatletter
newcommand{newmatrix}[3]{% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}{left#2env@matrix}{endmatrixright#3}%
}
makeatother
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
[
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
]
end{document}
The “prefix” can be any string not already in use.
With a bit more work it can support defining the *
-variant in the mathtools
style, that is, accepting an optional argument to set the column alignment, and the “small” variant all in one swoop.
documentclass{article}
usepackage{amsmath,mathtools}
MHInternalSyntaxOn
makeatletter
newcommand{newmatrix}[3]{%
% #1 = prefix, #2/#3 = left/right delimiters
newenvironment{#1matrix}
{left#2env@matrix}
{endmatrixright#3}%
newenvironment{#1matrix*}[1][c]
{left#2MT_matrix_begin:N ##1}
{MT_matrix_end:right#3}
MT_fenced_sm_generator:nnn{#1smallmatrix}{#2}{#3}
}
makeatother
MHInternalSyntaxOff
newmatrix{cf}{lceil}{rfloor}
newmatrix{fc}{lfloor}{rceil}
begin{document}
begin{gather*}
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcmatrix}
\
begin{cfmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfmatrix}
ne
begin{fcmatrix*}[r]
111 & 44 & dots & -2 \
2 & 333 & dots & 5
end{fcmatrix*}
\
begin{cfsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{cfsmallmatrix}
ne
begin{fcsmallmatrix}
a_1 & a_2 & dots & a_n \
b_1 & b_2 & dots & b_n
end{fcsmallmatrix}
end{gather*}
end{document}
answered 11 mins ago
egregegreg
714k8618983184
714k8618983184
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471604%2funstandardized-brackets-in-matrix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You may use detexify to look for such brackets detexify.kirelabs.org/classify.html
– sztruks
1 hour ago