I am building a report document. I want to start the numbering of lemmas and theorem with 1 in every new chapter.  For example, I have 3 Lemmas and 2 theorems in Chapter number 1. Now, in chapter 2 I again want to start with lemma 1 and theorem 1. But I don't want the format like Theorem 2.1  Can you please tell me the packages and how to achieve the above?  Edit 1: I want to This type of format  Chapter 1     ----Section 1     --------thm 1     --------Lemma 1     ----Section 2     --------thm 2     --------thm 3     --------Remark 1     Chapter 2     ----Section 1     --------Lemma 1     --------thm 1     ----Section 2     --------thm 2     --------Remark 1  But using the command \renewcommand*{\thetheorem}{\arabic{theorem}} is not helpful for the Lemmas and Remarks. using the above command as \renewcommand*{\theremark}{\arabic{remark}} and similarly for lemmas either give an error or starts them with number 0. And sometimes ignores the command and starts with the number from the continuation itself i.e. If chapter 1 has 2 lemmas, then in chapter 2 it starts with lemma 3.  Edit 2: I have known  after @oliversm provided the answered this question.  Edit 3: Here is my implementation of what I am trying to say in Edit 1 as pointed out by @egreg  \documentclass[a4 paper, 12pt]{report} \usepackage{amsmath} \usepackage{amsthm} \usepackage{enumerate} \usepackage{hyperref} \usepackage{fullpage} \newtheorem{lemma}{Lemma} \newtheorem{remark}{Remark} \newtheorem{thm}{THEOREM}[chapter] \renewcommand*{\thethm}{\arabic{thm}} \renewcommand*{\theremark}{\arabic{remark}} \renewcommand*{\thelemma}{\arabic{lemma}} \begin{document} \chapter{Hello} \section{Hi} \begin{thm}       some statement \end{thm} \section{ More Section in this chapter} \begin{lemma}       Purpose of Lemma \end{lemma} \begin{proof}       some bizzare statements \end{proof} \begin{remark}       some useful statement \end{remark} \chapter{ Next one} \section{in person} \begin{lemma}        It is the another lemma in the new chapter \end{lemma} \begin{proof}        some tricky part \end{proof} \begin{thm}        Theorem using previous lemma \end{thm} \begin{remark}        exercise for reader \end{remark} \end{document}
I'm searching how to remove the chapter+section number on the theorem numbering with a section counter.  With no section counter it's like:  \newtheorem{thm}{Title} Chapter1 ----Section 1 --------thm 1 --------thm 2 ----Section 2 --------thm 3 --------thm 4 Chapter2 ----Section 1 --------thm 5 --------thm 6 ----Section 2 --------thm 7 --------thm 8   And with the section counter:  \newtheorem{thm}{Title}[section] Chapter 1 ----Section 1 --------thm 1.1.1 --------thm 1.1.2 ----Section 2 --------thm 1.2.1 --------thm 1.2.2 Chapter 2 ----Section 1 --------thm 2.1.1 --------thm 2.1.2 ----Section 2 --------thm 2.2.1 --------thm 2.2.2   And I want numbering my theorems like this:  \newtheorem???????? Chapter 1 ----Section 1 --------thm 1 --------thm 2 ----Section 2 --------thm 1 --------thm 2 Chapter 2 ----Section 1 --------thm 1 --------thm 2 ----Section 2 --------thm 1 --------thm 2   I know it's always a pain to remove such things, thanks for whoever will help me ^^
Consider:  I need to do this. I need do this.  My English grammar knowledge tells me that &quot;need&quot; doesn't have the same status as the modal verbs &quot;may&quot;, &quot;can&quot;, &quot;should&quot; and what not. Hence the second usage where two verbs appear consecutively is incorrect. But yesterday, my native English speaking friends (Americans) told me that &quot;I need compute this.&quot; is a perfectly grammatical sentence, and one is simply omitting the &quot;to&quot;. How can this be? Is it a colloquial usage but grammatically incorrect, or is it grammatically correct? If it is grammatically correct, is it because &quot;need&quot; is a semi-modal verb? EDIT: in particular, is it okay to use &quot;need compute&quot; in a scientific paper? EDIT2: the exact phrase that raised the question was &quot;The advantage of this representation is that we need only compute sums and products&quot; Sum of $k {n \choose k}$ is $n2^{n-1}$ Proof that $\suṃ̣_{k=1}^{n}k {n \choose k}$ for $n \in \mathbb N$ is equal to $n2^{n-1}$.  As a hint I got that $k {n \choose k} = n {n-1\choose k-1} $.  I tried solving this by induction but, in the inductive step I'm not arriving to the correct result. Why does a candle blow out when we blow on it? Our breath is 16% oxygen and only 4% CO2 How can I control the name of generic WCF return types? I've got a WCF Web Service method whose prototype is:  [OperationContract] Response&lt;List&lt;Customer&gt;&gt; GetCustomers();   When I add the service reference to a client, Visual Studio (2005) creates a type called "ResponseOfArrayOfCustomerrleXg3IC" that is a wrapper for "Response&lt;List&lt;Customer>>".  Is there any way I can control the wrapper name?  ResponseOfArrayOfCustomerrleXg3IC doesn't sound very appealing... The full question: suppose N is normal in G and $[G:N]=p$ is a prime. Prove that for any $K \leq G$, either (1) $K \leq N$ or (2)$KN=G$ and $[K:K \cap N]=p$.  Since $N,K \leq G$, it is of course possible that $K \leq N$ could happen.  but for (2), we can show $KN \subseteq G$  but how can we show $KN=G$?  And what information does "$[G:N]=p$" give us? Short Story About Contact With An Alien Race That Extruded An Elixir Are numbers in which all substrings are primes finite regardless of base? Adding CSS Reference on Site Page So I have created a Site Page that has the "New Experience" look and I would like to change its style a little. Nothing major, just the height, width, color, etc. However, I can not seem to figure it out.   For example, I tried to change the height of the .pageHeader to a smaller value.   .pageHeader{ height: 150px !important } //for example of CSS in file   Here is a reference image of the page i'm trying to change    I tried adding   &lt;link href="../SiteAssets/file.css" rel="stylesheet" type="text/css"&gt;   to the .aspx page using SharePoint Designer and it didn't work.    I also tried adding   &lt;SharePoint:CssRegistration ID="CssRegistration" Name="SiteAssets/file.css" runat="server" /&gt;   to the .aspx page and it didn't work    I tried to use the "Embed" feature to add the CSS; however, it complains and says,     This embed code doesn't seem to work. We only support iframe based embeds.   Question:   How can I add custom CSS to this type page?  I can't seem to figure it out and I'm not sure exactly why the page will not load the file.  Is this even possible? The situation is my  has been enchanted with .  The creature has      when it dies, return it to his owner’s hand   The enchantment says     When enchanted creature dies, return that card to the battlefield under your control with a +1/+1 counter on it.   Who gets the creature? Me or my rival?  Does the creature ability trigger before or after enchantment? On really old Ubuntu 6.06 - How to upgrade Get text from pressed button Mysterious cord running from wall. Safe? Understanding Python super() with __init__() methods I'm trying to understand the use of super(). From the looks of it, both child classes can be created, just fine.   I'm curious to know about the actual difference between the following 2 child classes.  class Base(object):     def __init__(self):         print "Base created"  class ChildA(Base):     def __init__(self):         Base.__init__(self)  class ChildB(Base):     def __init__(self):         super(ChildB, self).__init__()  ChildA()  ChildB() How can energy be useful when it is 'abstract'? Should I always use a comma after "e.g." or "i.e."? It seems that "e.g." is always followed by a comma but "i.e." is not. Why is that? Add and remove update channels in an easy terminal way I know there is a GUI in Ubuntu Software &amp; Updates to enable the update channels   updates proposed backports security   as shown in this screenshot:    I am looking for an easy way to do this from within a terminal using commands such as    sudo apt-add-update enable updates sudo apt-add-update enable proposed sudo apt-add-update enable backports sudo apt-add-update enable security  sudo apt-add-update disable updates sudo apt-add-update disable proposed sudo apt-add-update disable backports sudo apt-add-update disable security   and an additional thing  sudo apt-add-update enable default  sudo apt-add-update disable default     Some examples for a better understanding   An empty sources.list   cat /etc/apt/sources.list  &lt;empty&gt;  sudo apt-add-update enable security  &lt;empty&gt;   One enabled repository (main)   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily main  sudo apt-add-update enable security  deb http://archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily-security main   Two or more enabled repositories in one or two lines   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily main universe   or   deb http://archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily universe  sudo apt-add-update enable security  deb http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu wily-security main universe   or  deb http://archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily-security main deb http://archive.ubuntu.com/ubuntu wily universe deb http://archive.ubuntu.com/ubuntu wily-security universe   With deb-src entries   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily main universe deb-src http://archive.ubuntu.com/ubuntu wily main universe  sudo apt-add-update enable security  deb http://archive.ubuntu.com/ubuntu wily main universe deb-src http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu wily-security main universe deb-src http://archive.ubuntu.com/ubuntu wily-security main universe   With inactive deb-src entries   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily main universe # deb-src http://archive.ubuntu.com/ubuntu wily main universe  sudo apt-add-update enable security  deb http://archive.ubuntu.com/ubuntu wily main universe # deb-src http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu wily-security main universe   The default thing    cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily-security universe  sudo apt-add-update enable default  deb http://archive.ubuntu.com/ubuntu wily universe deb http://archive.ubuntu.com/ubuntu wily-security universe   Only one entry and the disable action   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily-security universe  sudo apt-add-update disable security  &lt;empty&gt;   Different or the same servers for different or the samerepositories, respect each server   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily universe deb http://us.archive.ubuntu.com/ubuntu wily main  sudo apt-add-update enable security  deb http://archive.ubuntu.com/ubuntu wily universe deb http://us.archive.ubuntu.com/ubuntu wily main deb http://archive.ubuntu.com/ubuntu wily-security universe deb http://us.archive.ubuntu.com/ubuntu wily-security main   Different Ubuntu releases for different repositories, respect each release   cat /etc/apt/sources.list  deb http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu trusty main  sudo apt-add-update enable security  deb http://archive.ubuntu.com/ubuntu wily main universe deb http://archive.ubuntu.com/ubuntu trusty main deb http://archive.ubuntu.com/ubuntu wily-security main universe deb http://archive.ubuntu.com/ubuntu trusty-security main   PPAs or other package sources (not-Canonical)  in the sources.list?  Ignore! Don't change the protocols, e.g. https, http, tor, ... Is anti-gravity (i.e. repulsive gravity) possible in theoretical physics? Is  (i.e. repulsive gravity) possible in string theory?  I have read some articles about scientists making assumptions about the existence of anti-gravity, but is it possible in string theory? Connect to SQL Server with Windows Authentication in a different domain XTerm only display part of some unicodes and Urxvt displays nothing In my case, (U)XTerm does display some unicodes, but only partially. For exmaple: for letters are: 𝒫φϕ𝒟. Here is a screenshot of UXTerm and Urxvt respectively   It seems that the problem is related to the letter space or letter length. By the way, everything is fine with gnome-terminal.  My current .Xresources file is: Xft.dpi:       120 Xft.antialias: true Xft.hinting:   true Xft.rgba:      rgb Xft.autohint:  false Xft.hintstyle: hintslight Xft.lcdfilter: lcddefault  XTerm*faceName:          Fixed XTerm*faceSize:          14 XTerm*reverseVideo:      false XTerm*selectToClipboard: true  UXTerm.vt100*faceName:          Fixed UXTerm.vt100*faceSize:          14 UXTerm.vt100*reverseVideo:      false UXTerm*selectToClipboard: true  URxvt.font:            xft:Fixed:pixelsize=18  URxvt.depth:                      32 URxvt.background:                 #222D31 URxvt*scrollBar:                  false URxvt*mouseWheelScrollPage:       false URxvt*cursorBlink:                true URxvt*background:                 black URxvt*foreground:                 grey URxvt*saveLines:                  5000  How to make XTerm and Urxvt to display those characters correctly? Is it possible? Does the verb &quot;provide&quot; always have to be used with &quot;with&quot;? For example,  Can you provide me with some good examples? Can you provide me some good examples? Can you provide some good examples?  I suppose it's a transitive verb, isn't it? Moreover, is the following type of usage correct?  You should provide food for your dog before you go on vacation.  If you could give me some good examples regarding &quot;provide&quot; with different types of usage, I'd appreciate that.