Page Layout ⇒ page numbering on multiple documents
Re: page numbering on multiple documents
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
page numbering on multiple documents
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
page numbering on multiple documents
Code: Select all
\begin{landscape}\centering\includegraphics[width=0.8\textwidth]{./historical3.png}\label{Historical}\end{landscape}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
page numbering on multiple documents
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
page numbering on multiple documents
Code: Select all
\newpage\section{Figures}\renewcommand{\topfraction}{0.85}\renewcommand{\textfraction}{0.1}\renewcommand{\floatpagefraction}{0.75}\begin{figure}[ht]\begin{center}\begin{minipage}[c]{0.9\linewidth}\includegraphics[angle=90,width=1\textwidth]{./historical3.png}\end{minipage}\hfill\begin{minipage}[c]{0.1\linewidth}\rotcaption[The natural vegetation at the time of the public land surveys between 1847-1907 within 50 km of the TGO \citep{Marschner1930}.]{\label{Historical}}\end{minipage}\end{center}\end{figure}
I would really appreciate any help in getting my first table of the section to be sideways and include the section header. Here's an example table:
Code: Select all
\newpage\clearpage\section{Tables}\begin{sidewaystable}\centering\caption{Error matrix from 2001 NLCD classification of Level 1 classes.}\begin{tabular}{m{1in}rrrrrrrr}\toprule& \multicolumn{ 6}{c}{2005 Aerial Photo Interpretation Reference Data} & & \\ [1ex]\cline{2-7}& & & & & & & & \\NLCD 2001 & Agriculture & Forest & Grassland & Urban & Water & Wetland & Totals & User's \\Classified Data & & & & & & & & Accuracy (\%) \\ [1ex]\hline& & & & & & & & \\Agriculture & 161 & 7 & 6 & 13 & 0 & 0 & 187 & 86.1 \\[1ex]Forest & 7 & 25 & 6 & 8 & 2 & 10 & 58 & 43.1 \\[1ex]Grassland & 36 & 16 & 21 & 14 & 1 & 1 & 89 & 23.6 \\[1ex]Urban & 12 & 8 & 8 & 94 & 1 & 3 & 126 & 74.6 \\[1ex]Water & 1 & 3 & 2 & 1 & 17 & 2 & 26 & 65.4 \\[1ex]Wetland & 1 & 1 & 2 & 1 & 1 & 8 & 14 & 57.1 \\[1ex]Totals & 218 & 30 & 45 & 131 & 22 & 24 & 500 & \\[1ex]Producer's & & & & & & & & \\Accuracy (\%) & 73.9 & 41.7 & 46.7 & 71.8 & 77.3 & 33.3 & & \\[1ex]\hline& & & & & & & & \\\multicolumn{ 9}{l}{Overall accuracy = 65.2$\%$; Overall Kappa coefficient = 0.53; Overall Kappa Z Statistic = 19.5$^*$} \\\bottomrule\end{tabular}\label{NLCDLevel1Table}\end{sidewaystable}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
page numbering on multiple documents
I already suggested the sideways environment from the rotating package. It turns only its contents and will keep your section heading in place. Just put your table in and see the result. That's all I can do for the moment.murph636 wrote:[...] However, I cannot seem to get the same method to work for a table. Sidewaystable always forces the table onto the next page, I tried using \rotatebox, but that gave me several errors.
I would really appreciate any help in getting my first table of the section to be sideways and include the section header. [...]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: page numbering on multiple documents
Re: page numbering on multiple documents
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
page numbering on multiple documents
Code: Select all
%\listfiles\documentclass[12pt,english]{report}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage[top=1in,bottom=1.1in,left=1.5in,right=1in]{geometry}\usepackage[font=small,labelfont=bf,tableposition=top]{caption}\usepackage{array,booktabs}\usepackage[doublespacing]{setspace}\usepackage{rotating}\begin{document}\section{Tables}\bigskip\bigskip\begin{sideways}\begin{minipage}{0.8\textheight}\centering\captionof{table}{Error matrix from 2001 NLCD classification of Level 1 classes.}\label{tab:NLCDLevel1Table}\begin{tabular}{m{1in}rrrrrrrr} \toprule& \multicolumn{ 6}{c}{2005 Aerial Photo Interpretation Reference Data} & & \\ \cmidrule{2-7}NLCD 2001 & Agriculture & Forest & Grassland & Urban & Water & Wetland & Totals & User's \\Classified Data & & & & & & & & Accuracy (\%) \\ \midruleAgriculture & 161 & 7 & 6 & 13 & 0 & 0 & 187 & 86.1 \\Forest & 7 & 25 & 6 & 8 & 2 & 10 & 58 & 43.1 \\Grassland & 36 & 16 & 21 & 14 & 1 & 1 & 89 & 23.6 \\Urban & 12 & 8 & 8 & 94 & 1 & 3 & 126 & 74.6 \\Water & 1 & 3 & 2 & 1 & 17 & 2 & 26 & 65.4 \\Wetland & 1 & 1 & 2 & 1 & 1 & 8 & 14 & 57.1 \\ \addlinespaceTotals & 218 & 30 & 45 & 131 & 22 & 24 & 500 & \\ \addlinespaceProducer's & & & & & & & & \\Accuracy (\%) & 73.9 & 41.7 & 46.7 & 71.8 & 77.3 & 33.3 & & \\ \midrule\multicolumn{9}{l}{Overall accuracy = 65.2$\%$; Overall Kappa coefficient = 0.53; Overall Kappa Z Statistic = 19.5$^*$} \\ \bottomrule\end{tabular}\end{minipage}\end{sideways}\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10