In my file, i have som tables, which are numbered incorrectly. What I mean by that: I have two tables in chapter 4 and one in chapter 5. They are numbered as 4.1, 4.2 and 5.1, while I want them to be 1, 2 and 3.  MWE is here:  \documentclass{report}  \begin{document}  \section{one}  ...  \section{four}  \begin{table} \caption{Table one} %a table \end{table}  \begin{table} \caption{Table two} %a table \end{table}  \section{five}  \begin{table} \caption{Table three} %a table \end{table}  \end{document}
Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)?  And vice versa: Some document elements (e.g., figures in the article class) are numbered continuously. How can I achieve per-section numbering?  \documentclass{book}% for "vice versa" variant, replace `book` with `article`  \begin{document}  \chapter{foo}% for "vice versa" variant, replace `\chapter` with `\section`  \begin{figure} \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure}  \end{document}   Bonus question: Is it possible to adjust the numbering of the sectioning headings themselves? Can I, e.g., switch from per-chapter to continuous numbering of sections in the book class?
How are the AES S-Boxes calculated? How to insert text before the first line of a file? I've been looking around sed command to add text into a file in a specific line. This works adding text after line 1:  sed '1 a\   But I want to add it before line 1. It would be:  sed '0 a\   but I get this error: invalid usage of line address 0.  Any suggestion? Non-static variable cannot be referenced from a static context My desktop look is empty so all I have is a nice wallpaper. My Windows taskbar has the "Taskbar Appearance" setting to "Auto-hide the taskbar". Although hidden, it leaves a thin top layer so you can still see it a bit, and where the pinned shortcuts are. Is it possible to totally have it hidden without a trace? This is a serious question. It really bugs m. What are alternatives to ExtJS? So what I'm looking for is a javascript framework I can use that has several UI controls. I have taken a look at  but those controls are very basic compared to ExtJS. Are there any other competitive alternatives?     This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. More info: . If $a,b,c \in \mathbb{R+}$ and $abc=1$ Prove That  $$S=\sum \frac{a}{a+b^4+c^4} \le 1$$  My approach:  we have $$S=\sum \frac{\frac{1}{bc}}{\frac{1}{bc}+b^4+c^4}=\sum \frac{1}{1+b^5c+bc^5}$$  Now by $AM \ge GM$ we have  $$\frac{1+b^5c+bc^5}{3} \ge b^2c^2$$ $\implies$  $$\frac{1}{1+b^5c+bc^5} \le \frac{1}{3b^2c^2}=\frac{a^2}{3}$$ Hence  $$S \le \frac{a^2+b^2+c^2}{3}$$  Can we proceed with this? I am new to Force.com and trying to learn some concepts.  Currently I am using Single Email Message to send my emails, but I need to change that to mass email, but I don't quite understand how to do that.   I have also created a Visualforce email template, which I would like to use, but it doesn't seem to work.   It would be great if someone could help me out.  //email_disease_map contains pairs of email address and disease ID for (Id id : email_disease_map.keySet())   {     Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();     String[] defaultAddresses = new String[] {'id@test.com'};      List&lt;String&gt; toAddresses = new List &lt;String&gt; (email_disease_map.get(id));      if (!toAddresses.isEmpty())       {         //set addresses for email to be sent         mail.setToAddresses(defaultAddresses);         mail.setCcAddresses(toAddresses);         mail.setTemplateId(Notification);         //set up remaining email         mail.setReplyTo('test@mail.com');          mail.setSenderDisplayName('Ms Test');          Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });       }  } Let $a &lt; b$ and $f:[a, b] \rightarrow \mathbb R$ be a Riemann integral function. Suppose that $f(x) \geq 0$ for all $x \in [a, b]$. I want to show whether $\int_a^bf(x) = 0$ implies $f(x) = 0$ or not, but I'm not sure where to start. I don't know much about Riemann integral functions in general. I only know that $$\underline \int_a^b f= \overline \int_a^b f.$$ Also, I know the fact that if $f$ is continuous, then $f(x) = 0$ for all $x\in [a, b]$. Can anyone provide any hints for me, because I'm really confused about this whole thing. Simple Math Problem A bat and ball cost \$1.10.  The bat costs a dollar more then the ball.  How much does the ball cost?  If this is not the correct place to ask a question like this please tell me and I will remove it :)     The ball costs \$0.05, not \$0.10 Is the vector cross product only defined for 3D? Wikipedia introduces the vector product for two vectors $\vec a$ and  $\vec b$ as $$ \vec a \times\vec b=(\| \vec a\| \|\vec b\|\sin\Theta)\vec n $$ It then mentions that $\vec n$ is the vector normal to the plane made by $\vec a$ and  $\vec b$, implying that $\vec a$ and  $\vec b$ are 3D vectors. Wikipedia mentions something about a 7D cross product, but I'm not going to pretend I understand that.  My idea, which remains unconfirmed with any source, is that a cross product can be thought of a vector which is orthogonal to all vectors which you are crossing.  If, and that's a big IF, this is right over all dimensions, we know that for a set of $n-1$ $n$-dimensional vectors, there exists a vector which is orthogonal to all of them.  The magnitude would have something to do with the area/volume/hypervolume/etc. made by the vectors we are crossing.  Am I right to guess that this multidimensional aspect of cross vectors exists or is that last part utter rubbish? Finding the sum of the series $\frac{1}{1!}+\frac{1+2}{2!}+\frac{1+2+3}{3!}+ \ldots$ Deteremine the sum of the series $$\frac{1}{1!}+\frac{1+2}{2!}+\frac{1+2+3}{3!}+ \ldots$$  So I first write down the $n^{th}$ term $a_n=\frac{\frac{n(n+1)}{2}}{n!}=\frac{n+1}{2(n-1)!}$.  So from there I can write the series as $$1+\frac{3}{2}+\frac{4}{2\times 2!}+\ldots +\frac{n+1}{2(n-1)!}+\ldots $$  I am quite sure I can do some sort of term by term integration or differentiation of some standard power series and crack this. Any leads? Package in Java When I place a multipage pdf file into InDesign CC, the pages go outside of my document settings, making this function useless.  What do I have to do to make the placed  pdf pages go within my document settings, which in this case is 11 in. Length X 8.5 in. width, .5 in. margins on all sides, with two columns per page. I would greatly appreciate an answer to this, Thank you. How to show that $\mathbb{Q}$ is not $G_\delta$ For about 2 days I'm trying to configure Ubuntu so that I can send an email, but when I type in:  echo "Subject: sendmail test" | sendmail -v my@email.com   I'll get:  postdrop: warning: unable to look up public/pickup: No such file or directory Mail Delivery Status Report will be mailed to &lt;andreigbr&gt;.   Even if I change my@email with mine, the inbox will be empty. Can somebody help me, please? I watched about 5 tutorial about how to send an email fom the command line but still doesn't work. How to make the BibTeX reference list visible in a LaTeX document Im very new at LaTeX and I would appreciate some help solving this problem. I have created a BibTeX file containing all references to a document. In this text file BibTeX items are inserted and no other text are written, for instance @article{...}. When I call for this bib file from the main.tex file I use the commands:  \bibliographystyle{plain} \bibliography{thebibliography}   Now to my question. All i get when I compile this main.tex is the title (bibliography) for this chapter, otherwise the textfield is blank. Is this error occurring because I should write anything in the bib file or have I missed any lines in the main.tex file. Find the limit $\lim_{n\rightarrow\infty}\sum_{k=1}^{n}\frac{1}{k+n}$ $$\lim_{n\rightarrow\infty}\sum_{k=1}^{n}\frac{1}{k+n}$$  Could you please give me a hint how to find this limit? In the recently launched trailer of Fantastic Beasts: The Crimes of Grindelwald, there are people Apparating inside Hogwarts grounds.                                  As these people later question Professor Dumbledore, it seemed they were Ministry officials.  Have we ever encountered such Apparition before? Or, was this anti-Apparation charm put into place in recent times? Equivalent of "former" and "latter" for more than 2 items Former and latter are valid only when there are two choices.  If I have a list of more than two items, is there an elegant way to say the first one or the last one? show elements of order 15 in $S_8$ satisfy a relation Let $G$ be a group.  Define a relation $\sim$ on $G$ by $a \sim b$ if there exists $g \in G$ such that $a = gbg^{-1}$.  Prove that all elements of order 15 in $S_8$ are related by $\sim$.  I noticed that in order to have order $15$ in $S_8$. We need a $5$ cycle and a $3$ cycle. Then, I am stuck. Can anyone give me some ideas about what to do? Thank you in advance.