wengan-li / ncku-thesis-template-latex

NCKU Thesis/Dissertation Template in Latex | 台灣國立成功大學碩博士用畢業論文LaTex模板
Other
94 stars 41 forks source link

portrait and landscape orientations #46

Closed yusie1978 closed 4 years ago

yusie1978 commented 4 years ago

Hi, I have a question whether we can use portrait and landscape orientation at the same time? For example in page 1-10, I use portrait orientation, then for longer table in page 11 I use landscape orientation and followed with another portrait orientation from page 12 to the rest of chapter.

Thanks a lot

Yusie

wengan-li commented 4 years ago

Hi,

Does this sample result that you want ?

\documentclass{article}

\usepackage{lscape}

\begin{document}

Page 1
Hello World.

\begin{landscape}
\newpage
Page 2
Hello World again.
\end{landscape}

\end{document}

If yes, try this:

  1. Add line into template\configure.tex

    \usepackage{lscape}
  2. Add this 2 line before and after the new page command

    \begin{landscape}
    \StartNewPage
    ...
    \EndOfPage
    \end{landscape}
yusie1978 commented 4 years ago

Hi, It actually works but not that simple because I found the layout of the page is not correct .

\begin{landscape} \StartNewPage \InsertTable [caption={Systematic Literature Review.}, label={table:literature-reviews}] { \begin{tabular}{l l l l l} \hline \textbf{References} & \textbf{Year} & \textbf{Topic} & \textbf{Control Method} & \textbf{Research Approach} \ \hline Schoonwinkel \RefBib{schoonwinkel1987design} & 1986 & Stabilization control & Nonlinear control & Experimentation\ David W. Vos \RefBib{vos1990dynamics,vos1992nonlinear} & 1990, 1992 & Stabilization control & Nonlinear adaptive control & Experimentation \ \end{tabular} } % End of \InsertTable

\EndOfPage \end{landscape}

And the result is as follow (see the number of page hit the first column):

page

wengan-li commented 4 years ago

What happen when you type some content after the table ?

\InsertTable{}
...
Text Text Text Text Text
...
\EndOfPage
\end{landscape}

Could you help me found some sample code that the page number will move to the bottom of the landscape page ? I just found some code with the same result, without moving the page number.

Also why you need landscape page ? Figure and table able to rotate 90 degree which are built-in feature.

wengan-li commented 4 years ago

@yusie1978 Yo~ Did you found a way to workaround ?