longtable 跨越多个页面时,如何在跨页时自动断行并加上横线及去掉页眉

参考:

http://users.sdsc.edu/~ssmallen/latex/longtable.html

一般的,在首行后面加上 

endfirsthead
hline
endhead
hline
endfoot
hline
endlastfoot

即可

-----------------------------------

去掉页眉

参考 https://tex.stackexchange.com/questions/116079/pagestyleempty-on-a-specific-number-of-pages

hispagestyle{empty}只能去掉一个页的页眉,要去掉多个页,使用下面的

pagestyle{empty}
	ableofcontents
clearpage
pagestyle{headings}

这实际上是去掉页眉和页脚,也可以使用其他参数只去掉页眉包含页脚的。
原文地址:https://www.cnblogs.com/bettersky/p/10200716.html