Does anybody know, how I can allign 16 images like a grid with 4 columns and 4 rows?   \begin{figure} \begin{tabular}{cccc} \subfloat[0,1 s]{\includegraphics[width = 1.5in]{25.gif}}&amp; \subfloat[25 s]{\includegraphics[width = 1.5in]{26.gif}}&amp; \subfloat[750 s]{\includegraphics[width = 1.5in]{27.gif}}&amp; \subfloat[1618,55 s]{\includegraphics[width = 1.5in]{28.gif}}\\ \subfloat[0,1 s]{\includegraphics[width = 1.5in]{29.gif}}&amp; \subfloat[25 s]{\includegraphics[width = 1.5in]{30.gif}}&amp; \subfloat[750 s]{\includegraphics[width = 1.5in]{31.gif}}&amp; \subfloat[1618,55 s]{\includegraphics[width = 1.5in]{32.gif}}\\ \subfloat[0,1 s]{\includegraphics[width = 1.5in]{33.gif}}&amp; \subfloat[25 s]{\includegraphics[width = 1.5in]{34.gif}}&amp; \subfloat[750 s]{\includegraphics[width = 1.5in]{35.gif}}&amp; \subfloat[1618,55 s]{\includegraphics[width = 1.5in]{36.gif}}\\ \subfloat[0,1 s]{\includegraphics[width = 1.5in]{37.gif}}&amp; \subfloat[25 s]{\includegraphics[width = 1.5in]{38.gif}}&amp; \subfloat[750 s]{\includegraphics[width = 1.5in]{39.gif}}&amp; \subfloat[1618,55]{\includegraphics[width = 1.5in]{40.gif}}\\ \subfloat[0,1 s]{\includegraphics[width = 1.5in]{41.gif}}&amp; \subfloat[25 s]{\includegraphics[width = 1.5in]{42.gif}}&amp; \subfloat[750 s]{\includegraphics[width = 1.5in]{43.gif}}&amp; \subfloat[1618,55 s]{\includegraphics[width = 1.5in]{44.gif}}&amp; \end{tabular} \caption{4 x 5} \end{figure}
I have a simple question but I am not sure on how to proceed. I would like to put 10 figures on the same page: a grid of 5 rows and 2 columns.  What should I type in order to have the figure inserted like this and with equal alignement/size ? Eventually with custom captions... ;)
Its very easy to prove $p\mid n^p-n$ for p=3,5,7, it fails for p=9 because $$     (n+1)^9-(n+1)= n^9+9n^8+36n^7+84n^6+126n^5+126n^4+84      n^3+36n^2+8n $$ and $84= 2²\times 3\times7$. Is it true for any $p$ prime? I have checked many primes, but have no idea for the general case. What does it mean if a Python object is "subscriptable" or not? Which types of objects fall into the domain of "subscriptable"? Salutation for two doctors (not married) When typing &lt; or &gt; in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode. What does "$$" mean in the shell? How can I configure the Ubuntu Dock to show windows only from the current workspace? I would like my Dock to show only the windows of the current workspace. Especially in the little preview window. I find it very confusing to jump around workspaces when trying to find the right window. CSH - How to check if input is NOT number Need to apply it on csh.  to check if the inputted $2 is not number nor the word "all"  if ($#argv == 2 &amp;&amp; ($2 != all &amp;&amp; $2 != **any number**)) then    echo "wrong parameter" Force JSF to process, validate and update readonly/disabled input components anyway Interface vs Abstract Class (general OO) I installed Windows 7, which ate Ubuntu's boot file. When starting up the computer, it now goes straight to Windows, without giving me the option of booting Ubuntu.   How can I get Ubuntu back? Essentially, all is in the title: Is it possible to compute the integral $$\int_1^{+ \infty} \frac{dx}{x^2(1+e^x)} \hspace{1cm} ?$$  I suspected some relation with a , but I was not able to find something explicit. Implement ```-style (fenced) Markdown code blocks Currently, Stack Exchange’s Markdown parser only allows four-space indents to represent code blocks:      // some code     // another line of code    and other Markdown implementations allow for an alternative syntax, that doesn’t require indenting each code line:  ``` // some code // another line of code ```   This is much more convenient to type out. It would be super useful if Stack Exchange could support this syntax.    By extension, this syntax also allow you to specify the source language right after the opening ```:  ```js // some code // another line of code ```   …which would then enable syntax highlighting for that specific language. Although it’s interesting metadata, I don’t think this feature is needed on Stack Overflow, as the syntax highlighting library works pretty well for various languages.  So, even if you would allow this syntax but ignore the ```language, this would greatly improve my productivity on Stack Exchange.  What do you think?  The moderators are currently collecting feedback regarding this feature, so please post a comment with your thoughts. Good idea? Bad idea? Don’t really care? What do you think are the benefits/drawbacks? Experiences? Let them know! Thanks! Is it possible to have a monoid with a proper class as the collection of elements? My question if it possible for us to have, for example, a monoid(any algebraic structure really) with a class as the collection of the elements, instead of a set.  An example would be the class of sets and set union as addition. Clearly, it is closed under the operation, is associative and it has an identity element, so it is a monoid. Is it possible to say so? Got 2,919 PB/s in Ubuntu Terminal I have problem (seems to be trivia) about Ubuntu Terminal. Once my network connection slow down then it (sometimes but very rare to happened) showed some information like this.     I shocked because I have been got 2,919 PB/s. Sorry my mouse block some part of letter 'P' (I actually rush to print screen) but I believe you can recognize it.    EDIT    based on answer given to me, and I got similar info then, I'd like to add more clearly new image after.    Can someone explain it to me?  Best Regards! How can we sum up $\sin$ and $\cos$ series when the angles are in arithmetic progression? How can we sum up $\sin$ and $\cos$ series when the angles are in arithmetic progression? For example here is the sum of $\cos$ series:  $$\sum_{k=0}^{n-1}\cos (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \cos \biggl( \frac{ 2 a + (n-1)\cdot d}{2}\biggr)$$  There is a slight difference in case of $\sin$, which is: $$\sum_{k=0}^{n-1}\sin (a+k \cdot d) =\frac{\sin(n \times \frac{d}{2})}{\sin ( \frac{d}{2} )} \times \sin\biggl( \frac{2  a + (n-1)\cdot d}{2}\biggr)$$   How do we prove the above two identities? Drawing Day and Night on a Google Map I'm looking to plot day/night on a Google map, for an arbitrary point in time. I'm familiar with generating map tiles; I'm just looking for an algorithm to tell me whether a particular point on the globe is currently in daylight or darkness, or to otherwise plot the curve of the day/night interface onto the map.  I've done some searching, but it's possible I don't even know enough about the problem domain here to know what terms to search for!  Any ideas? Doesn't have to be perfect -- basically, I'm comparing Flickr geolocation data of sunrise and sunset photos (and their "date taken" timestamps) with reality, and this is to help me visualise it. Getting an error that a flow "was" activate and cannot be overwritten Is there a way to make rigid body interact with softbody physics? I'm trying to have a surface with soft body hold obects that are falling on it with rigid body physics, but for some reason, no what matter what mass I give it, the objects just fall trough the softbody enabled surface.  Is there a toggle or a value I need to change to make them stay there? Can you play a Progress Card even when you get nothing from it? If I have a Progress Card for which initial preconditions do not hold, will I still be able to use it in order to discard it back to the pile? The goal is to prevent a spy from stealing it.  A few examples:   I am leading in victory points but I want to use Wedding card. I have Irrigation but I don't have any wheat hexagons. I have Blacksmith but I don't have any ore hexagons. I’m writing a document in the latex and it contains some BNF grammar noations in several places of the documents. (I used verbatim package in order to write these BNF grammar notations)  Now I want to add a new section to the document that shows name of all grammar notation and their page numbers. This should be similar to “List of Figures” page.  I’m new to Latex and your help will be very helpful for me.  Thanks