Resize vertical bars (absolute-value symbols)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”
How come there are so many candidates for the 2020 Democratic party presidential nomination?
What makes accurate emulation of old systems a difficult task?
Do I have to worry about players making “bad” choices on level up?
Does a semiconductor follow Ohm's law?
a sore throat vs a strep throat vs strep throat
Contradiction proof for inequality of P and NP?
Packing rectangles: Does rotation ever help?
Error message with tabularx
Repelling Blast: Must targets always be pushed back?
What language was spoken in East Asia before Proto-Turkic?
Can someone publish a story that happened to you?
A Strange Latex Symbol
A Note on N!
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
French for 'It must be my imagination'?
Rivers without rain
How to get a plain text file version of a CP/M .BAS (M-BASIC) program?
Please, smoke with good manners
The Defining Moment
Don’t seats that recline flat defeat the purpose of having seatbelts?
How exactly does Hawking radiation decrease the mass of black holes?
Is there really no use for MD5 anymore?
Combinable filters
Pulling the rope with one hand is as heavy as with two hands?
Resize vertical bars (absolute-value symbols)
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 Apr 20 at 16:19
Mico
288k32394782
288k32394782
asked Apr 20 at 14:38
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
Apr 20 at 15:48
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
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
Apr 20 at 15:48
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
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
Apr 20 at 15:48
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
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 Apr 20 at 14:41
egregegreg
737k8919393267
737k8919393267
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
Apr 20 at 15:48
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
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
Apr 20 at 15:48
3
@manooooh I'd use two formulas:The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
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
Apr 20 at 15:48
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
Apr 20 at 15:48
3
3
@manooooh I'd use two formulas:
The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
@manooooh I'd use two formulas:
The function $fcolonmathbbRtomathbbR$ defined by $f(x)=x+5$.
– egreg
Apr 20 at 15:49
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 Apr 20 at 16:17
MicoMico
288k32394782
288k32394782
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