Undefined Control Sequence for my 0-normUndefined control sequence undetectableUndefined control sequence for equationundefined control sequence for integralUndefined control sequence EnableCrossrefsUndefined control sequence error message for binary math symbol medbackslashGetting undefined control sequence on anything between “$”Undefined control sequence. missing begin documentGetting error “Undefined control sequence” for acmBookTitleUndefined Control Sequence using align*Undefined control sequence maketitle apa6 journal
"I can't place her": How do Russian speakers express this idea colloquially?
Do oversize pulley wheels increase derailleur capacity?
What's an appropriate age to involve kids in life changing decisions?
When an electron around an atom drops to a lower state, is 100% of the energy converted to a photon?
why it is 2>&1 and not 2>>&1 to append to a log file
Creating Stored Procedure in local db that references tables in linked server
How to avoid making self and former employee look bad when reporting on fixing former employee's work?
Why are thrust reversers not used down to taxi speeds?
What computer port is this?
How long can fsck take on a 30 TB volume?
Does this website provide consistent translation into Wookiee?
Opposite party turned away from voting when ballot is all opposing party
Is this strange Morse signal type common?
How do I politely tell my players to shut up about their backstory?
Two (probably) equal real numbers which are not proved to be equal?
Can the president of the United States be guilty of insider trading?
Are there vaccine ingredients which may not be disclosed ("hidden", "trade secret", or similar)?
What are my options legally if NYC company is not paying salary?
What will Doctor Strange protect now?
Can a character shove an enemy who is already prone?
The unknown and unexplained in science fiction
Capturing the entire webpage with WebExecute's CaptureImage
How do I give a darkroom course without negatives from the attendees?
Is the tensor product (of vector spaces) commutative?
Undefined Control Sequence for my 0-norm
Undefined control sequence undetectableUndefined control sequence for equationundefined control sequence for integralUndefined control sequence EnableCrossrefsUndefined control sequence error message for binary math symbol medbackslashGetting undefined control sequence on anything between “$”Undefined control sequence. missing begin documentGetting error “Undefined control sequence” for acmBookTitleUndefined Control Sequence using align*Undefined control sequence maketitle apa6 journal
I'm new to latex and am using some stuff from a document my professor sent out.
I'm trying to define something in a paper I'm writing. Here is what I have:
documentclass[11pt]amsart
usepackageamssymb,latexsym,amsmath,amsthm,enumitem,hyperref
usepackagegraphics,graphicx,multicol,tikz,pgfplots,tkz-
euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardk in 1, 2, . . . , n : x_k neq 0
endequation
enddocument
However, when I run this I get an Undefined Control Sequence error and I'm not sure what that means or how to fix it, hence I have come for your merciful help. Thanks!
math-mode errors amsmath undefined
add a comment |
I'm new to latex and am using some stuff from a document my professor sent out.
I'm trying to define something in a paper I'm writing. Here is what I have:
documentclass[11pt]amsart
usepackageamssymb,latexsym,amsmath,amsthm,enumitem,hyperref
usepackagegraphics,graphicx,multicol,tikz,pgfplots,tkz-
euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardk in 1, 2, . . . , n : x_k neq 0
endequation
enddocument
However, when I run this I get an Undefined Control Sequence error and I'm not sure what that means or how to fix it, hence I have come for your merciful help. Thanks!
math-mode errors amsmath undefined
The undefined control sequence isnorm
. Do you have any preference for how the norm of something should be denoted?
– Mico
May 4 at 18:48
1
Off-topic: Since you're loading theamssymb
package, there can be no excuse or justification for loadinglatexsym
as well. Similarly, since you're loading thegraphicx
package, nothing but a high tolerance for code clutter can justify loadinggraphics
as well.
– Mico
May 4 at 18:49
If the template you're using comes straight from your professor, you may want to suggest to him/her that de-crufting the template that's being inflicted on the students should be made a very high priority.
– Mico
May 4 at 18:52
Okay. Thank you. The only preference I have for how the norm of something is denoted is how it should normally look--something inside what looks like two absolute value bars with a subscript denoting the type of norm. Okay. I'll keep that in mind. What I am working on is literally the second document I've ever written in LaTex. To prevent confusion and to just get us started, my professor gave us all that intro stuff with the packages. I'll let him know.
– Matthew Graham
May 4 at 19:02
add a comment |
I'm new to latex and am using some stuff from a document my professor sent out.
I'm trying to define something in a paper I'm writing. Here is what I have:
documentclass[11pt]amsart
usepackageamssymb,latexsym,amsmath,amsthm,enumitem,hyperref
usepackagegraphics,graphicx,multicol,tikz,pgfplots,tkz-
euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardk in 1, 2, . . . , n : x_k neq 0
endequation
enddocument
However, when I run this I get an Undefined Control Sequence error and I'm not sure what that means or how to fix it, hence I have come for your merciful help. Thanks!
math-mode errors amsmath undefined
I'm new to latex and am using some stuff from a document my professor sent out.
I'm trying to define something in a paper I'm writing. Here is what I have:
documentclass[11pt]amsart
usepackageamssymb,latexsym,amsmath,amsthm,enumitem,hyperref
usepackagegraphics,graphicx,multicol,tikz,pgfplots,tkz-
euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardk in 1, 2, . . . , n : x_k neq 0
endequation
enddocument
However, when I run this I get an Undefined Control Sequence error and I'm not sure what that means or how to fix it, hence I have come for your merciful help. Thanks!
math-mode errors amsmath undefined
math-mode errors amsmath undefined
asked May 4 at 18:34
Matthew GrahamMatthew Graham
235
235
The undefined control sequence isnorm
. Do you have any preference for how the norm of something should be denoted?
– Mico
May 4 at 18:48
1
Off-topic: Since you're loading theamssymb
package, there can be no excuse or justification for loadinglatexsym
as well. Similarly, since you're loading thegraphicx
package, nothing but a high tolerance for code clutter can justify loadinggraphics
as well.
– Mico
May 4 at 18:49
If the template you're using comes straight from your professor, you may want to suggest to him/her that de-crufting the template that's being inflicted on the students should be made a very high priority.
– Mico
May 4 at 18:52
Okay. Thank you. The only preference I have for how the norm of something is denoted is how it should normally look--something inside what looks like two absolute value bars with a subscript denoting the type of norm. Okay. I'll keep that in mind. What I am working on is literally the second document I've ever written in LaTex. To prevent confusion and to just get us started, my professor gave us all that intro stuff with the packages. I'll let him know.
– Matthew Graham
May 4 at 19:02
add a comment |
The undefined control sequence isnorm
. Do you have any preference for how the norm of something should be denoted?
– Mico
May 4 at 18:48
1
Off-topic: Since you're loading theamssymb
package, there can be no excuse or justification for loadinglatexsym
as well. Similarly, since you're loading thegraphicx
package, nothing but a high tolerance for code clutter can justify loadinggraphics
as well.
– Mico
May 4 at 18:49
If the template you're using comes straight from your professor, you may want to suggest to him/her that de-crufting the template that's being inflicted on the students should be made a very high priority.
– Mico
May 4 at 18:52
Okay. Thank you. The only preference I have for how the norm of something is denoted is how it should normally look--something inside what looks like two absolute value bars with a subscript denoting the type of norm. Okay. I'll keep that in mind. What I am working on is literally the second document I've ever written in LaTex. To prevent confusion and to just get us started, my professor gave us all that intro stuff with the packages. I'll let him know.
– Matthew Graham
May 4 at 19:02
The undefined control sequence is
norm
. Do you have any preference for how the norm of something should be denoted?– Mico
May 4 at 18:48
The undefined control sequence is
norm
. Do you have any preference for how the norm of something should be denoted?– Mico
May 4 at 18:48
1
1
Off-topic: Since you're loading the
amssymb
package, there can be no excuse or justification for loading latexsym
as well. Similarly, since you're loading the graphicx
package, nothing but a high tolerance for code clutter can justify loading graphics
as well.– Mico
May 4 at 18:49
Off-topic: Since you're loading the
amssymb
package, there can be no excuse or justification for loading latexsym
as well. Similarly, since you're loading the graphicx
package, nothing but a high tolerance for code clutter can justify loading graphics
as well.– Mico
May 4 at 18:49
If the template you're using comes straight from your professor, you may want to suggest to him/her that de-crufting the template that's being inflicted on the students should be made a very high priority.
– Mico
May 4 at 18:52
If the template you're using comes straight from your professor, you may want to suggest to him/her that de-crufting the template that's being inflicted on the students should be made a very high priority.
– Mico
May 4 at 18:52
Okay. Thank you. The only preference I have for how the norm of something is denoted is how it should normally look--something inside what looks like two absolute value bars with a subscript denoting the type of norm. Okay. I'll keep that in mind. What I am working on is literally the second document I've ever written in LaTex. To prevent confusion and to just get us started, my professor gave us all that intro stuff with the packages. I'll let him know.
– Matthew Graham
May 4 at 19:02
Okay. Thank you. The only preference I have for how the norm of something is denoted is how it should normally look--something inside what looks like two absolute value bars with a subscript denoting the type of norm. Okay. I'll keep that in mind. What I am working on is literally the second document I've ever written in LaTex. To prevent confusion and to just get us started, my professor gave us all that intro stuff with the packages. I'll let him know.
– Matthew Graham
May 4 at 19:02
add a comment |
2 Answers
2
active
oldest
votes
The command norm
is not defined by default. A common way to define it is to use mathtools
and DeclarPairedDelimiter
, so that norm
can be called
normx
norm[big]x
norm[Big]x
norm[bigg]x
norm[Bigg]x
norm*x
where the calls with the optional argument manually set the size of the delimiter; the *
-form uses automatically extensible delimiter (to be used sparingly).
documentclass[11pt]amsart
% load here other needed packages
usepackageamssymb,mathtools
% set up for the document
setlengthtextheight9.5in
setlengthtextwidth6.5in
calclayout % <--- this is the proper way in amsart
% personal commands
DeclarePairedDelimiternormlVertrVert
DeclareMathOperatorcardcard
% theorem like environments
newtheoremtheoremTheorem[section]
theoremstyledefinition
newtheoremdefinition[theorem]Definition
begindocument
sectionImportant Definitions and Theorems
begindefinition[Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardbiglk in 1, 2, dots, n : x_k neq 0bigr
endequation
enddefinition
enddocument
Instead of abusing
subsection
I defined proper environments for theorems and definition (add the others you need).I also defined an operator name for the cardinality.
The braces for delimiting the set definition should be
and
.
Because of the nested sets, I used
big
for the outer braces (it's optional)....
should bedots
.Instead of guessing at the appropriate values for the page parameters, just set the desired text height and width, then issue
calclayout
(a command proper ofamsart
) to set the others.
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
add a comment |
Adding this definition, based on mathtools (an extension of amsmath
) works fine. I defined a znorm
command which stretches to the size of its argument in its starred version. Alternatively, you can fine-tune the size of the norm symbols using an optional argument one of big, Big, bigg, Bigg
.
Unrelated: you don't have yo load graphics
if you load graphicx
: the latter does it for you. Similarly, needless to load amsmath
if you load mathtools
.
documentclass[11pt]amsart
usepackageamssymb,mathtools,amsthm,enumitem,hyperref
usepackagegraphicx,multicol,tikz,pgfplots,tkz-euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
DeclarePairedDelimiterXPPznorm[1]lVertrVert_0#1
DeclareMathOperatorcardcard
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
znormx=cardbiglk in 1, 2, . . . , n : x_k neq 0bigrqquad znorm*fracxa
endequation
enddocument
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
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%2f489196%2fundefined-control-sequence-for-my-0-norm%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
The command norm
is not defined by default. A common way to define it is to use mathtools
and DeclarPairedDelimiter
, so that norm
can be called
normx
norm[big]x
norm[Big]x
norm[bigg]x
norm[Bigg]x
norm*x
where the calls with the optional argument manually set the size of the delimiter; the *
-form uses automatically extensible delimiter (to be used sparingly).
documentclass[11pt]amsart
% load here other needed packages
usepackageamssymb,mathtools
% set up for the document
setlengthtextheight9.5in
setlengthtextwidth6.5in
calclayout % <--- this is the proper way in amsart
% personal commands
DeclarePairedDelimiternormlVertrVert
DeclareMathOperatorcardcard
% theorem like environments
newtheoremtheoremTheorem[section]
theoremstyledefinition
newtheoremdefinition[theorem]Definition
begindocument
sectionImportant Definitions and Theorems
begindefinition[Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardbiglk in 1, 2, dots, n : x_k neq 0bigr
endequation
enddefinition
enddocument
Instead of abusing
subsection
I defined proper environments for theorems and definition (add the others you need).I also defined an operator name for the cardinality.
The braces for delimiting the set definition should be
and
.
Because of the nested sets, I used
big
for the outer braces (it's optional)....
should bedots
.Instead of guessing at the appropriate values for the page parameters, just set the desired text height and width, then issue
calclayout
(a command proper ofamsart
) to set the others.
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
add a comment |
The command norm
is not defined by default. A common way to define it is to use mathtools
and DeclarPairedDelimiter
, so that norm
can be called
normx
norm[big]x
norm[Big]x
norm[bigg]x
norm[Bigg]x
norm*x
where the calls with the optional argument manually set the size of the delimiter; the *
-form uses automatically extensible delimiter (to be used sparingly).
documentclass[11pt]amsart
% load here other needed packages
usepackageamssymb,mathtools
% set up for the document
setlengthtextheight9.5in
setlengthtextwidth6.5in
calclayout % <--- this is the proper way in amsart
% personal commands
DeclarePairedDelimiternormlVertrVert
DeclareMathOperatorcardcard
% theorem like environments
newtheoremtheoremTheorem[section]
theoremstyledefinition
newtheoremdefinition[theorem]Definition
begindocument
sectionImportant Definitions and Theorems
begindefinition[Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardbiglk in 1, 2, dots, n : x_k neq 0bigr
endequation
enddefinition
enddocument
Instead of abusing
subsection
I defined proper environments for theorems and definition (add the others you need).I also defined an operator name for the cardinality.
The braces for delimiting the set definition should be
and
.
Because of the nested sets, I used
big
for the outer braces (it's optional)....
should bedots
.Instead of guessing at the appropriate values for the page parameters, just set the desired text height and width, then issue
calclayout
(a command proper ofamsart
) to set the others.
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
add a comment |
The command norm
is not defined by default. A common way to define it is to use mathtools
and DeclarPairedDelimiter
, so that norm
can be called
normx
norm[big]x
norm[Big]x
norm[bigg]x
norm[Bigg]x
norm*x
where the calls with the optional argument manually set the size of the delimiter; the *
-form uses automatically extensible delimiter (to be used sparingly).
documentclass[11pt]amsart
% load here other needed packages
usepackageamssymb,mathtools
% set up for the document
setlengthtextheight9.5in
setlengthtextwidth6.5in
calclayout % <--- this is the proper way in amsart
% personal commands
DeclarePairedDelimiternormlVertrVert
DeclareMathOperatorcardcard
% theorem like environments
newtheoremtheoremTheorem[section]
theoremstyledefinition
newtheoremdefinition[theorem]Definition
begindocument
sectionImportant Definitions and Theorems
begindefinition[Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardbiglk in 1, 2, dots, n : x_k neq 0bigr
endequation
enddefinition
enddocument
Instead of abusing
subsection
I defined proper environments for theorems and definition (add the others you need).I also defined an operator name for the cardinality.
The braces for delimiting the set definition should be
and
.
Because of the nested sets, I used
big
for the outer braces (it's optional)....
should bedots
.Instead of guessing at the appropriate values for the page parameters, just set the desired text height and width, then issue
calclayout
(a command proper ofamsart
) to set the others.
The command norm
is not defined by default. A common way to define it is to use mathtools
and DeclarPairedDelimiter
, so that norm
can be called
normx
norm[big]x
norm[Big]x
norm[bigg]x
norm[Bigg]x
norm*x
where the calls with the optional argument manually set the size of the delimiter; the *
-form uses automatically extensible delimiter (to be used sparingly).
documentclass[11pt]amsart
% load here other needed packages
usepackageamssymb,mathtools
% set up for the document
setlengthtextheight9.5in
setlengthtextwidth6.5in
calclayout % <--- this is the proper way in amsart
% personal commands
DeclarePairedDelimiternormlVertrVert
DeclareMathOperatorcardcard
% theorem like environments
newtheoremtheoremTheorem[section]
theoremstyledefinition
newtheoremdefinition[theorem]Definition
begindocument
sectionImportant Definitions and Theorems
begindefinition[Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
normx_0 = cardbiglk in 1, 2, dots, n : x_k neq 0bigr
endequation
enddefinition
enddocument
Instead of abusing
subsection
I defined proper environments for theorems and definition (add the others you need).I also defined an operator name for the cardinality.
The braces for delimiting the set definition should be
and
.
Because of the nested sets, I used
big
for the outer braces (it's optional)....
should bedots
.Instead of guessing at the appropriate values for the page parameters, just set the desired text height and width, then issue
calclayout
(a command proper ofamsart
) to set the others.
answered May 4 at 20:32
egregegreg
740k8919393270
740k8919393270
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
add a comment |
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
Weird that norm is not already defined in the package. Maybe it isn't weird, but mathematicians (especially analysts) use them all the time. Thanks for all the help though. I really appreciate it!
– Matthew Graham
May 4 at 20:50
add a comment |
Adding this definition, based on mathtools (an extension of amsmath
) works fine. I defined a znorm
command which stretches to the size of its argument in its starred version. Alternatively, you can fine-tune the size of the norm symbols using an optional argument one of big, Big, bigg, Bigg
.
Unrelated: you don't have yo load graphics
if you load graphicx
: the latter does it for you. Similarly, needless to load amsmath
if you load mathtools
.
documentclass[11pt]amsart
usepackageamssymb,mathtools,amsthm,enumitem,hyperref
usepackagegraphicx,multicol,tikz,pgfplots,tkz-euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
DeclarePairedDelimiterXPPznorm[1]lVertrVert_0#1
DeclareMathOperatorcardcard
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
znormx=cardbiglk in 1, 2, . . . , n : x_k neq 0bigrqquad znorm*fracxa
endequation
enddocument
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
add a comment |
Adding this definition, based on mathtools (an extension of amsmath
) works fine. I defined a znorm
command which stretches to the size of its argument in its starred version. Alternatively, you can fine-tune the size of the norm symbols using an optional argument one of big, Big, bigg, Bigg
.
Unrelated: you don't have yo load graphics
if you load graphicx
: the latter does it for you. Similarly, needless to load amsmath
if you load mathtools
.
documentclass[11pt]amsart
usepackageamssymb,mathtools,amsthm,enumitem,hyperref
usepackagegraphicx,multicol,tikz,pgfplots,tkz-euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
DeclarePairedDelimiterXPPznorm[1]lVertrVert_0#1
DeclareMathOperatorcardcard
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
znormx=cardbiglk in 1, 2, . . . , n : x_k neq 0bigrqquad znorm*fracxa
endequation
enddocument
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
add a comment |
Adding this definition, based on mathtools (an extension of amsmath
) works fine. I defined a znorm
command which stretches to the size of its argument in its starred version. Alternatively, you can fine-tune the size of the norm symbols using an optional argument one of big, Big, bigg, Bigg
.
Unrelated: you don't have yo load graphics
if you load graphicx
: the latter does it for you. Similarly, needless to load amsmath
if you load mathtools
.
documentclass[11pt]amsart
usepackageamssymb,mathtools,amsthm,enumitem,hyperref
usepackagegraphicx,multicol,tikz,pgfplots,tkz-euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
DeclarePairedDelimiterXPPznorm[1]lVertrVert_0#1
DeclareMathOperatorcardcard
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
znormx=cardbiglk in 1, 2, . . . , n : x_k neq 0bigrqquad znorm*fracxa
endequation
enddocument
Adding this definition, based on mathtools (an extension of amsmath
) works fine. I defined a znorm
command which stretches to the size of its argument in its starred version. Alternatively, you can fine-tune the size of the norm symbols using an optional argument one of big, Big, bigg, Bigg
.
Unrelated: you don't have yo load graphics
if you load graphicx
: the latter does it for you. Similarly, needless to load amsmath
if you load mathtools
.
documentclass[11pt]amsart
usepackageamssymb,mathtools,amsthm,enumitem,hyperref
usepackagegraphicx,multicol,tikz,pgfplots,tkz-euclide,relsize,framed
usetikzlibrarycalc
tikzsetfontscale/.style = font=relsize#1
setlengthtopmargin-0.750in
setlengthtextheight9.5in
setlengthtextwidth6.5in
setlengthoddsidemargin0in
setlengthevensidemargin0in
allowdisplaybreaks
renewcommandlabelenumi(alphenumi)
renewcommandlabelenumiiromanenumii.
setlengtharraycolsep2pt
DeclarePairedDelimiterXPPznorm[1]lVertrVert_0#1
DeclareMathOperatorcardcard
begindocument
sectionImportant Definitions and Theorems
subsectionDefinition [Sparsity]
The emphsparsity of $x in mathbbR^n$ is defined by
beginequation
znormx=cardbiglk in 1, 2, . . . , n : x_k neq 0bigrqquad znorm*fracxa
endequation
enddocument
edited May 4 at 19:05
answered May 4 at 18:56
BernardBernard
179k779211
179k779211
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
add a comment |
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
@Mico: you're right. I focused on the rest, so I didn't notice it. Thanks!
– Bernard
May 4 at 19:01
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
Thanks @Bernard!
– Matthew Graham
May 4 at 19:14
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%2f489196%2fundefined-control-sequence-for-my-0-norm%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
The undefined control sequence is
norm
. Do you have any preference for how the norm of something should be denoted?– Mico
May 4 at 18:48
1
Off-topic: Since you're loading the
amssymb
package, there can be no excuse or justification for loadinglatexsym
as well. Similarly, since you're loading thegraphicx
package, nothing but a high tolerance for code clutter can justify loadinggraphics
as well.– Mico
May 4 at 18:49
If the template you're using comes straight from your professor, you may want to suggest to him/her that de-crufting the template that's being inflicted on the students should be made a very high priority.
– Mico
May 4 at 18:52
Okay. Thank you. The only preference I have for how the norm of something is denoted is how it should normally look--something inside what looks like two absolute value bars with a subscript denoting the type of norm. Okay. I'll keep that in mind. What I am working on is literally the second document I've ever written in LaTex. To prevent confusion and to just get us started, my professor gave us all that intro stuff with the packages. I'll let him know.
– Matthew Graham
May 4 at 19:02