## LaTeX forum ⇒ Text Formatting ⇒ Splitting tabular from input file

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

### Splitting tabular from input file

Hey,

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

1. \documentclass[11pt]{article}
2.
3. \usepackage{graphicx}
4. \usepackage{fullpage}
5. \usepackage{datatool}
6.
7. \begin{document}
8.
9. \section{Mild Steel - S235}
10.
11.
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.
13.
14. \subsection{General}
15.
16. \input{ResulterendeMatrixMildSteel}\\
17.
18. \input{ResulterendeMatrixStainlessSteel}\\
19.
20. \input{ResulterendeMatrixAluminium}\\
21.
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,

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

Tags:

cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm
Welcome to the LaTeX community!

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

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Johannes_B
Site Moderator
Posts: 3854
Joined: Thu Nov 01, 2012 4:08 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.