I have tables inserted in the starting of the section in landscape orientation, however the new section shows up only when a portrait page is in use. How should I fix this problem? The following is the link of the zip file wherein I am using ULL thesis class: https://interval.louisiana.edu/thesis-class/ULL-thesis-class-explanation.html
Section 5.2 starts on portrait page (Pg. 406) However section should start from Pg. 216. All pages before pg. 406 are landscape pages.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
%%%%landscape table %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pdflscape}
\usepackage{afterpage}
\usepackage{longtable} % for 'longtable' environment
\usepackage{everypage}
\newcommand{\Lpagenumber}{\ifdim\textwidth=\linewidth\else\bgroup
\dimendef\margin=0 %use \margin instead of \dimen0
\ifodd\value{page}\margin=\oddsidemargin
\else\margin=\evensidemargin
\fi
\raisebox{\dimexpr -\topmargin-\headheight-\headsep-0.5\linewidth}[0pt][0pt]{%
\rlap{\hspace{\dimexpr \margin+\textheight+\footskip}%
\llap{\rotatebox{90}{\thepage}}}}%
\egroup\fi}
\AddEverypageHook{\Lpagenumber}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{trial1}
\author{Abhijeet Chodankar}
\date{June 2018}
\begin{document}
\maketitle
\section{Introduction}
\afterpage{%
\clearpage% Flush earlier floats (otherwise order might not be correct)
\thispagestyle{empty}% empty page style (?)
\begin{landscape}% Landscape page
\centering % Center table
\begin{table}[]
\centering
\caption{Natural frequency change patterns of Shear beam as the number of modes increases from n = 1 to n = 5 for axial compression load = $1.6*10^5$, $1.6*10^8$ N for stiffness increment value of $10^{13}$ $\frac{N}{m}$}
\label{tab:5.242}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|}
\hline
\textbf{} & \multicolumn{8}{c|}{\textbf{Change in Natural Frequency}} \\ \hline
\textbf{} & \multicolumn{2}{c|}{\textbf{cl = 1.5}} & \multicolumn{2}{c|}{\textbf{cl = 2}} & \multicolumn{2}{c|}{\textbf{cl = 2.5}} & \multicolumn{2}{c|}{\textbf{cl = 3}} \\ \hline
\textbf{Mode No} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}8\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P = \\ -1.6*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}8\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}8\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -1.6*10\textasciicircum{}8\end{tabular}} \\ \hline
1 & & & & & & & & \\ \hline
2 & constant & increase & increase & increase & constant & increase & constant & increase \\ \hline
3 & decrease & decrease & decrease & decrease & constant & decrease & constant & decrease \\ \hline
4 & constant & increase & constant & increase & constant & increase & constant & increase \\ \hline
5 & increase & increase & constant & increase & constant & increase & constant & increase \\ \hline
\end{tabular}
\end{table}
\begin{table}[]
\centering
\caption{Natural frequency change patterns of Shear beam as the number of modes increases from n = 1 to n = 5 for axial compression load = $2.4*10^5$, $2.4*10^8$ N for stiffness increment value of $10^{13}$ $\frac{N}{m}$}
\label{tab:5.243}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|}
\hline
\textbf{} & \multicolumn{8}{c|}{\textbf{Change in Natural Frequency}} \\ \hline
\textbf{} & \multicolumn{2}{c|}{\textbf{cl = 1.5}} & \multicolumn{2}{c|}{\textbf{cl = 2}} & \multicolumn{2}{c|}{\textbf{cl = 2.5}} & \multicolumn{2}{c|}{\textbf{cl = 3}} \\ \hline
\textbf{Mode No} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}8\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}8\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P = \\ -2.4*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}8\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}5\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}P =\\ -2.4*10\textasciicircum{}8\end{tabular}} \\ \hline
1 & & & & & & & & \\ \hline
2 & increase & increase & increase & increase & constant & increase & constant & increase \\ \hline
3 & decrease & decrease & decrease & decrease & constant & decrease & decrease & decrease \\ \hline
4 & constant & increase & constant & increase & constant & increase & constant & increase \\ \hline
5 & increase & increase & constant & increase & constant & increase & increase & increase \\ \hline
\end{tabular}
\end{table}
\end{landscape}
\clearpage% Flush page
}
\begin{figure}
\includegraphics[scale=0.25]{zero_papercutbalance.PNG}
\end{figure}
\end{document}
The figures are printed on portrait page. Since the section was started prior the tables were inserted and figures appear after the tables are placed, the section starts on the portrait page
\documentclass{...}
and ending with\end{document}
with some dummy text and tables, which we can compile.\afterpage
so it will be inserted after the current page is filled with normal text but in this example you have no text. As I said on your previous question you do not want\afterpage
or\clearpage
here.