Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have table with pictures but I am not happy with their location in a table cell. I would like to insert small gap between blue row and pictures, but I have no idea how to do it. My code:

\begin{sidewaystable}[h!]
  \centering
   \setlength{\tabcolsep}{5pt}
   \begin{tabular}{|p{3cm}||p{4cm}|p{4cm}|p{4cm}|p{4cm}|}
     \hline
     \rowcolor{CornflowerBlue}{EJ}                   & {\textbf{471}}                  & {\textbf{575}}    & {\textbf{671}}                                                   &  {\textbf{675}}    \\
     \hline
       Foto Photo                                    & \EJ{471}                        & \EJ{575}          & \EJ{671}                                                         & \EJ{675}           \\[2mm] 
     \hline\hline 
       Pulzní usměrňovač (4Q)                        & FZ1200R33KL2C\_B5, MBN1200H33D  & FZ1500R33HE3      & MBN1500E33E2\tablefootnote{1. až 6. sada}, FZ1500R33HE3\tablefootnote{7. až 10. sada}      & FZ1500R33HE3       \\
     \hline
       Trakční střídač                               & FZ1200R33KL2C\_B5, MBN1200H33D  & FZ1500R33HE3      & MBN1200H33D\tablefootnote{1. až 6. sada}, FZ1200R33KL2C\_B5\tablefootnote{7. až 10. sada}   & FZ1200R33KL2C\_B5  \\
     \hline
       Primární měnič pomocných pohonů               & FZ1200R33KL2C\_B5, MBN1200H33D  & FZ1500R33HE3      & CM600HG-90H                                                      & FZ1200R33KL2C\_B5  \\
     \hline 
       Pulzní měnič odporové brzdy                   & FZ1200R33KL2C\_B5, MBN1200H33D  & FZ1500R33HE3      & CM600HG-90H                                                      & FZ1200R33KL2C\_B5  \\   
     \hline         
  \end{tabular}
  \caption{Přehled typů IGBT modulů ve výzbrojích elektrických jednotek.}
  \label{A7660C1:konfig_prehled2}
\end{sidewaystable}     

Pictures I put into a table using the command:

\newcommand{\EJ}[1]{\includegraphics[scale=0.150]{EJ_#1.jpg}}

The table looks like this my table

Sorry for the Czech in the table, perhaps it's okay

Thanks - I do not understand why the image does not appear here?

share|improve this question
Insert a \vspace{5pt} before the \EJ{...} (or in the definition). – Ulrike Fischer Aug 22 '12 at 8:52
Thanks, do you know how to insert illustrative picture into my question? Must be specified image size? – jafan Aug 22 '12 at 9:59
? You have inserted an image. But here some informations: meta.stackoverflow.com/questions/75491/…. Beside this: it is more important to insert code that compiles than an image (so that others can test solutions). You can replace graphics with \rule{width}{height} or use the option demo of the graphicx package. – Ulrike Fischer Aug 22 '12 at 10:33
Using \vspace{5pt} before the \EJ{...} is best way how to do it. Thanks! – jafan Aug 22 '12 at 14:26

closed as too localized by Torbjørn T., egreg, Qrrbrbirlbel, Heiko Oberdiek, percusse Oct 6 '12 at 23:41

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.