Graphics, Figures & Tables ⇒ Table with 56 columns
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Table with 56 columns
Hi friends,
I am totally confused how to insert to the below attached table to my latex code.
I am using book class, with LED editor. My text area is 8in x 6in.. I thought of doing it in landscape, but the column width overcomes the size..
I am confused.. Please help me with your suggestions..
Regards,
Muthu
I am totally confused how to insert to the below attached table to my latex code.
I am using book class, with LED editor. My text area is 8in x 6in.. I thought of doing it in landscape, but the column width overcomes the size..
I am confused.. Please help me with your suggestions..
Regards,
Muthu
- Attachments
-
- table.pdf
- (35.76 KiB) Downloaded 208 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Table with 56 columns
By now you should be fairly familiar with the setup of a tabular environment. Use the \multicolumn command and the features provided by the multirow package. You can decrease the font size with appropriate switches right before your table. Start with a basic structure on your own. The caption package provides features for continued floats. In case of upcoming problems, feel free to ask further questions.dmuthu_cse wrote:[...] I am confused.. Please help me with your suggestions.. [...]
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Table with 56 columns
Hello thorsten,
thanks for your reply..
I have tried according to your advice. But,I could not get exactly what I want. The table is lasting over the page, and I couldn't see the remaining content.
however, I can reduce the fontsize, I am not able to reduce the individual column width..
I am therewith attaching the code for a single row.. Please go through and guide me.
Thanks in advance....
With regards,
Muthu
thanks for your reply..
I have tried according to your advice. But,I could not get exactly what I want. The table is lasting over the page, and I couldn't see the remaining content.
however, I can reduce the fontsize, I am not able to reduce the individual column width..
I am therewith attaching the code for a single row.. Please go through and guide me.
Code: Select all
\documentclass[11pt,a4paper]{book}
\usepackage{pdflscape}
\usepackage[ centering,
headheight=14pt,
headsep=10pt,
includehead,
papersize={7in,9.5in},
text={6in,8in},
dvips=false,
pdftex=false,
vtex=false]{geometry}
\usepackage[cam,a4,center,dvips]{crop}
\begin{document}
\begin{landscape}
\begin{table}
\caption{Heloo}
\centering
\tiny
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c||c|c|c|c|c|c|c|} \hline
1.2&42&40&38&36&34&32&30&29&27&25&33&32&30&28&27&25&23&22&21&19&25&23&22&20&19&17&17&16&14&12&17&15&14&13&12&11&10&9&7&6&10&8&7&6&5&4&3&2&1&0\\ \hline
\end{tabular}
\end{table}
\end{landscape}
\end{document}
With regards,
Muthu
- Attachments
-
- table.pdf
- (31.27 KiB) Downloaded 201 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Table with 56 columns
There just isn't enough space for the table in this format. The key problem is your special page format which presumably can't be changed (and which is smaller than the one we discussed recently). All I can advice is to reorganize the table structure to make it fit on the page. Otherwise split the table on several pages and use the already mentioned \ContinuedFloat command from the caption package. On other starting point is to modify the length \tabcolsep (default value set to 6pt).
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Re: Table with 56 columns
Dear Thorsten,
Thank you very much... Successfully, I've got the idea from your previous reply.
I am working on it.. I will get to you back, if I held up with some other thing.
Regards,
Muthu
Thank you very much... Successfully, I've got the idea from your previous reply.
I am working on it.. I will get to you back, if I held up with some other thing.
Regards,
Muthu
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Re: Table with 56 columns
Hello friends,
Can you please suggest me if, how can I change the font of a particular table alone in my chapter.
Thanks in advance..
Regards,
Muthu
Can you please suggest me if, how can I change the font of a particular table alone in my chapter.
Thanks in advance..
Regards,
Muthu
Re: Table with 56 columns
Hi,
can you please specify which attribute(s) of the font should be changed (size, family, shape,...)?
can you please specify which attribute(s) of the font should be changed (size, family, shape,...)?
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Table with 56 columns
Hello gmedina,
i need to change both the family and size..
and i would like to introduce \arraystretch command for that particular table.
Next.. can i specify, the column width for specific column and make alignments like (left, right, center} in it. I've just tried the below code, to do insist specific width, but i cannot align the columns.. It is automatically justified as i have given p{width}.. let me know the other options...
Thanking you
Regards,
Muthu
i need to change both the family and size..
and i would like to introduce \arraystretch command for that particular table.
Next.. can i specify, the column width for specific column and make alignments like (left, right, center} in it. I've just tried the below code, to do insist specific width, but i cannot align the columns.. It is automatically justified as i have given p{width}.. let me know the other options...
Code: Select all
begin{center}
\small
\begin{longtable}{|p{2.0in}@{}|p{0.6in}@{}|p{0.8in}@{}|p{0.6in}@{}|p{0.8in}@{}|}
\caption{Different types of MCB distribution boards}\\
\hline \textbf{Type description}& \textbf{No. of phases} & \textbf{Protection class} & \textbf{Number of ways} & \textbf{No of MCB modules} \\ \hline
Regards,
Muthu
Last edited by dmuthu_cse on Tue Sep 29, 2009 5:04 am, edited 1 time in total.
Table with 56 columns
Hi,
to change the font size, you could use one of the standard switches: \tiny, \scriptsize, \footnotesize, \small, \large, \Large, \LARGE, \huge or \Huge. Another option could be to use the \fontsize command (in this case you might need to load some other package, as fix-cm).
To change the font family, you could use the \fontfamily command. The psnfss2e document (that should be in your system somewhere in a directory of the form doc/latex/) can be used to learn some of the standard font families available in every standard LaTeX installation.
Take a look at the following example (I enclosed the relevant commands using braces to keep the changes local):
to change the font size, you could use one of the standard switches: \tiny, \scriptsize, \footnotesize, \small, \large, \Large, \LARGE, \huge or \Huge. Another option could be to use the \fontsize command (in this case you might need to load some other package, as fix-cm).
To change the font family, you could use the \fontfamily command. The psnfss2e document (that should be in your system somewhere in a directory of the form doc/latex/) can be used to learn some of the standard font families available in every standard LaTeX installation.
Take a look at the following example (I enclosed the relevant commands using braces to keep the changes local):
Code: Select all
\documentclass{article}
\usepackage{lipsum}% just to generate some text automatically
\begin{document}
\lipsum[1]
\noindent\begin{table}[!ht]
\centering
{\fontfamily{ptm}\fontsize{5}{9}\selectfont
\begin{tabular}{p{.4\linewidth}p{.4\linewidth}}
\lipsum[1] & \lipsum[1]
\end{tabular}}
\caption{a test table}
\label{tab:test}
\end{table}
\lipsum[1]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Table with 56 columns
Hello gmedina,
Thank you very much...
It helped me a lot.. I am happy about the result now..
can i specify, the column width for specific column and make alignments like (left, right, center} in it. I've just tried the below code, to do insist specific width, but i cannot align the columns.. It is automatically justified as i have given p{width}.. let me know the other options...
Thank you in advance..
Regards,
Muthu
Thank you very much...
It helped me a lot.. I am happy about the result now..
can i specify, the column width for specific column and make alignments like (left, right, center} in it. I've just tried the below code, to do insist specific width, but i cannot align the columns.. It is automatically justified as i have given p{width}.. let me know the other options...
Code: Select all
begin{center}
\small
\begin{longtable}{|p{2.0in}@{}|p{0.6in}@{}|p{0.8in}@{}|p{0.6in}@{}|p{0.8in}@{}|}
\caption{Different types of MCB distribution boards}\\
\hline \textbf{Type description}& \textbf{No. of phases} & \textbf{Protection class} & \textbf{Number of ways} & \textbf{No of MCB modules} \\ \hline
Regards,
Muthu