1

enter image description here

Dear all, I badly need a help with this table. This is my first table in LaTeX and I sat about one day to manage it but now at the point I cant cope with it in a short time. Here's what i tried to do

\begin{table}
  \centering\tlstyle
  \begin{threeparttable}
    \begin{tabular}{ |l|cc|cc|cc|cc|r| }
\hline
Metal&\multicolumn{4}{|c|}{Voltage, experiment   (V)} & Voltage, calculated (V)\\ \hline
Cu & 0.64-0.68 & (1,5,f) & 0.44 & (1,6,f) & 0.8 & (2,4,b) & 0.8 & (1,4,7,d) & 0.81\\ \hline
\end{tabular}
    \begin{tablenotes}
      \item\label{tnote:bridge-1}That is, $360^\circ$ vision, as proposed by Noddy Norris.
      \item\label{tnote:bridge-2}As recommended by \emph{Robot Review}.
      \item\label{tnote:bridge-3}That is, X-Ray vision, as proposed by \emph{Mechanical Maniacs}.
    \end{tablenotes}
  \end{threeparttable}
  \caption{\label{tab:bridge}Total values of Jim's technological options for robot projects he thinks possible.}
\end{table}
\begin{tabular}{ |l|l|l| }

closed as too broad by Dr. Manuel Kuehner, Troy, Maarten Dhondt, Mico, Thomas F. Sturm Jul 25 '17 at 7:07

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to TeX.Stackexchange! If you show us what you managed to put together in this one day you worked on it, I'm sure we will be able to complete it. – user36296 Jul 17 '17 at 15:59
  • Welcome to TeX.SX! We are not a do-it-for-me-service. If it's that urgent you can also try to make it in Word/LibreOffice/OpenOffice and use an online converter or try an online LaTeX table editor. – TeXnician Jul 17 '17 at 16:00
  • 2
    Welcome to TeX.SX! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – CarLaTeX Jul 17 '17 at 16:29
  • 1
    If you are in such a hurry, then I would recommend that you generate the table using Microsoft Excel or any similar software. Export it as a PDF or any other appropriate format (PNG for example) and then include it with \includegraphics and so on. – Dr. Manuel Kuehner Jul 17 '17 at 17:41
  • 3
    We don't want your whole document, no. But nobody can compile your code as is. They have to add a class and then figure out which packages you might be using. A lot of the commands in your code are not part of standard LaTeX. Without their definitions (or the packages which define them) nobody can reproduce the problem. – cfr Jul 17 '17 at 18:58
2

Not the best looking table, but changing \multicolumn{4}{|c|}{Voltage, experiment (V)} to \multicolumn{8}{|c|}{Voltage, experiment (V)} solved most of the problems in your code.

Furthermore, to get linebreaks in Voltage, calculated (V), you could use a column of fixed with.


If you have some time, please have a look at https://www.inf.ethz.ch/personal/markusp/teaching/guides/guide-tables.pdf

\documentclass{article}

\usepackage{threeparttable}

\begin{document}

\begin{table}
  \caption{\label{tab:bridge}Total values of Jim's technological options for robot projects he thinks possible.}
  \centering
  \begin{threeparttable}
    \begin{tabular}{ |l|cc|cc|cc|cc|p{1.6cm}| }
            \hline
            Metal&\multicolumn{8}{|c|}{Voltage, experiment (V)} & Voltage, calculated (V)\\ \hline
            Cu & 0.64-0.68 & (1,5,f) & 0.44 & (1,6,f) & 0.8 & (2,4,b) & 0.8 & (1,4,7,d) & 0.81\\ 
            & 1.0-1.5 & (1,4,8,d) & 1.0-1.5 & (1,4,f) &&&&&\\
            \hline
            Cu & 0.64-0.68 & (1,5,f) & 0.44 & (1,6,f) & 0.8 & (2,4,b) & 0.8 & (1,4,7,d) & 0.81\\ 
            & 1.0-1.5 & (1,4,8,d) & 1.0-1.5 & (1,4,f) &&&&&\\           
            \hline
        \end{tabular}
    \begin{tablenotes}
      \item[1] That is, $360^\circ$ vision, as proposed by Noddy Norris.
      \item[2] As recommended by \emph{Robot Review}.
      \item[3] That is, X-Ray vision, as proposed by \emph{Mechanical Maniacs}.
    \end{tablenotes}
  \end{threeparttable}
\end{table}

\end{document}

enter image description here

  • My heartfull thnx. – Make Jul 17 '17 at 18:04
  • @Make You're welcome! Can you please undo your last edit to your question? if you suddenly start talking about goalkeepers nobody will ever be able to understand it. – user36296 Jul 17 '17 at 18:06
  • :)) OK. Thnk u for the link – Make Jul 17 '17 at 18:07
  • 1
    @Make As you can see from my screenshot, I get connected lines. If you get another result, please make a questions with a MWE that demonstrates the problem. We cannot read minds! – user36296 Jul 17 '17 at 19:30
  • 2
    @Make You should always have enough reputation to edit YOUR own questions. – user36296 Jul 18 '17 at 8:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.