Still dealing with fancy tables, now I am trying to get one with multicolumn and multirow cells.  I can get multicolumn cells right, but I am still struggling with multirow ones.  MWE in Beamer:  \documentclass[xcolor={dvipsnames,table}]{beamer}  %%TABLE \usepackage{multirow} \newcommand*{\arraycolor}[1]{\protect\leavevmode\color{#1}} \newcolumntype{A}{&gt;{\columncolor{red!20}}c} \newcolumntype{B}{&gt;{\columncolor{blue!20}}c}  \mode&lt;presentation&gt; {     \usetheme[compress]{Singapore}     \usecolortheme{orchid} }  \begin{document}  \begin{frame}     \sffamily     \arrayrulecolor{white}     \arrayrulewidth=1pt     \renewcommand{\arraystretch}{1}     \rowcolors[\hline]{2}{.!50!White}{}     \resizebox{\linewidth}{!}{%         \begin{tabular}{A|A|A|A|A|B|B|B|A}             \rowcolor{.!50!Black}             \multicolumn{5}{A|}{\arraycolor{White}\bfseries 14 subjects} &amp;             \multicolumn{3}{B|}{\arraycolor{White}\bfseries 10 subjects} &amp;             \multirow{2}{*}{\arraycolor{White}\bfseries Control}\\             \rowcolor{.!50!Black}             \multicolumn{3}{A|}{\arraycolor{White} Surface} &amp;             \multicolumn{2}{A|}{\arraycolor{White} Follicle} &amp;             \multicolumn{3}{B|}{\arraycolor{White} Surface} &amp; \\             No les &amp; Non-inf &amp; Inf &amp; Non-inf &amp; Inf &amp; Cheek &amp; Fh &amp; Nose &amp; Mock\\         \end{tabular}     }% \end{frame}   \end{document}   I need to make the "Control" cell span 2 rows properly, is it possible? Thanks!   EDIT!  I looked at the answers in the , but I still do not seem to get it right... I feel like it is almost there though.  Please check my updated MWE below:  \documentclass[xcolor={dvipsnames,table}]{beamer}  %%TABLE \usepackage{makecell, multirow} \renewcommand\theadfont{\arraycolor{White}\bfseries}  \newcommand*{\arraycolor}[1]{\protect\leavevmode\color{#1}} \newcolumntype{A}{&gt;{\columncolor{red!20}}c} \newcolumntype{B}{&gt;{\columncolor{blue!20}}c}  \mode&lt;presentation&gt; {     \usetheme[compress]{Singapore}     \usecolortheme{orchid} }  \begin{document}  \begin{frame}     \sffamily     \arrayrulecolor{white}     \arrayrulewidth=1pt     \renewcommand{\arraystretch}{1}     \rowcolors[\hline]{2}{.!50!White}{}     \resizebox{\linewidth}{!}{%         \begin{tabular}{A|A|A|A|A|B|B|B|A}             \rowcolor{.!50!Black}             \multicolumn{5}{A|}{\arraycolor{White}\bfseries 14 subjects} &amp;             \multicolumn{3}{B|}{\arraycolor{White}\bfseries 10 subjects} &amp; \\             \rowcolor{.!50!Black}             \multicolumn{3}{A|}{\arraycolor{White} Surface} &amp;             \multicolumn{2}{A|}{\arraycolor{White} Follicle} &amp;             \multicolumn{3}{B|}{\arraycolor{White} Surface} &amp;             \multirow{-2}{*}{\thead{Control}}\\             No les &amp; Non-inf &amp; Inf &amp; Non-inf &amp; Inf &amp; Cheek &amp; Fh &amp; Nose &amp; Mock\\         \end{tabular}     }% \end{frame}   \end{document}   Which produces:
The following example works as expected:  \documentclass{article} \usepackage[table]{xcolor} \usepackage{makecell, multirow}     \renewcommand\theadfont{\normalsize\bfseries\color{white}}     \renewcommand{\theadgape}{} \usepackage{hhline}  \begin{document} \centering     \setlength\arrayrulewidth{2pt}     \arrayrulecolor{yellow}     \def\clinecolor{\hhline{&gt;{\arrayrulecolor{yellow}}--%                             &gt;{\arrayrulecolor{gray}}-}}     \setlength\extrarowheight{2pt} \begin{tabular}{ c | c | c }%     \rowcolor{gray} \multicolumn{2}{c|}{\thead{AAA -- BBBB}}    &amp;                                   \\     \clinecolor     \rowcolor{gray} \color{white} AAA   &amp;   \color{white} BBB   &amp;   \multirow{-2}{*}{\thead{CCC}}   \\     \hhline{&gt;{\arrayrulecolor{yellow}}-|-|-}     \rowcolor{gray!25} aaa                 &amp;   bbb                 &amp;   ccc                             \\     \hline     \rowcolor{gray!25} ddd             &amp;   eee                 &amp;   fff     \end{tabular} \end{document}     But the following not:  \documentclass[xcolor=table]{beamer} \usepackage{makecell, multirow}     \renewcommand\theadfont{\normalsize\bfseries\color{white}}     \renewcommand{\theadgape}{} \usepackage{hhline}  \begin{document} \begin{frame} \frametitle{test} \centering     \setlength\arrayrulewidth{2pt}     \arrayrulecolor{yellow}     \def\clinecolor{\hhline{&gt;{\arrayrulecolor{yellow}}--%                             &gt;{\arrayrulecolor{gray}}-}}     \setlength\extrarowheight{2pt} \begin{tabular}{ c | c | c }%     \rowcolor{gray} \multicolumn{2}{c|}{\thead{AAA -- BBBB}}    &amp;                                   \\     \clinecolor     \rowcolor{gray} \color{white} AAA   &amp;   \color{white} BBB   &amp;   \multirow{-2}{*}{\thead{CCC}}   \\     \hhline{&gt;{\arrayrulecolor{yellow}}-|-|-}     \rowcolor{gray!25} aaa                 &amp;   bbb                 &amp;   ccc                             \\     \hline     \rowcolor{gray!25} ddd             &amp;   eee                 &amp;   fff                             \\     \hhline{|-|-|-|}     \end{tabular} \end{frame} \end{document}     Why are the in beamer rules so strangely misplaced? Is there some workaround?
St. Matthew's vs. St. Matthew So I came across this exercise: Show that if $Y$ is path-connected then the set of homotopy classes $[I,Y]$ of maps of $I=[0,1]$ into Y has a single point.   But I am confused here. If $Y=S^1$ then not all loops are homotopic! I mean, isn't true that $\pi_1(Y)\subset [I,Y]$? Or maybe I don't understand the set $[I,Y]$ well! Is there some rare language construct I haven't encountered (like the few I've learned recently, some on Stack Overflow) in C# to get a value representing the current iteration of a foreach loop?  For instance, I currently do something like this depending on the circumstances:  int i = 0; foreach (Object o in collection) {     // ...     i++; } In ArcGIS there is a Erase Point tool how can this be done in R $f(x)=x^3$ is convex nor concave without to derivate I want to subscribe to the newsletter on my work email address but still have everything else go to my normal SO email account. I don't have a way to set up a forwarding filter from my normal email account.  Any way I can do this? Proving the so-called "Well Ordering Principle" Is there a UNIX command to list all recently removed files from a system Accidentally a rm -rf command was launched to my root directory instead of current directory. I stopped file removing by Ctrl+C but some files has already been removed. Is there a LINUX command to list all recently removed files from the system to get the affected applications ?  Operating System: CentOS 6.3 Can I boot a Live USB fully to RAM, allowing me to remove the disk? I have a live USB made with the standard Ubuntu disk image creator for 16.04 LTS. In the current state, I can boot to this disk, but it still requires the original USB to run properly at all times.  Attempting to pull the drive and use the system generates a large amount of I/O errors, further suggesting that the USB drive is actually needed for things not already loaded into RAM (For example, Firefox worked without the USB, but I used it once before already. apt, on the other hand, did not.)  Is there a way to copy the entire Ubuntu live disk to RAM, so I can remove the drive and free up a USB slot for other things? Sum of the series:$\frac{1}{1\cdot 2}+\frac{1\cdot3}{1\cdot2\cdot3\cdot4}+\cdots$ I have a question where i couldn't find any clue. The question is  $$\frac{1}{1\cdot 2}+\frac{1\cdot3}{1\cdot2\cdot3\cdot4}+\frac{1\cdot3\cdot5}{1\cdot2\cdot3\cdot4\cdot5\cdot6}+\cdots$$  I could get the general term as $t_n=\frac{1\cdot3\cdot5\cdot7\cdots(2n-1)}{1\cdot2\cdot3\cdot4\cdot5\cdot6\cdots2n}$  I have also tried it to form the sequence in the telescopic form.But couldn't get. Any hint will be appreciated. What is the best word describing the nature of expiring in a short amount of time, connoting "losing public attention"? I am trying to compute this integral/limit, I don't feel like I have any good insight...   $$\lim_{n \to \infty} \int_0^{n^2} e^{-x^2}n\sin\frac{x}{n} \, dx.$$  I have tried to make a change of variable to get rid of the $n^2$, I changed to $X=\frac{x}{n^2}$ but got something even worse, I've tried to reach a situation where I could use a convergence theorem for Lebesgue Integrals,... I'm not sure I'm even on the right track!  Could you give me a hint on how to start this?  Thank you very much! Testing whether two regression coefficients are significantly different (in R ideally) If this is a duplicate question, please point to the right way, but the similar questions I've found here haven't been sufficiently similar. Suppose I estimate the model $$Y=\alpha + \beta X + u$$  and find that $\beta&gt;0$. However, it turns out that $X=X_1+X_2$, and I suspect $\partial Y/\partial X_1 \ne \partial Y / \partial X_2$, and in particular, that $\partial Y/\partial X_1 &gt; \partial Y / \partial X_2$. So I estimate the model $$Y=\alpha + \beta_1 X_1 + \beta_2 X_2 +u$$and find significant evidence for $\beta_1,\beta_2&gt;0$. How can I then test whether $\beta_1&gt; \beta_2$? I considered running another regression $$Y=\alpha +\gamma(X_1 - X_2) + u$$ And testing whether $\gamma&gt;0$. Is this the best way?  Also, I need to generalize the answer to many variables, i.e. suppose we have $$Y=\alpha + \beta^1 X^1 + \beta ^2 X^2 + \dots + \beta^nX^n + u$$ where for each $j=1,\dots,n$, $X^j=X_1^j+X_2^j$, and I would like to test for each $j$ whether $\partial Y/\partial X_1^j \ne \partial Y / \partial X_2^j$.  By the way, I am primarily working in R. Is there a Term to describe the relationship between two people when they share an Alma Mater?  For example; Neil Armstrong is an alumnus of Purdue University. I am an alumnus of Purdue University. Both Neil and I are alumni of Purdue University, which is to say we share an alma mater. So, I'm looking for a term to describe my relationship to to Neil with out needing to explicitly reference the university. Is co-alumni a real term? Is it appropriate to say that Neil and I are co-alumni? Is there something better? Further, is there a way to specifically describe the relationship between two people from the same graduating class?  Thank You in advance! Date & time format in Krusader - is it changeable at all? Using Ubuntu 16.04. I like Krusader, but can't figure out how it is possible to change date/time format for the Modified column. I truied to change system regional settings, but Krusader ignores them (while, e.g., Midnight Commander uses system settings). Switching application language (in Help menu) also does not affect the date/time format. I like the 24-hour format, not PM/AM, and I may prefer even to hide time, and leave only date. Is that possible in Krusader?  The other post is of no help, as there is no even such file in mys systems as ~/.kde/env/setlocale.sh Nth max salary in Oracle I'm considering the ring $\mathbb{Z}[\sqrt{-n}]$, where $n\ge 3$ and square free. I want to see why it's not a UFD.   I defined a norm for the ring by $|a+b\sqrt{-n}|=a^2+nb^2$. Using this I was able to show that $2$, $\sqrt{-n}$ and $1+\sqrt{-n}$ are all irreducible. Is there someway to conclude that $\mathbb{Z}[\sqrt{-n}]$ is not a UFD based on this? Thanks. What do (lambda) function closures capture? I have just bought a new bike and had it about a month now. I don't really know much about bikes but I do know how to repair an inner tube.  I have had one puncture and just bought a new inner tube. It worked for a few days and then went down again so this time I got a puncture repair kit. I took the inner tube out to check for any punctures and found nothing. I put it in water and pumped it up and there were no bubbles. I went around the entire tube pushing it next to my ear and heard nothing. I checked the tire to see if anything was wrong - there was nothing that I could see.   So I put it all back together and took it for a ride and got about half a mile and the tire was flat. I pumped it up and got about another half a mile and it was flat again.  Do you have any suggestions for me? Computing the Lie bracket on the Lie group $GL(n, \mathbb{R})$ Consider the Lie group $GL(n, \mathbb{R})$. Since $GL(n, \mathbb{R})$ is an open subset of the space $M_{n,n}(\mathbb{R})$ of $n \times n$ matrices, we can identify the tangent space (Lie algebra) $T_{e}GL(n, \mathbb{R})$ with $M_{n,n}(\mathbb{R})$, where $e$ is the identity matrix. I'm trying to understand the following:  For all $x, y \in M_{n,n}(\mathbb{R}) = T_{Id}GL(n, \mathbb{R})$ we have $[x, y] = xy -yx$ where $[\cdot, \cdot]$ is the Lie algebra bracket.  According to the question , this seems to be the case for matrix Lie groups in general.  So far, I've worked out the following: Let $x \in M_{n,n}(\mathbb{R}) = T_{Id}GL(n, \mathbb{R})$ and let $X \in \Gamma^{inv}(TG)$ be the left invariant vector field corresponding to $x$, i.e. with $X(e) = x$. By openness, we can choose $\epsilon &gt; 0$ such that the curve $(-\epsilon, \epsilon) \ni t \mapsto e + tx$ through the identity is contained in $GL(n, \mathbb{R})$. For $g \in GL(n, \mathbb{R})$ let $L_g$ be the left multiplication by $g$ in $GL(n, \mathbb{R})$. Using left invariance of $X$ calculate: $$X(g) = ((L_g)_{*}X)(g) = D_eL_g(X(e)) = D_eL_g(x) = \frac{d}{dt}|_{t=0}g(e+tx) = gx$$ Now, the above implies for $f \in C^{\infty}(GL(n, \mathbb{R}))$ and $g \in GL(n, \mathbb{R})$: $$X(g)(f) = (D_gf)(gx)$$ where we identify the tangent vector $X(g)$ with the corresponding derivation at $g$.  Now how do I calculate $[x,y] \stackrel{def.}{=} [X, Y](e) \stackrel{\text{WHY?}}{=}xy-yx$ from this?