
이것은 내 라텍스입니다. 열은 항상 페이지 너비를 초과합니다. l 대신 p를 사용하여 너비를 설정했다는 것을 알고 있습니다. 그러나 p를 사용하면 세로 모드인 다음 페이지로 테이블이 사라집니다.
\documentclass[runningheads]{llncs}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{cite}
\usepackage[export]{adjustbox}
\usepackage{multirow}
\usepackage{float}
\usepackage{pdflscape}
\usepackage{afterpage}
\usepackage{capt-of}% or use the larger `caption` package
\usepackage[normalem]{ulem}
\usepackage{array}
\afterpage{%
\clearpage% Flush earlier floats (otherwise order might not be correct)
\thispagestyle{empty}% empty page style (?)
\begin{landscape}% Landscape page
\useunder{\uline}{\ul}{}
\begin{table}[]
\begin{tabular}{llll}
\hline
\textbf{Name(Store)} & \textbf{Purpose} & \textbf{Support} & \textbf{Medical References} \\ \hline
{\ul IBS (Google Play)} & Pain Assistance & No & Unknown. There is no direct (cited) scientific basis. Authors on the website do have a medical background. \\
{\ul FODMAP A toZ (Google Play, Apple Store)} & Diet & No, but contacting a qualified physician before adjusting the diet is advised & Unknown, created by patient. \\
{\ul MySymptoms (Google Play, Apple Store)} & Journal (Diet, Symptoms) & No, but contacting a qualified physician before adjusting the diet is advised & Unknown. However the included blogs do. \\
{\ul Curing IBS (Google Play)} & Informative & No & Unknown, created by patient. \\
{\ul My IBS Diary (Google Play)} & Journal (Diet, Symptoms) & Yes, cvs file can be exported and sent to physician & Unknown \\
{\ul Irritable Bowel Syndrome (Google Play)} & Informative & No & Unknown \\
{\ul Zemedy} & Therapy & Yes, expert can be contacted in the app & Yes. (Latest) Medical references are listed \\
{\ul Monash University FODMAP diet} & Journal (Diet) & No & Yes. Created at Monash University \\
{\ul Bristol Stool Chart} & Journal & Yet, csv file can be exported and sent to physician & Yes, namely the Bristol Stool Chart. \\
& & &
\end{tabular}
\end{table}
\captionof{table}{Table caption}% Add 'table' caption
\end{landscape}
\clearpage% Flush page
}
답변1
tabularx
다음은 표를 텍스트 너비만큼 넓게 허용하는 데 사용하는 버전입니다 . table
여기에는 필요하지 않으므로 환경 도 제거했습니다 .
\documentclass[runningheads]{llncs}
\usepackage{float}
\usepackage{pdflscape}
\usepackage{afterpage}
\usepackage{capt-of}% or use the larger `caption` package
\usepackage[normalem]{ulem}
\usepackage{tabularx}
\begin{document}
\afterpage{%
\clearpage% Flush earlier floats (otherwise order might not be correct)
\thispagestyle{empty}% empty page style (?)
\begin{landscape}% Landscape page
\useunder{\uline}{\ul}{}
%\begin{table}[]
\begin{tabularx}{\linewidth}{XlXX}
\hline
\textbf{Name(Store)} & \textbf{Purpose} & \textbf{Support} & \textbf{Medical References} \\ \hline
{\ul IBS (Google Play)} & Pain Assistance & No & Unknown. There is no direct (cited) scientific basis. Authors on the website do have a medical background. \\
{\ul FODMAP A toZ (Google Play, Apple Store)} & Diet & No, but contacting a qualified physician before adjusting the diet is advised & Unknown, created by patient. \\
{\ul MySymptoms (Google Play, Apple Store)} & Journal (Diet, Symptoms) & No, but contacting a qualified physician before adjusting the diet is advised & Unknown. However the included blogs do. \\
{\ul Curing IBS (Google Play)} & Informative & No & Unknown, created by patient. \\
{\ul My IBS Diary (Google Play)} & Journal (Diet, Symptoms) & Yes, cvs file can be exported and sent to physician & Unknown \\
{\ul Irritable Bowel Syndrome (Google Play)} & Informative & No & Unknown \\
{\ul Zemedy} & Therapy & Yes, expert can be contacted in the app & Yes. (Latest) Medical references are listed \\
{\ul Monash University FODMAP diet} & Journal (Diet) & No & Yes. Created at Monash University \\
{\ul Bristol Stool Chart} & Journal & Yet, csv file can be exported and sent to physician & Yes, namely the Bristol Stool Chart. \\
& & &
\end{tabularx}
\captionof{table}{Table caption}% Add 'table' caption
\end{landscape}
\clearpage% Flush page
}
\end{document}
여기서는 접근 방식 대신 패키지 sidewaystable
의 환경을 사용했습니다 .rotating
landscape
\documentclass[runningheads]{llncs}
\usepackage{float}
\usepackage[normalem]{ulem}
\usepackage{tabularx}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\useunder{\uline}{\ul}{}
\begin{tabularx}{\linewidth}{XlXX}
\hline
\textbf{Name(Store)} & \textbf{Purpose} & \textbf{Support} & \textbf{Medical References} \\ \hline
{\ul IBS (Google Play)} & Pain Assistance & No & Unknown. There is no direct (cited) scientific basis. Authors on the website do have a medical background. \\
{\ul FODMAP A toZ (Google Play, Apple Store)} & Diet & No, but contacting a qualified physician before adjusting the diet is advised & Unknown, created by patient. \\
{\ul MySymptoms (Google Play, Apple Store)} & Journal (Diet, Symptoms) & No, but contacting a qualified physician before adjusting the diet is advised & Unknown. However the included blogs do. \\
{\ul Curing IBS (Google Play)} & Informative & No & Unknown, created by patient. \\
{\ul My IBS Diary (Google Play)} & Journal (Diet, Symptoms) & Yes, cvs file can be exported and sent to physician & Unknown \\
{\ul Irritable Bowel Syndrome (Google Play)} & Informative & No & Unknown \\
{\ul Zemedy} & Therapy & Yes, expert can be contacted in the app & Yes. (Latest) Medical references are listed \\
{\ul Monash University FODMAP diet} & Journal (Diet) & No & Yes. Created at Monash University \\
{\ul Bristol Stool Chart} & Journal & Yet, csv file can be exported and sent to physician & Yes, namely the Bristol Stool Chart. \\
& & &
\end{tabularx}
\caption{Table caption}
\end{sidewaystable}
\end{document}
이 마지막 예에는 표의 가독성을 높일 수 있는 방법에 대한 몇 가지 제안 사항이 포함되어 있습니다. 밑줄 명령을 제거하고 패키지에서 가로 눈금자를 추가했으며 booktabs
열과 행 사이에 가로 및 세로 공간을 좀 더 추가했습니다. 마지막으로 표의 공간을 절약하기 위해 일부 약어를 사용했습니다)
\documentclass[runningheads]{llncs}
\usepackage{float}
\usepackage{pdflscape}
\usepackage{afterpage}
\usepackage{capt-of}% or use the larger `caption` package
\usepackage[normalem]{ulem}
\usepackage{tabularx}
\usepackage{booktabs}
\begin{document}
\afterpage{%
\clearpage% Flush earlier floats (otherwise order might not be correct)
\thispagestyle{empty}% empty page style (?)
\begin{landscape}% Landscape page
\setlength\extrarowheight{3pt}
\setlength{\tabcolsep}{6pt}
\begin{tabularx}{\linewidth}{>{\raggedright\arraybackslash}p{3cm}l>{\raggedright\arraybackslash}X>{\raggedright\arraybackslash}X}
\toprule
\textbf{Name(Store)} & \textbf{Purpose} & \textbf{Support} & \textbf{Medical References} \\ \midrule
{ IBS (GP)} & Pain Assistance & No & Unknown. There is no direct (cited) scientific basis. Authors on the website do have a medical background. \\
{ FODMAP A toZ (GP, AS)} & Diet & No, but contacting a qualified physician before adjusting the diet is advised & Unknown, created by patient. \\
{ MySymptoms (GP, AS)} & Journal (Diet, Symptoms) & No, but contacting a qualified physician before adjusting the diet is advised & Unknown. However the included blogs do. \\
{ Curing IBS (GP)} & Informative & No & Unknown, created by patient. \\
{ My IBS Diary (GP)} & Journal (Diet, Symptoms) & Yes, cvs file can be exported and sent to physician & Unknown \\
{ Irritable Bowel Syndrome (GP)} & Informative & No & Unknown \\
{ Zemedy} & Therapy & Yes, expert can be contacted in the app & Yes. (Latest) Medical references are listed \\
{ Monash University FODMAP diet} & Journal (Diet) & No & Yes. Created at Monash University \\
{ Bristol Stool Chart} & Journal & Yet, csv file can be exported and sent to physician & Yes, namely the Bristol Stool Chart. \\
\bottomrule
\multicolumn{4}{p{\textwidth}}{Abbreviations: GP = Google Play, AS = Apple Store}
\end{tabularx}
\captionof{table}{Table caption}% Add 'table' caption
\end{landscape}
\clearpage% Flush page
}
\end{document}