最近刚刚学习了LaTeX,发现了一个问题。
我想要的是:
文本将会中断multicolumn
。我所做的是:
\begin{table}[H]
\centering
\footnotesize
\caption{\normalsize E-LEARNING READINESS MEASUREMENT MODEL}
\begin{tabular}{|c|c|}
\hline
\multicolumn{2}{|c|}{\textbf{Criteria 1: Facilities and infrastructure for e-learning}} \\
\hline
1 & User ICT infrastructure\\
2 & Internet connectivity\\
3 & Learning management system\\
4 & E-learning room\\
\hline
\multicolumn{2}{|c|}{\textbf{Criteria 2: Management}} \\
\hline
5 & Willingness to invest in e-learning implementation\\
6 & Learning time for staff\\
\hline
\multicolumn{2}{|c|}{\textbf{Criteria 3: Organization of e-learning function/departement}} \\
\hline
7 & Informing about available e-learning courses \\
8 & Organization of the e-learning activity \\
9 & Preparatory training in the use of computers \\
10 & Preparatory training in the use of e-learning system\\
\hline
\multicolumn{2}{|c|}{\textbf{Criteria 4: Learners characteristics}} \\
\hline
11 & Learners have ICT skills \\
12 & Learners have internet experience \\
13 & Learners are motivated to take e-learning courses \\
14 & Learners prefer their learning style \\
\hline
\multicolumn{2}{|c|}{\parbox{10cm}{In case the organization has already implemented e-learning, but experiences problems on point of adoption, we have an additional
of indicators that can be measured by asking questions to the
staff members e-learners:}}
\hline
15 & TEST
\end{tabular}
\label{table:TableI}
\end{table}
结果:
我仍然不明白如何让它在多列命令中中断。
答案1
和tabularx
:
\documentclass[twocolumn]{article}
\usepackage{geometry}
\usepackage{float}
\usepackage[font=normalsize]{caption}
\usepackage{tabularx}
\usepackage{array}
\newcolumntype{C}{>{\centering\arraybackslash}X}
% more space between table rows
\renewcommand{\arraystretch}{1.2}
\begin{document}
Some text some text some text some text some text some text some text some text some text.
\begin{table}[ht]
\centering\footnotesize%
\caption{\label{table:TableI}E-LEARNING READINESS MEASUREMENT MODEL}
\begin{tabularx}{\linewidth}{|c|C|}
\hline
\multicolumn{2}{|C|}{\textbf{Criteria 1: Facilities and infrastructure for e-learning}} \\
\hline
1 & User ICT infrastructure\\
2 & Internet connectivity\\
3 & Learning management system\\
4 & E-learning room\\
\hline
\multicolumn{2}{|C|}{\textbf{Criteria 2: Management}} \\
\hline
5 & Willingness to invest in e-learning implementation\\
6 & Learning time for staff\\
\hline
\multicolumn{2}{|C|}{\textbf{Criteria 3: Organization of e-learning function/departement}} \\
\hline
7 & Informing about available e-learning courses \\
8 & Organization of the e-learning activity \\
9 & Preparatory training in the use of computers \\
10 & Preparatory training in the use of e-learning system\\
\hline
\multicolumn{2}{|C|}{\textbf{Criteria 4: Learners characteristics}} \\
\hline
11 & Learners have ICT skills \\
12 & Learners have internet experience \\
13 & Learners are motivated to take e-learning courses \\
14 & Learners prefer their learning style \\
\hline
\multicolumn{2}{|C|}{In case the organization has already implemented e-learning, but experiences problems on point of adoption, we have an additional
of indicators that can be measured by asking questions to the
staff members e-learners:}\\
\hline
15 & TEST\\
\hline
\end{tabularx}
\end{table}
Some text some text some text some text some text some text some text some text some text.
\end{document}
和tabularray
:
\documentclass[twocolumn]{article}
\usepackage{geometry}
\usepackage{float}
\usepackage[font=normalsize]{caption}
\usepackage{tabularray}
\begin{document}
Some text some text some text some text some text some text some text some text some text.
\begin{table}[ht]
\centering\footnotesize%
\caption{\label{table:TableI}E-LEARNING READINESS MEASUREMENT MODEL}
\begin{tblr}{
colspec={cX[c]},
width={\linewidth},
vlines,
cell{1,6,9,14}{1}={c=2}{wd=\linewidth,font=\bfseries},
cell{19}{1}={c=2}{wd=\linewidth},
}
\hline
Criteria 1: Facilities and infrastructure for e-learning &\\
\hline
1 & User ICT infrastructure\\
2 & Internet connectivity\\
3 & Learning management system\\
4 & E-learning room\\
\hline
Criteria 2: Management &\\
\hline
5 & Willingness to invest in e-learning implementation\\
6 & Learning time for staff\\
\hline
Criteria 3: Organization of e-learning function/departement &\\
\hline
7 & Informing about available e-learning courses \\
8 & Organization of the e-learning activity \\
9 & Preparatory training in the use of computers \\
10 & Preparatory training in the use of e-learning system\\
\hline
Criteria 4: Learners characteristics &\\
\hline
11 & Learners have ICT skills \\
12 & Learners have internet experience \\
13 & Learners are motivated to take e-learning courses \\
14 & Learners prefer their learning style \\
\hline
In case the organization has already implemented e-learning, but experiences problems on point of adoption, we have an additional
of indicators that can be measured by asking questions to the
staff members e-learners: &\\
\hline
15 & TEST\\
\hline
\end{tblr}
\end{table}
Some text some text some text some text some text some text some text some text some text.
\end{document}