1

I have two problems on one slide. This is an example:

\documentclass{beamer}

\usepackage{graphicx}
\usepackage{tabulary}
\usepackage{colortbl}
\usepackage{multirow}
\usepackage{xcolor}
\usepackage{setspace}

% DEFINE COLORS
\xdefinecolor{lGrey}{RGB}{238,238,238}
\xdefinecolor{dGrey}{RGB}{64,64,64}
\xdefinecolor{myRed}{RGB}{164,30,55}

\title{Example}
\author{PM}
\date{\today}

\begin{document}

\frame{\titlepage}

\frame
{
    \frametitle{Title}
    \begin{center}
    {\scriptsize{
    \begin{tabular}{>{\columncolor{myRed}}ccc}
        \rowcolor{myRed}
            & \color{lGrey} Metaphor & \color{lGrey} Instrument \\
            \cellcolor{myRed} & Something, & Something else \\
            \cellcolor{myRed}\multirow{-2}{*}{\color{lGrey} My stuff}
                & And more & (and paper and pen) \\
            \cellcolor{myRed} & Hand & Leg, \\
            \cellcolor{myRed}\multirow{-2}{*}{\color{lGrey} Other stuffs}
                & thoughts & data \\
    \end{tabular}
    }}
\end{center}
}

\end{document}

The problem is that I am getting ugly stripes for multirow cells: they should be red, but between one can see white line. How can I eliminate this?

Another issue, if I may, is that table is not really centered. It is more to the right.

closed as off-topic by egreg, Joseph Wright Feb 6 '16 at 21:16

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to TeX.SX! Could you add an entire Minimal Working Example (MWE) starting with \documentclass{} and ending with \end{document}, in order for us to have the definition of your colors and so on? – Ludovic C. Sep 10 '13 at 10:12
  • possible duplicate of Coloring columns in a table with colortbl and booktabs – YuppieNetworking Sep 10 '13 at 10:58
  • For the wrong centering, remove the braces { before and after \scriptsize and also the }} before \end{center}. – egreg Sep 10 '13 at 11:02
  • Does tex.stackexchange.com/q/65231/15925 help with eliminating the white lines? – Andrew Swann Sep 10 '13 at 15:04
  • 1
    I'm voting to close this question as off-topic because the white stripes are just a problem with some PDF viewers and pixel rounding – egreg Feb 6 '16 at 21:15

Browse other questions tagged or ask your own question.