I want to make an environment for my tables. See the following example:  \documentclass[a4paper,10pt]{scrartcl}  \usepackage{longtable} \usepackage{booktabs}           % \toprule, \bottomrule \usepackage{tabu}  \begin{document}    \newenvironment{kpTable}   {     \begin{longtabu}{X[1,c] X[1,c]}         \toprule \rowfont{\bfseries}         Foo &amp; Bar\\         \midrule         \everyrow{\tabucline[on 3 pt off 3pt]-}   }   {         \everyrow{}\\         \bottomrule         \caption{}  % ERROR: Missing number, treated as zero.     \end{longtabu}   }    \begin{kpTable}     1 &amp; 2 \\     1 &amp; 2 \\     1 &amp; 2   \end{kpTable}  \end{document}     The caption statement generates the error: "Missing number, treated as zero.  \tabu@0.H6"  How can I fix?
I'm trying to include a tabu inside a new definition of an environment but it fails if the postamble (enddef) of the new environment includes tabu's contents, so cells. With tabular or tabular* works. The error is:   ! Missing number, treated as zero. \tabu@0.H5   The MWE:  \documentclass{article} \usepackage{tabu} \newenvironment{testt} {\begin{tabu} to \textwidth{cccc}  11 &amp; 12 &amp; 13 &amp; 14 \\  21 &amp; 22 &amp; 23 &amp; 24 \\} {  41 &amp; 42 &amp; 43 &amp; 44 \end{tabu} }  \begin{document}  \begin{testt}  31 &amp; 32 &amp; 33 &amp; 34 \\ \end{testt} \end{document}   How to solve this?
Why can't I press the Install button when installing applications from unknown sources? function customization_form_user_register_form_alter(&amp;$form, &amp;$form_state, $form_id) {  $form['account']['pass']['#attributes']['placeholder'] = t('Password'); }   I am trying to set placeholder on password field in registration form.  I seted placeholder on username and email, but on password field won't work...  Any help? Thank you! Bash One Liner: copy template_*.txt to foo_*.txt? Say I have three files (template_*.txt):   template_x.txt template_y.txt template_z.txt   I want to copy them to three new files (foo_*.txt).    foo_x.txt  foo_y.txt  foo_z.txt   Is there some simple way to do that with one command, e.g.   cp --enableAwesomeness template_*.txt foo_*.txt Integer coefficient polynomial $p(x)$ has no integer roots of $\,p(0)$ and $p(1)$ are odd [Parity Root Test] This came up an a training piece for the Putnam Competition and also in Ireland and Rosen.  The question posed was basically:  Let $p(x)$ be a polynomial with integer coefficients satisfying that $p(0)$ and $p(1)$ are odd. Show that $p$ has no integer zeros.  I&amp;R give an example:  $p(x) = x^2 - 117x + 31$  and show (no problem) that for any $n$ whether even or odd, $p(n)$ will be odd. And claim that this shows $p(n)$ will never be $0$.  I can see, e.g., that $x^2 + 2x + 1$ will be odd substituting an even $n$ and even for an odd $n$.   But would appreciate help in understanding the underlying math and what is happening here.  Also, as a second part, can a general statement about the existence of an integer solution be made if $n$, even and odd, generates an even and an odd as in the last example.  I can see that if you look at these equations (mod $2$), you can distinguish whether there is an integer solution. And I would guess this is intimately connected with the question.  Thanks as always. How to understand linux versioning I need to understand the Linux versioning system and distribution concepts. what are public, stable or final terms for versions? Is there a word for capitalizing in the middle of a word, as in "eBay"? Usually this sort of word is a trademarked name, such as eBay or BlackBerry.  Is there a word that describes capitalization mid-word? Counterexample to Leibniz criterion for alternating series I have this statement and I need to say if it is true or false:  Let $\{a_n\}$ be a real sequence.  $$\lim_{n\to +\infty} a_n = 0 \quad \implies \quad \sum_{n=1}^{\infty}(-1)^na_n \quad \text{converges}$$  I know, from the Leibniz criterion that:     If $a_n \to 0$, $a_n$ is decreasing and positive then $\sum_{n=1}^{\infty}(-1)^na_n$ converges   From this fact I believe that the statement is false but I couldn't come up with an infinitesimal sequence that isn't decreasing and for that reason is divergent. I tried some function with $sin(\frac{1}{n})$ without any luck. Any help would be very appreciated, thank you! I am Indian passport holder living in Hungary for 4 years and I have been issued a Temporary residence permit (EU Schengen).  Can I go to visit Dublin without any visa, or do I need to apply for a UK visa? I know Ireland still in Schengen but part of United Kingdom. Whenever I access Stack Exchange the tab appears busy I am looking for various ways of explaining to my students (in an elementary statistics course) what is a two tailed test, and how its P value is calculated.  How do you explain to your students the two- vs one- tailed test? We get a lot of questions on Super User about Windows activation and licensing. This question is an attempt to answer the most common questions in one place with a .   When reinstalling Windows, the following questions often come up:   Can I transfer the copy of Windows from my old computer to a new one? Does the license key on the sticker on my computer work on any computer? If I have a 32-bit version, can I install a 64-bit version? I have an OEM version of Windows, but only a retail disk. Can I still use it? I want to install Windows with a different language. Do I need a new license in that language? I changed some hardware. Will I be able to reactivate my computer? Can I back up my activation before doing a reinstall? How many computers can I install my license on? Do I have to deactivate my old installation before transferring a license? If so, how? How does licensing work in Windows ? What are the restrictions on transferring, reinstalling, and changing versions of Windows? Why is shape with shrinkwrap modifier flat? product of two uniformly continuous functions is uniformly continuous Suppose that $f$ and $g$ are uniformly continuous functions defined on $(a,b)$. Prove that $fg$ is also uniformly continuous on $(a,b)$.   My attempt: Since $f$ is uniformly continuous on $(a,b)$, for all $\epsilon&gt;0$, we have $\delta_f(\epsilon)&gt;0$ such that for all $x,y \in (a,b)$, $|x-y|&lt;\delta_f$, $|f(x)-f(y)|&lt;\epsilon$  Since $g$ is uniformly continuous on $(a,b)$, for all $\epsilon&gt;0$, we have $\delta_g(\epsilon)&gt;0$ such that for all $x,y \in (a,b)$, $|x-y|&lt;\delta_g$, $|g(x)-g(y)|&lt;\epsilon$  Notice that $$|f(x)g(x)-f(y)g(y)|=|f(x)g(x)-f(x)g(y)+f(x)g(y)-f(y)g(y)| \leq |f(x)||g(x)-g(y)| + |g(y)||f(x)-f(y)|$$  Here I don't know how to bound $|f(x)|$ and $|g(y)|$. I have proven that uniformly continuous functions preserve boundedness of an interval , i.e. $f$ is bounded on $(a,b)$. Can anyone help me? I know it might be too easy for you guys here. I'm practicing some problems in the textbook, but this one really drove me crazy. From $\gcd( a, b ) = 1$, I have $ax + by = 1$, where should I go from here? The extra $ac$ is so annoying. Any hint?    Thanks, Chan How should we understand the teletransportation thought experiment? Bash scripts ran from from gnome/nautilus don't have environment variables Other ways to say "I have a bad hunch" I'm looking for ways to say "I'm having a bad hunch", or more like a bad feeling about something upcoming. The gut-wrenching feeling that something bad will happen. In doing instanton problems or when connecting quantum field theory to statistical mechanics, I often see people trying the Wick rotation trick by defining an imaginary time $\tau\equiv it$. So, in this case, we should make sure that $\tau$ is imaginary, right? However, I often see places where people seem to handle $\tau$ as a real number, for example setting $\tau$ to $\pm\infty$. Moreover, I remember in one of my quantum mechanics classes, the professor said the Euclidean time $\tau$ was real. I am so confused and need some good explanations. If two coins are flipped and one gets head, what is the probability that both get head? Change array key without changing order