我对横向表格有一些问题,我将表格分成多页并将它们用在论文的附录中。
我像这样将它合并(为了不弄乱我的主文件):
\addcontentsline{toc}{section}{Anhang}\section*{Anhang} \label{anhang}
\section*{A\, Anpassung der eingesetzten Skalen}
\input{appendixtable}
这首要问题是,它没有与两个标题在同一页上开始,可能是因为它太宽了。是否可以让它从这一页开始?
第二个问题:由于表格的行高不一样,一行位于一页上,是否可以通过某种方式来管理它(参见下面的两个屏幕截图)
第三期:表格完成后,LaTex 会在单独的页面上再次重现表格顶行和标题,有什么办法可以删除它吗?
我还有一个问题,是否有人知道如何自动以横向模式生成带有横向表格的页面,这样就不必旋转这些页面的 PDF?
在这里找到我的 MWE:
\documentclass[parsikip=full,oneside, 12pt]{scrartcl}
\usepackage[left=2.8cm, right=2.8cm,top=2.1cm, bottom=19mm,includehead=false,footskip=10mm, bindingoffset=0mm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[german=guillemets]{csquotes}
\usepackage{microtype}
\usepackage{color}
\usepackage[colorlinks=true, linktoc = all, draft = false, linkcolor=black, citecolor=black, urlcolor=blue]{hyperref}
\clubpenalty=10000 % Verhindert einzelne Absatzzeile am Ende oder am Anfang
\widowpenalty=10000 % einer Seite.
\displaywidowpenalty=10000 %
\usepackage{setspace}
\linespread{1.5}
\newcommand{\anf}[1]{\glqq{}#1{}\grqq{}}
\AtBeginDocument{%
% \renewcommand{\BCBL}{,}%
% \renewcommand{\BCBT}{,}%
}
\renewcommand{\baselinestretch}{1.2}
\setlength{\parskip}{\smallskipamount}
\setlength{\parindent}{0pt}
\begin{document}
\pagenumbering{roman}
\setcounter{page}{1}\pagenumbering{arabic}
\input{Einleitung}
\printbibliography[heading=bibintoc]
\newpage
\addcontentsline{toc}{section}{Anhang}\section*{Anhang} \label{anhang}
\section*{A\, Anpassung der eingesetzten Skalen}
\input{anhangtabelle}
\end{document}
这是该表的较短版本:
\begin{landscape}
\footnotesize
\begin{longtable}[c]{llll}
\caption{übersicht}
\label{anpassung-skalen}\\
\hline
Konstrukt &
Ursprüngliche Skala &
Eigene Skala &
Quelle \\ \hline
\endhead
%
\hline
\endfoot
%
\endlastfoot
%
\begin{tabular}[c]{@{}l@{}}PIM-\\ Prosumption\end{tabular} &
\begin{tabular}[c]{@{}l@{}}(1) browse content, (2) contribute originalddddddgggg on\\ content to, (3) comment or rate content on,\\ (4) share content with others on social \\ networking sites and microblogging services\\ (e.g. Twitter), respectively\end{tabular} &
\begin{tabular}[c]{@{}l@{}}(1) Browsing political internet memesdddddd99998\\ \\ (1) Browsing political internet memes on social \\ media, (2) Contributing original political internet \\ memes to social media, (3) Commenting or rating \\ political internet memes on social media, \\ (4) Sharing political internet memes with others \\ on social media\end{tabular} &
\parencite{yamamotopro} \\
\begin{tabular}[c]{@{}l@{}}Wahrgenommene\\ Ungerechtigkeit\end{tabular} &
\begin{tabular}[c]{@{}l@{}}(1) It’s an injustice that the victims of harassment suffer \\ from slutshaming, (2) It’s wrongful conduct that some \\ employers intentionally avoid punishing sexual harassers, \\ (3) I feel outraged when sexual harassment victims are \\ thwarted from protecting their rights\end{tabular} &
\begin{tabular}[c]{@{}l@{}}(1) It’s an injustice that many politicians don’t care\\ about the climate crisis, (2) It’s wrongful conduct \\ that politics don’t stick to the Paris Agreement, (3) I \\ feel outraged when climate activists aren’t heard\end{tabular} &
\parencite{zhou} \\
\end{longtable}
\end{landscape}
答案1
虽然这不能直接回答您的问题,但这里有一种呈现这些信息的替代方法,而不需要 a) 旋转页面,b) 手动调整行和分页符以及 c) 手动对各个语句进行编号:
\documentclass{scrartcl}
\renewcommand{\baselinestretch}{1.2}
\usepackage{biblatex}
\usepackage{paracol}
\usepackage{enumitem}
\begin{document}
\footnotesize
\begin{itemize}
\item PIM-Prosumption \parencite{yamamotopro}
\begin{enumerate}[label={(\arabic*)}]
\begin{paracol}{2}
Ursprüngliche Skala:
\switchcolumn[1]
Eigene Skala:
\switchcolumn[0]*
%
\item browse content,
\switchcolumn[1]
\item Browsing political internet memes on social media,
\switchcolumn[0]*
%
\item contribute originalddddddgggg on content to,
\switchcolumn[1]
\item Contributing original political internet memes to social media,
\switchcolumn[0]*
%
\item comment or rate content on,
\switchcolumn[1]
\item Commenting or rating political internet memes on social media,
\switchcolumn[0]*
%
\item share content with others on social networking sites and microblogging services (e.g. Twitter), respectively
\switchcolumn[1]
\item Sharing political internet memes with others on social media
\end{paracol}
\end{enumerate}
\end{itemize}
\begin{itemize}
\item PIM-Prosumption \parencite{yamamotopro}
\begin{paracol}{2}
Ursprüngliche Skala:
\switchcolumn[1]
Eigene Skala:
\switchcolumn[0]*
\begin{enumerate}[label={(\arabic*)}]
\item browse content,
\item contribute originalddddddgggg on content to,
\item comment or rate content on,
\item share content with others on social networking sites and microblogging services (e.g. Twitter), respectively
\end{enumerate}
\switchcolumn[1]
\begin{enumerate}[label={(\arabic*)}]
\item Browsing political internet memes on social media,
\item Contributing original political internet memes to social media,
\item Commenting or rating political internet memes on social media,
\item Sharing political internet memes with others on social media
\end{enumerate}
\end{paracol}
\end{itemize}
\end{document}