Want to define numbered Theorem, Lemma, Remark, etcEquation numbering within each theoremHow do I create equation whose number matches my section numberNumbering subsections and subsubsections with the equation counterHow to number subsection of a nonumber section?Customize numbering of equations, using roman numerals some places and arabic numerals other places [separate counters]Theorem, Lemma etc numberingChanging numbers of equationsTheorem numbering without the section and subsection numbersNumbering of newtheoremWant to add subsection numbering to custom .cls file

I would say: "You are another teacher", but she is a woman and I am a man

Calculating entropy change: reversible vs irreversible process

Different meanings of こわい

ssTTsSTtRrriinInnnnNNNIiinngg

How seriously should I take size and weight limits of hand luggage?

What exploit Are these user agents trying to use?

Examples of smooth manifolds admitting inbetween one and a continuum of complex structures

How to show a landlord what we have in savings?

Which is the best way to check return result?

pgfplots: How to draw exponential graph with 60° start angle?

How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)

Why didn't Boeing produce its own regional jet?

Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?

How do I handle a potential work/personal life conflict as the manager of one of my friends?

Is this a hacking script in function.php?

How to tell a function to use the default argument values?

What are some good books on Machine Learning and AI like Krugman, Wells and Graddy's "Essentials of Economics"

Is it possible to create a QR code using text?

How do I gain back my faith in my PhD degree?

How can saying a song's name be a copyright violation?

iPad being using in wall mount battery swollen

What is a romance in Latin?

Why do bosons tend to occupy the same state?

How do conventional missiles fly?



Want to define numbered Theorem, Lemma, Remark, etc


Equation numbering within each theoremHow do I create equation whose number matches my section numberNumbering subsections and subsubsections with the equation counterHow to number subsection of a nonumber section?Customize numbering of equations, using roman numerals some places and arabic numerals other places [separate counters]Theorem, Lemma etc numberingChanging numbers of equationsTheorem numbering without the section and subsection numbersNumbering of newtheoremWant to add subsection numbering to custom .cls file













0















I have seen some nice functionality in the the latex files of certain math journals and I want to create that functionality in my own .tex file. Right now, I can write



beginequationlabeleq:STUFF
MATH STUFF
endequation


and this will produce a numbered equation. Elsewhere, I can refer to "Equation refeq:STUFF," and it will take care of the numbering for me. Here is the new functionality I am looking for: I want to be able to write



begintheoremlabelthm:LATEX
For example, this theorem is Theorem 2.5.1 because it is the first theorem in the fifth subsection of the second section.
endtheorem


I want to be able to write "Theorem refthm:LATEX" and have my PDF build with the numbers for the theorem's number in this format: [Section].[Subsection].[Item], in this case "2.5.1."



I also want to be able to toggle the numbering for unnumbered items such as a simple remark, or



beginproof
Proof of the above numbered theorem.
endproof


where I would refer to this as "proof of Theorem refthm:LATEX" and I would not want the item counter to count the proof, so that the item following the proof would be item "2.5.2"



BELOW FIND MY TEX FILE WITH THE NOTES ON WHAT I WANT:




documentclassreport
usepackage[utf8]inputenc
usepackagegraphicx % needed for figures
usepackagebm % for math
usepackageamssymb % for math
usepackageamsmath
usepackagegraphicx
usepackagetitling
usepackagebigints
usepackagemathtools
usepackagecenternot
usepackage[left=1in,right=1in,top=0.468in,bottom=.768in,centering,includeheadfoot]geometry

titleLARGE textbfProof of Latex

authorLargeHodor P. Bojangleton

begindocument

renewcommandabstractnamevspace-baselineskip
datetoday
maketitle

tableofcontents
newpage
large

sectionSECTION 1

Currently this starts with 0 because it is counting the chapters, but I only want to use sections and subsections. I need to get rid of the counting for chapters.

Items in this space should be numbered 1.0.X

Here I create and equation with the "begin/end" syntax that I want for my new commands.

beginequationlabeleq:111
1+1=2
endequation

I want to add a zero for the subsection in the numbering of Equation refeq:111.




subsectionSUBSECTION 1.1

Here we have the 0 chapter number than I want to get rid of.

Items in this space should be numbered 1.1.X

I want the item name and number to appear aesthetically like:newline

noindent Large textbfTheorem 1.1.1 After I write "begin theorem" to mimic the "begin equation" functionality that I already have, I want the text I write between "begin" and "end" to show up on the same line as the large bold theorem header.newline

noindent Large textitProof. This is an unnumbered proof of the above theorem.newline

noindent Large textbfLemma 1.1.2 The item counter did not increment for the proof.


sectionSECTION 2

Items in this space should be numbered 2.0.X

subsectionSUBSECTION 2.1

Items in this space should be numbered 2.1.X

subsectionSUBSECTION 2.2

Items in this space should be numbered 2.2.X


enddocument









share|improve this question









New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Use either amsthm or ntheorem, whichever you prefer. The documentation has many examples.

    – Davislor
    32 mins ago











  • In the future, please indent code fragments with four spaces (or selecting them and then hitting the button in the post editor). It’d also help to make your examples minimal.

    – Davislor
    27 mins ago











  • In particular, see section 2 of the ntheorem manual for information on the [section] option to newtheorem and the theoremnumbering, theoremheaderfont and theorembodyfont commands.

    – Davislor
    25 mins ago











  • I've reformatted the code for you. @Davislor: why not make these good comments into an answer.

    – Paul Stanley
    11 mins ago















0















I have seen some nice functionality in the the latex files of certain math journals and I want to create that functionality in my own .tex file. Right now, I can write



beginequationlabeleq:STUFF
MATH STUFF
endequation


and this will produce a numbered equation. Elsewhere, I can refer to "Equation refeq:STUFF," and it will take care of the numbering for me. Here is the new functionality I am looking for: I want to be able to write



begintheoremlabelthm:LATEX
For example, this theorem is Theorem 2.5.1 because it is the first theorem in the fifth subsection of the second section.
endtheorem


I want to be able to write "Theorem refthm:LATEX" and have my PDF build with the numbers for the theorem's number in this format: [Section].[Subsection].[Item], in this case "2.5.1."



I also want to be able to toggle the numbering for unnumbered items such as a simple remark, or



beginproof
Proof of the above numbered theorem.
endproof


where I would refer to this as "proof of Theorem refthm:LATEX" and I would not want the item counter to count the proof, so that the item following the proof would be item "2.5.2"



BELOW FIND MY TEX FILE WITH THE NOTES ON WHAT I WANT:




documentclassreport
usepackage[utf8]inputenc
usepackagegraphicx % needed for figures
usepackagebm % for math
usepackageamssymb % for math
usepackageamsmath
usepackagegraphicx
usepackagetitling
usepackagebigints
usepackagemathtools
usepackagecenternot
usepackage[left=1in,right=1in,top=0.468in,bottom=.768in,centering,includeheadfoot]geometry

titleLARGE textbfProof of Latex

authorLargeHodor P. Bojangleton

begindocument

renewcommandabstractnamevspace-baselineskip
datetoday
maketitle

tableofcontents
newpage
large

sectionSECTION 1

Currently this starts with 0 because it is counting the chapters, but I only want to use sections and subsections. I need to get rid of the counting for chapters.

Items in this space should be numbered 1.0.X

Here I create and equation with the "begin/end" syntax that I want for my new commands.

beginequationlabeleq:111
1+1=2
endequation

I want to add a zero for the subsection in the numbering of Equation refeq:111.




subsectionSUBSECTION 1.1

Here we have the 0 chapter number than I want to get rid of.

Items in this space should be numbered 1.1.X

I want the item name and number to appear aesthetically like:newline

noindent Large textbfTheorem 1.1.1 After I write "begin theorem" to mimic the "begin equation" functionality that I already have, I want the text I write between "begin" and "end" to show up on the same line as the large bold theorem header.newline

noindent Large textitProof. This is an unnumbered proof of the above theorem.newline

noindent Large textbfLemma 1.1.2 The item counter did not increment for the proof.


sectionSECTION 2

Items in this space should be numbered 2.0.X

subsectionSUBSECTION 2.1

Items in this space should be numbered 2.1.X

subsectionSUBSECTION 2.2

Items in this space should be numbered 2.2.X


enddocument









share|improve this question









New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Use either amsthm or ntheorem, whichever you prefer. The documentation has many examples.

    – Davislor
    32 mins ago











  • In the future, please indent code fragments with four spaces (or selecting them and then hitting the button in the post editor). It’d also help to make your examples minimal.

    – Davislor
    27 mins ago











  • In particular, see section 2 of the ntheorem manual for information on the [section] option to newtheorem and the theoremnumbering, theoremheaderfont and theorembodyfont commands.

    – Davislor
    25 mins ago











  • I've reformatted the code for you. @Davislor: why not make these good comments into an answer.

    – Paul Stanley
    11 mins ago













0












0








0








I have seen some nice functionality in the the latex files of certain math journals and I want to create that functionality in my own .tex file. Right now, I can write



beginequationlabeleq:STUFF
MATH STUFF
endequation


and this will produce a numbered equation. Elsewhere, I can refer to "Equation refeq:STUFF," and it will take care of the numbering for me. Here is the new functionality I am looking for: I want to be able to write



begintheoremlabelthm:LATEX
For example, this theorem is Theorem 2.5.1 because it is the first theorem in the fifth subsection of the second section.
endtheorem


I want to be able to write "Theorem refthm:LATEX" and have my PDF build with the numbers for the theorem's number in this format: [Section].[Subsection].[Item], in this case "2.5.1."



I also want to be able to toggle the numbering for unnumbered items such as a simple remark, or



beginproof
Proof of the above numbered theorem.
endproof


where I would refer to this as "proof of Theorem refthm:LATEX" and I would not want the item counter to count the proof, so that the item following the proof would be item "2.5.2"



BELOW FIND MY TEX FILE WITH THE NOTES ON WHAT I WANT:




documentclassreport
usepackage[utf8]inputenc
usepackagegraphicx % needed for figures
usepackagebm % for math
usepackageamssymb % for math
usepackageamsmath
usepackagegraphicx
usepackagetitling
usepackagebigints
usepackagemathtools
usepackagecenternot
usepackage[left=1in,right=1in,top=0.468in,bottom=.768in,centering,includeheadfoot]geometry

titleLARGE textbfProof of Latex

authorLargeHodor P. Bojangleton

begindocument

renewcommandabstractnamevspace-baselineskip
datetoday
maketitle

tableofcontents
newpage
large

sectionSECTION 1

Currently this starts with 0 because it is counting the chapters, but I only want to use sections and subsections. I need to get rid of the counting for chapters.

Items in this space should be numbered 1.0.X

Here I create and equation with the "begin/end" syntax that I want for my new commands.

beginequationlabeleq:111
1+1=2
endequation

I want to add a zero for the subsection in the numbering of Equation refeq:111.




subsectionSUBSECTION 1.1

Here we have the 0 chapter number than I want to get rid of.

Items in this space should be numbered 1.1.X

I want the item name and number to appear aesthetically like:newline

noindent Large textbfTheorem 1.1.1 After I write "begin theorem" to mimic the "begin equation" functionality that I already have, I want the text I write between "begin" and "end" to show up on the same line as the large bold theorem header.newline

noindent Large textitProof. This is an unnumbered proof of the above theorem.newline

noindent Large textbfLemma 1.1.2 The item counter did not increment for the proof.


sectionSECTION 2

Items in this space should be numbered 2.0.X

subsectionSUBSECTION 2.1

Items in this space should be numbered 2.1.X

subsectionSUBSECTION 2.2

Items in this space should be numbered 2.2.X


enddocument









share|improve this question









New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have seen some nice functionality in the the latex files of certain math journals and I want to create that functionality in my own .tex file. Right now, I can write



beginequationlabeleq:STUFF
MATH STUFF
endequation


and this will produce a numbered equation. Elsewhere, I can refer to "Equation refeq:STUFF," and it will take care of the numbering for me. Here is the new functionality I am looking for: I want to be able to write



begintheoremlabelthm:LATEX
For example, this theorem is Theorem 2.5.1 because it is the first theorem in the fifth subsection of the second section.
endtheorem


I want to be able to write "Theorem refthm:LATEX" and have my PDF build with the numbers for the theorem's number in this format: [Section].[Subsection].[Item], in this case "2.5.1."



I also want to be able to toggle the numbering for unnumbered items such as a simple remark, or



beginproof
Proof of the above numbered theorem.
endproof


where I would refer to this as "proof of Theorem refthm:LATEX" and I would not want the item counter to count the proof, so that the item following the proof would be item "2.5.2"



BELOW FIND MY TEX FILE WITH THE NOTES ON WHAT I WANT:




documentclassreport
usepackage[utf8]inputenc
usepackagegraphicx % needed for figures
usepackagebm % for math
usepackageamssymb % for math
usepackageamsmath
usepackagegraphicx
usepackagetitling
usepackagebigints
usepackagemathtools
usepackagecenternot
usepackage[left=1in,right=1in,top=0.468in,bottom=.768in,centering,includeheadfoot]geometry

titleLARGE textbfProof of Latex

authorLargeHodor P. Bojangleton

begindocument

renewcommandabstractnamevspace-baselineskip
datetoday
maketitle

tableofcontents
newpage
large

sectionSECTION 1

Currently this starts with 0 because it is counting the chapters, but I only want to use sections and subsections. I need to get rid of the counting for chapters.

Items in this space should be numbered 1.0.X

Here I create and equation with the "begin/end" syntax that I want for my new commands.

beginequationlabeleq:111
1+1=2
endequation

I want to add a zero for the subsection in the numbering of Equation refeq:111.




subsectionSUBSECTION 1.1

Here we have the 0 chapter number than I want to get rid of.

Items in this space should be numbered 1.1.X

I want the item name and number to appear aesthetically like:newline

noindent Large textbfTheorem 1.1.1 After I write "begin theorem" to mimic the "begin equation" functionality that I already have, I want the text I write between "begin" and "end" to show up on the same line as the large bold theorem header.newline

noindent Large textitProof. This is an unnumbered proof of the above theorem.newline

noindent Large textbfLemma 1.1.2 The item counter did not increment for the proof.


sectionSECTION 2

Items in this space should be numbered 2.0.X

subsectionSUBSECTION 2.1

Items in this space should be numbered 2.1.X

subsectionSUBSECTION 2.2

Items in this space should be numbered 2.2.X


enddocument






numbering






share|improve this question









New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 12 mins ago









Paul Stanley

15k42848




15k42848






New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 38 mins ago









Jonathan TookerJonathan Tooker

1




1




New contributor




Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Jonathan Tooker is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Use either amsthm or ntheorem, whichever you prefer. The documentation has many examples.

    – Davislor
    32 mins ago











  • In the future, please indent code fragments with four spaces (or selecting them and then hitting the button in the post editor). It’d also help to make your examples minimal.

    – Davislor
    27 mins ago











  • In particular, see section 2 of the ntheorem manual for information on the [section] option to newtheorem and the theoremnumbering, theoremheaderfont and theorembodyfont commands.

    – Davislor
    25 mins ago











  • I've reformatted the code for you. @Davislor: why not make these good comments into an answer.

    – Paul Stanley
    11 mins ago

















  • Use either amsthm or ntheorem, whichever you prefer. The documentation has many examples.

    – Davislor
    32 mins ago











  • In the future, please indent code fragments with four spaces (or selecting them and then hitting the button in the post editor). It’d also help to make your examples minimal.

    – Davislor
    27 mins ago











  • In particular, see section 2 of the ntheorem manual for information on the [section] option to newtheorem and the theoremnumbering, theoremheaderfont and theorembodyfont commands.

    – Davislor
    25 mins ago











  • I've reformatted the code for you. @Davislor: why not make these good comments into an answer.

    – Paul Stanley
    11 mins ago
















Use either amsthm or ntheorem, whichever you prefer. The documentation has many examples.

– Davislor
32 mins ago





Use either amsthm or ntheorem, whichever you prefer. The documentation has many examples.

– Davislor
32 mins ago













In the future, please indent code fragments with four spaces (or selecting them and then hitting the button in the post editor). It’d also help to make your examples minimal.

– Davislor
27 mins ago





In the future, please indent code fragments with four spaces (or selecting them and then hitting the button in the post editor). It’d also help to make your examples minimal.

– Davislor
27 mins ago













In particular, see section 2 of the ntheorem manual for information on the [section] option to newtheorem and the theoremnumbering, theoremheaderfont and theorembodyfont commands.

– Davislor
25 mins ago





In particular, see section 2 of the ntheorem manual for information on the [section] option to newtheorem and the theoremnumbering, theoremheaderfont and theorembodyfont commands.

– Davislor
25 mins ago













I've reformatted the code for you. @Davislor: why not make these good comments into an answer.

– Paul Stanley
11 mins ago





I've reformatted the code for you. @Davislor: why not make these good comments into an answer.

– Paul Stanley
11 mins ago










0






active

oldest

votes












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
);



);






Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483053%2fwant-to-define-numbered-theorem-lemma-remark-etc%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.












Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.











Jonathan Tooker is a new contributor. Be nice, and check out our Code of Conduct.














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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483053%2fwant-to-define-numbered-theorem-lemma-remark-etc%23new-answer', 'question_page');

);

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







Popular posts from this blog

acmart: Multiple authors: all with same affiliation, one author an additional affiliationHow to Write Names of Multiple Authors with Shared Affiliation in ACM 2017 Template?Multiple authors with different primary affiliation, but same additional affiliationSame affiliation for all authors without extra packagesIOS-Book-Article.cls: one author with multiple affiliationacmart: Shared Author AffiliationMultiple authors with different primary affiliation, but same additional affiliationAuthor affiliation with only 1 authorAdding Multiple Authors with Different Affiliation in LaTeX ArticleLaTeX: Multiple authors stays on same lineHow to Label Multiple Authors with Same DescriptionHow to make two authors use the same affiliationTwo authors with same affiliation on finished front page

How to write “ä” and other umlauts and accented letters in bibliography?Accents in BibTeXSorting references with special characters alphabeticallyUse ae ligature in bibliographyEastern European nameInverted circumflex in BibTexBibTex, non-ascii initials and nameptr fproblems with accent in LatexHow to add a Ø to my bibliography from Jabref?References without accentsTroubles when trying to cite St“omer-Verlet in ”title" field of a bib entryComprehensive list of accented charactersHow to type the letter “i” with two dots (diaeresis) in math mode?Problem with glossary text and accented lettersSpecial character in bibliographyAccented letters, Unicode and LaTeX accentsHow to stop natbib from modifying bibliography styleCitation of a paper with non-standard characters by BibtexWrite accented characters to file using writeHow to group the bibliography alphabetically, if some surnames start with “accented” characters?How can I automatically capitalize significant words in my bibliography?

Problem using RevTeX4-1 with “! Undefined control sequence. @bibitemShut”