LaTeX forum ⇒ Text FormattingSplitting tabular from input file

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 1
Joined: Fri Sep 11, 2015 8:39 am

Splitting tabular from input file

Postby spacolawater » Fri Sep 11, 2015 8:48 am


I'm pretty new in Latex and have a question.
I have the following code:

  1. \documentclass[11pt]{article}
  3. \usepackage{graphicx}
  4. \usepackage{fullpage}
  5. \usepackage{datatool}
  7. \begin{document}
  9. \section{Mild Steel - S235}
  12. The cutting quality and cutting performance are dependent on the alloy components. In mild steel, a greater content of Si creates a rough cut edge and increases slag formation and burring. Carbon content $ >0.16 $ can lead to poor results on sharp edges and small holes. We recommend you use laser sheets having controlled alloy constituents when working at the extreme sheet-thickness range.
  14. \subsection{General}
  16. \input{ResulterendeMatrixMildSteel}\\
  18. \input{ResulterendeMatrixStainlessSteel}\\
  20. \input{ResulterendeMatrixAluminium}\\
  22. \input{ResulterendeMatrixRest}\\

These input files are tabulars that are created in Matlab and can be read in LaTeX. Now these tabulars are to big to fit on 1 page. So I want to fix this. I want to split these tabulars on a certain row and make them fit on 1 page. I want to do this from the LaTeX file where I use the "input" command. Without the need to change the input file.

I hope you can help me with this,

Thanks in advance
Last edited by cgnieder on Fri Sep 11, 2015 11:14 am, edited 1 time in total.
Reason: added code markup


User avatar
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Sep 11, 2015 11:17 am

Welcome to the LaTeX community!

A usual {tabular} cannot be split on several pages. But you could have a look at the longtable package.

chemmacros · chemformula · leadsheets · xsim

User avatar
Site Moderator
Posts: 3971
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Fri Sep 11, 2015 4:24 pm

tabular, i.e. what LaTeX formatted table?

Or tabular, as in just values, separated by a comma (or whatever) in a plain text file?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 3 guests