TeX - LaTeX Asked by Seymoyr Birkoff on April 19, 2021
I want to make a longtable, that would be 150 mm height, for a example, on the first page and full height on the following pages.
documentclass{article}
usepackage[left=2cm,right=1cm,top=2.5cm,bottom=1.5cm]{geometry}
usepackage{longtable}
ifnum value{page}=1
newgeometry{left=2cm,right=1cm,top=2.5cm,bottom=10.5cm}
else
restoregeometry
newgeometry{left=2cm,right=1cm,top=2.5cm,bottom=1.5cm}
fi
renewcommand{arraystretch}{4}
begin{document}
begin{longtable}{|l|l|l|}
hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
lorem & impsum & - hline
end{longtable}
end{document}
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP