旋转 vs lscape vs pdflscape

旋转 vs lscape vs pdflscape

我问这个问题是为了ultimate答案。它们三者的主要区别是什么?我什么时候应该特别使用它们?

我知道有这个问题: 我应该选择 {pdflscape} 而不是 [pdftex]{lscape} 吗?,但它没有解决该rotating软件包的问题。

另外,还有这个问题:将文本旋转 -90 度 ,但一旦获得:没有关于rotating包裹的参考。

此外,我正在尝试获取一个图形(包:,,graphicx),然后在景观布局上获取一个甘特图(包: , )。floatsubcaptiontikzpgfgantt

我应该使用这三者中的哪一个?一个相对于另一个有什么优势?(我已经回答过这个问题:旋转甘特图,但唯一的答案是lscape)。


更新:我进行了一些测试,似乎使用longtable环境时pdflscape会修改表格中的所有页面,而[pdftex]{lscape}只修改最后一个页面。

代码:

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{array}
\usepackage{longtable}
\usepackage{pdflscape}
%\usepackage[pdftex]{lscape}  % Uncomment if you want to see the output with [pdftex]{lscape}

\begin{landscape}
\begin{longtable}{l p{0.8\linewidth}}

WEFAPS          & \hspace{5mm} Wearable Fall Assessment \& Prediction System\\
WHO                 &   \hspace{5mm} World Health Organization\\
GDP                 & \hspace{5mm} Gross Domestic Product\\
PPP                 & \hspace{5mm} Purchasing Power Parities\\
MEMs                &   \hspace{5mm} Micro-Electromechanics\\
BDN                 & \hspace{5mm} Bayesian Dynamic Networks\\
ADL                 & \hspace{5mm} Activities of Daily Life\\
STST                &   \hspace{5mm} Sit-To-Stand Test\\
PPA                 &   \hspace{5mm} Physiological Profile Assessment\\
TUGT                &   \hspace{5mm} Timed Up-and-Go Test\\
DFRAC               & \hspace{5mm} Demura's Fall Risk Assessment Chart\\
STRATIFY        & \hspace{5mm} Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients\\
USUST               & \hspace{5mm} Unstructured and Unsupervised Test\\
WEFAPS          & \hspace{5mm} Wearable Fall Assessment \& Prediction System\\
WHO                 &   \hspace{5mm} World Health Organization\\
GDP                 & \hspace{5mm} Gross Domestic Product\\
PPP                 & \hspace{5mm} Purchasing Power Parities\\
MEMs                &   \hspace{5mm} Micro-Electromechanics\\
BDN                 & \hspace{5mm} Bayesian Dynamic Networks\\
ADL                 & \hspace{5mm} Activities of Daily Life\\
STST                &   \hspace{5mm} Sit-To-Stand Test\\
PPA                 &   \hspace{5mm} Physiological Profile Assessment\\
TUGT                &   \hspace{5mm} Timed Up-and-Go Test\\
DFRAC               & \hspace{5mm} Demura's Fall Risk Assessment Chart\\
STRATIFY        & \hspace{5mm} Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients\\
USUST               & \hspace{5mm} Unstructured and Unsupervised Test\\
WEFAPS          & \hspace{5mm} Wearable Fall Assessment \& Prediction System\\
WHO                 &   \hspace{5mm} World Health Organization\\
GDP                 & \hspace{5mm} Gross Domestic Product\\
PPP                 & \hspace{5mm} Purchasing Power Parities\\
MEMs                &   \hspace{5mm} Micro-Electromechanics\\
BDN                 & \hspace{5mm} Bayesian Dynamic Networks\\
ADL                 & \hspace{5mm} Activities of Daily Life\\
STST                &   \hspace{5mm} Sit-To-Stand Test\\
PPA                 &   \hspace{5mm} Physiological Profile Assessment\\
TUGT                &   \hspace{5mm} Timed Up-and-Go Test\\
DFRAC               & \hspace{5mm} Demura's Fall Risk Assessment Chart\\
STRATIFY        & \hspace{5mm} Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients\\
USUST               & \hspace{5mm} Unstructured and Unsupervised Test\\
WEFAPS          & \hspace{5mm} Wearable Fall Assessment \& Prediction System\\
WHO                 &   \hspace{5mm} World Health Organization\\
GDP                 & \hspace{5mm} Gross Domestic Product\\
PPP                 & \hspace{5mm} Purchasing Power Parities\\
MEMs                &   \hspace{5mm} Micro-Electromechanics\\
BDN                 & \hspace{5mm} Bayesian Dynamic Networks\\
ADL                 & \hspace{5mm} Activities of Daily Life\\
STST                &   \hspace{5mm} Sit-To-Stand Test\\
PPA                 &   \hspace{5mm} Physiological Profile Assessment\\
TUGT                &   \hspace{5mm} Timed Up-and-Go Test\\
DFRAC               & \hspace{5mm} Demura's Fall Risk Assessment Chart\\
STRATIFY        & \hspace{5mm} Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients\\
USUST               & \hspace{5mm} Unstructured and Unsupervised Test\\
WEFAPS          & \hspace{5mm} Wearable Fall Assessment \& Prediction System\\
WHO                 &   \hspace{5mm} World Health Organization\\
GDP                 & \hspace{5mm} Gross Domestic Product\\
PPP                 & \hspace{5mm} Purchasing Power Parities\\
MEMs                &   \hspace{5mm} Micro-Electromechanics\\
BDN                 & \hspace{5mm} Bayesian Dynamic Networks\\
ADL                 & \hspace{5mm} Activities of Daily Life\\
STST                &   \hspace{5mm} Sit-To-Stand Test\\
PPA                 &   \hspace{5mm} Physiological Profile Assessment\\
TUGT                &   \hspace{5mm} Timed Up-and-Go Test\\
DFRAC               & \hspace{5mm} Demura's Fall Risk Assessment Chart\\
STRATIFY        & \hspace{5mm} Saint Thomas's Risk Assessment Tool in Falling Elderly Inpatients\\
USUST               & \hspace{5mm} Unstructured and Unsupervised Test\\


\end{longtable}
\end{landscape}
\end{document}

答案1

lscapepdflscape是一样的,第一个用于 使用latex第二个用于pdflatex。如果您的图像需要的总宽度大于或小于\textheigth总宽度,则使用landscape这些包定义的环境。如果图像小得多,不需要整个页面,则使用\rotatebox或环境turn\hvfloat来自同名包,如果您还需要标题,当然,没有分页符。

你不需要所有这些\hspace

%\usepackage{pdflscape}
\usepackage{lscape} 
[ ... ]
\begin{landscape}
\begin{longtable}{l @{\hspace{5mm}} p{0.8\linewidth}}

WEFAPS          &  Wearable Fall Assessment \& Prediction System\\

并查看pdf输出lscapepdflscape

相关内容