Resize vertical bars (absolute-value symbols) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to automatically scale `mid` within delimitersApplying breqn in bulk to typeset a math book for my kindle?Absolute Value SymbolsWhy does widehat behave differently if I insert hspace0pt?How to automatically scale `mid` within delimitersAnki - LaTeX, Math Font Size, & DeclareMathSizesHow to add braces automatically after hat (or tilde, bar) in emacs auctex math modeBig forward slash in mathIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Difference between symbols for absolute value?Using printeranswers environment, how to print solutions in the box without the title “Solutions”
NIntegrate on a solution of a matrix ODE
What are some likely causes to domain member PC losing contact to domain controller?
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
Keep at all times, the minus sign above aligned with minus sign below
Noise in Eigenvalues plot
What is a more techy Technical Writer job title that isn't cutesy or confusing?
Does a random sequence of vectors span a Hilbert space?
How do I say "this must not happen"?
Determine whether an integer is a palindrome
Why are current probes so expensive?
Should man-made satellites feature an intelligent inverted "cow catcher"?
Table formatting with tabularx?
Flight departed from the gate 5 min before scheduled departure time. Refund options
How to achieve cat-like agility?
A question about the degree of an extension field
newbie Q : How to read an output file in one command line
.bashrc alias for a command with fixed second parameter
How do you write "wild blueberries flavored"?
The test team as an enemy of development? And how can this be avoided?
Can two people see the same photon?
Where did Ptolemy compare the Earth to the distance of fixed stars?
Why is there so little support for joining EFTA in the British parliament?
Where and when has Thucydides been studied?
"Destructive power" carried by a B-52?
Resize vertical bars (absolute-value symbols)
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How to automatically scale `mid` within delimitersApplying breqn in bulk to typeset a math book for my kindle?Absolute Value SymbolsWhy does widehat behave differently if I insert hspace0pt?How to automatically scale `mid` within delimitersAnki - LaTeX, Math Font Size, & DeclareMathSizesHow to add braces automatically after hat (or tilde, bar) in emacs auctex math modeBig forward slash in mathIs there a way to put two labelled equations into one beginequation and align both of them at the beginning?Difference between symbols for absolute value?Using printeranswers environment, how to print solutions in the box without the title “Solutions”
I tried that middle
, ,middle|,
and mathrelBig
. I read How to automatically scale `mid` within delimiters and
usepackagemleftright
usepackageamsmath
begindocument
beginequation
MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix mathrelBig,
labeleq:mase
endequation
enddocument
math-mode symbols
add a comment |
I tried that middle
, ,middle|,
and mathrelBig
. I read How to automatically scale `mid` within delimiters and
usepackagemleftright
usepackageamsmath
begindocument
beginequation
MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix mathrelBig,
labeleq:mase
endequation
enddocument
math-mode symbols
add a comment |
I tried that middle
, ,middle|,
and mathrelBig
. I read How to automatically scale `mid` within delimiters and
usepackagemleftright
usepackageamsmath
begindocument
beginequation
MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix mathrelBig,
labeleq:mase
endequation
enddocument
math-mode symbols
I tried that middle
, ,middle|,
and mathrelBig
. I read How to automatically scale `mid` within delimiters and
usepackagemleftright
usepackageamsmath
begindocument
beginequation
MASE = frac1n mathrelBig sum_i = 1^n hatSigma^-1/2beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix mathrelBig,
labeleq:mase
endequation
enddocument
math-mode symbols
math-mode symbols
edited yesterday
Mico
288k32394781
288k32394781
asked yesterday
Wagner JorgeWagner Jorge
317210
317210
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I believe you want the absolute value:
documentclassarticle
usepackageamsmath
begindocument
beginequation
mathitMASE = frac1n
left|
sum_i = 1^n hatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
right|,
labeleq:mase
endequation
enddocument
I've often seen mid
misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.
For the absolute value you should use lvert
and rvert
, which can be abbreviated as left|
and right|
when automatic sizing is desired.
Great answer!! "mid
is considered as a binary relation" ok, for example$2mid 5$
, but would you include it on for example$fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?
– manooooh
yesterday
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
add a comment |
Here's a solution that employs the macro DeclarePairedDelimiter
(provided by the mathtools
package) to generate absolute-value "fences" around the summation. I would use abs[bigg]
rather than abs*
, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma
rather than hatSigma
, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE
or mathitMASE
, to inform TeX that it's dealing with an entire word rather than a product of the variables named M
, A
, S
, and E
.
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterabslvertrvert
begindocument
beginequationlabeleq:mase
mathrmMASE = frac1n
abs[bigg] sum_i = 1^n widehatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
endequation
enddocument
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%2f485750%2fresize-vertical-bars-absolute-value-symbols%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 believe you want the absolute value:
documentclassarticle
usepackageamsmath
begindocument
beginequation
mathitMASE = frac1n
left|
sum_i = 1^n hatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
right|,
labeleq:mase
endequation
enddocument
I've often seen mid
misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.
For the absolute value you should use lvert
and rvert
, which can be abbreviated as left|
and right|
when automatic sizing is desired.
Great answer!! "mid
is considered as a binary relation" ok, for example$2mid 5$
, but would you include it on for example$fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?
– manooooh
yesterday
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
add a comment |
I believe you want the absolute value:
documentclassarticle
usepackageamsmath
begindocument
beginequation
mathitMASE = frac1n
left|
sum_i = 1^n hatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
right|,
labeleq:mase
endequation
enddocument
I've often seen mid
misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.
For the absolute value you should use lvert
and rvert
, which can be abbreviated as left|
and right|
when automatic sizing is desired.
Great answer!! "mid
is considered as a binary relation" ok, for example$2mid 5$
, but would you include it on for example$fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?
– manooooh
yesterday
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
add a comment |
I believe you want the absolute value:
documentclassarticle
usepackageamsmath
begindocument
beginequation
mathitMASE = frac1n
left|
sum_i = 1^n hatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
right|,
labeleq:mase
endequation
enddocument
I've often seen mid
misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.
For the absolute value you should use lvert
and rvert
, which can be abbreviated as left|
and right|
when automatic sizing is desired.
I believe you want the absolute value:
documentclassarticle
usepackageamsmath
begindocument
beginequation
mathitMASE = frac1n
left|
sum_i = 1^n hatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
right|,
labeleq:mase
endequation
enddocument
I've often seen mid
misused as vertical bar; it indeed typesets a vertical bar, but considered as a binary relation.
For the absolute value you should use lvert
and rvert
, which can be abbreviated as left|
and right|
when automatic sizing is desired.
answered yesterday
egregegreg
736k8919353261
736k8919353261
Great answer!! "mid
is considered as a binary relation" ok, for example$2mid 5$
, but would you include it on for example$fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?
– manooooh
yesterday
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
add a comment |
Great answer!! "mid
is considered as a binary relation" ok, for example$2mid 5$
, but would you include it on for example$fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?
– manooooh
yesterday
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
Great answer!! "
mid
is considered as a binary relation" ok, for example $2mid 5$
, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?– manooooh
yesterday
Great answer!! "
mid
is considered as a binary relation" ok, for example $2mid 5$
, but would you include it on for example $fcolon mathbbRtomathbbRmid f(x)=x+5$
? Or would you go for "such that" (text)?– manooooh
yesterday
3
3
@manooooh I'd use two formulas:
The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
@manooooh I'd use two formulas:
The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
yesterday
add a comment |
Here's a solution that employs the macro DeclarePairedDelimiter
(provided by the mathtools
package) to generate absolute-value "fences" around the summation. I would use abs[bigg]
rather than abs*
, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma
rather than hatSigma
, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE
or mathitMASE
, to inform TeX that it's dealing with an entire word rather than a product of the variables named M
, A
, S
, and E
.
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterabslvertrvert
begindocument
beginequationlabeleq:mase
mathrmMASE = frac1n
abs[bigg] sum_i = 1^n widehatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
endequation
enddocument
add a comment |
Here's a solution that employs the macro DeclarePairedDelimiter
(provided by the mathtools
package) to generate absolute-value "fences" around the summation. I would use abs[bigg]
rather than abs*
, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma
rather than hatSigma
, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE
or mathitMASE
, to inform TeX that it's dealing with an entire word rather than a product of the variables named M
, A
, S
, and E
.
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterabslvertrvert
begindocument
beginequationlabeleq:mase
mathrmMASE = frac1n
abs[bigg] sum_i = 1^n widehatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
endequation
enddocument
add a comment |
Here's a solution that employs the macro DeclarePairedDelimiter
(provided by the mathtools
package) to generate absolute-value "fences" around the summation. I would use abs[bigg]
rather than abs*
, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma
rather than hatSigma
, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE
or mathitMASE
, to inform TeX that it's dealing with an entire word rather than a product of the variables named M
, A
, S
, and E
.
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterabslvertrvert
begindocument
beginequationlabeleq:mase
mathrmMASE = frac1n
abs[bigg] sum_i = 1^n widehatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
endequation
enddocument
Here's a solution that employs the macro DeclarePairedDelimiter
(provided by the mathtools
package) to generate absolute-value "fences" around the summation. I would use abs[bigg]
rather than abs*
, to keep the vertical bars from becoming needlessly large. I would also write widehatSigma
rather than hatSigma
, to make the "hat" symbol a bit easier to spot. And, do write either mathrmMASE
or mathitMASE
, to inform TeX that it's dealing with an entire word rather than a product of the variables named M
, A
, S
, and E
.
documentclassarticle
usepackagemathtools
DeclarePairedDelimiterabslvertrvert
begindocument
beginequationlabeleq:mase
mathrmMASE = frac1n
abs[bigg] sum_i = 1^n widehatSigma^-1/2
beginpmatrix
y_ci - haty_ci\
y_ri - haty_ri
endpmatrix
endequation
enddocument
answered yesterday
MicoMico
288k32394781
288k32394781
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%2f485750%2fresize-vertical-bars-absolute-value-symbols%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