Text FormattingSplitting tabular from input file

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

Splitting tabular from input file

Post by spacolawater »

Hey,

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

Code: Select all

\documentclass[11pt]{article}

\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{datatool}
	
\begin{document}
	
	\section{Mild Steel - S235}
	
	
	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.
	
	\subsection{General}
		
	\input{ResulterendeMatrixMildSteel}\\	
	
	\input{ResulterendeMatrixStainlessSteel}\\
	
	\input{ResulterendeMatrixAluminium}\\
	
	\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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Splitting tabular from input file

Post by cgnieder »

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
site moderator & package author
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Splitting tabular from input file

Post by Johannes_B »

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.
Post Reply