1


\begin{table}[htbp]
  \centering
  \caption{Add caption}
    \begin{tabular}{ccllcc}
    \hline
    \multicolumn{1}{l}{\textbf{Amount(INR Cr)}} & \multicolumn{1}{l}{\textbf{Round}} & \textbf{Stage} & \textbf{Investors} & \multicolumn{1}{l}{\textbf{Pre Money Valuation (INR Cr)}} & \multicolumn{1}{l}{\textbf{Post Money Valuation (INR Cr)}} \\
    \hline
    417   & 8     & Growth-PE & IIFL VC, Sequoia Capital India &       & 30496 \\
    1001.82 & 7     & Late  & Wellington Management, Faering Capital, TVS Capital, Others & 25971.15 & 26972.97 \\
    1492.2 & 6     & Growth-PE & IIFL VC, Faering Capital, TVS Capital, Sequoia Capital India, Others &       & 26078.5 \\
    135   & 5     & Growth-PE & A91 Partners, Faering Capital, TVS Capital & 14049.7 & 14184.7 \\
    654.58 & 4     & Growth-PE & A91 Partners, Faering Capital, TVS Capital, Others & 5471.74 & 6126.32 \\
    165   & 3     & Growth-PE & Fairfax Holdings &       &  \\
    315   & 2     & Growth-PE & Fairfax Holdings &       &  \\
    384.44 & 1     & Growth-PE & Fairfax Holdings &       &  \\
    \hline
    \end{tabular}%
  \label{tab:addlabel}%
\end{table}%
\end{landscape}```

1 Answer 1

0

I would not try to typeset this table in landscape mode, since doing so would be treating the symptoms rather than the cause of the table's underlying problem. The problem is that you're not allowing line breaks in columns 4, 5, and 6.

To fix this problem, I suggest you switch from a tabular to a tabularx environment and allow line breaking in all cells of column 4 and in headers of columns 5 and 6. I would also (a) align the numbers in columns 1, 5, and 6 on their explicit or implicit decimal markers and (b) move the unit legend (INR Cr) to separate lines.

enter image description here

\documentclass{article}
\usepackage{tabularx,ragged2e,siunitx}
\newcolumntype{L}{>{\RaggedRight}X}  % flush-left, not justified
\newcommand\mC[1]{\multicolumn{1}{L}{#1}}
\sisetup{group-four-digits=true} % show thousands separator for 4-digits numbers

\begin{document}

\begin{table}
\setlength\tabcolsep{3.5pt}    % default: 6pt
\setlength\extrarowheight{2pt} % for a less-cramped look

\caption{Add caption}
\label{tab:addlabel}

\begin{tabularx}{\textwidth}{@{} 
    S[table-format=4.2] c l L *{2}{S[table-format=5.2]} @{}}
    \hline
    {\bfseries Amount} & 
    \bfseries Round & 
    \bfseries Stage & 
    \bfseries Investors & 
    \mC{\bfseries Pre Money Valuation} & 
    \mC{\bfseries Post Money Valuation} \\
    {(INR Cr)} & & & & {(INR Cr)} & {(INR Cr)} \\ % units on separate line
    \hline
    417     & 8 & Growth-PE & IIFL VC, Sequoia Capital India &       & 30496 \\
    1001.82 & 7 & Late      & Wellington Management, Faering Capital, TVS Capital, Others          & 25971.15 & 26972.97 \\
    1492.2  & 6 & Growth-PE & IIFL VC, Faering Capital, TVS Capital, Sequoia Capital India, Others &          & 26078.5  \\
    135     & 5 & Growth-PE & A91 Partners, Faering Capital, TVS Capital         & 14049.7 & 14184.7 \\
    654.58  & 4 & Growth-PE & A91 Partners, Faering Capital, TVS Capital, Others & 5471.74 & 6126.32 \\
    165     & 3 & Growth-PE & Fairfax Holdings &       &  \\
    315     & 2 & Growth-PE & Fairfax Holdings &       &  \\
    384.44  & 1 & Growth-PE & Fairfax Holdings &       &  \\
    \hline
    \end{tabularx}
\end{table}

\end{document}
5
  • this is exactly what I wanted in my mind ...Thanks!!
    – Jimi
    Nov 16 at 7:36
  • I have another table which that I've tried to replicate the above code for. But it isn't exactly working
    – Jimi
    Nov 16 at 8:12
  • @Jimi13ABC - Sadly, but probably not surprisingly, my mind-reading skills are utterly worthless. Unless you post the code for the second table, the odds that I -- or anyone else, for that matter -- will be able to help you meaningfully are decidedly poor. Please post a new query, with the code of the second table you wish to fix. Thanks.
    – Mico
    Nov 16 at 8:39
  • Hey, thanks for solving the second query! This saved me a bunch of time. But I'm rather new to working with Latex. Any recommendations for learning material on how I can effectively learn how to deal with importing various types of tables ?
    – Jimi
    Nov 16 at 10:18
  • @Jimi - Please see What are good learning resources for a LaTeX beginner?
    – Mico
    Nov 16 at 13:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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