请帮我将“设计”一词放在第一列的中央。
\documentclass{article}
\usepackage{array,multirow,graphicx}
\newcommand*\rot{\rotatebox{90}}
\begin{document}
\begin{table}[h!]
\renewcommand{\arraystretch}{1.5}%space between rows
\label{table:designSP}
\caption{Sub-processes within Urban Design}
\begin{tabular}{|c|p{3cm}p{10cm}|}
\hline
\toprule
& \multicolumn{1}{p{3cm}}{\textbf{Sub-processes}} & \multicolumn{1}{p{10cm}|}{\textbf{Description}} \\ \hline
\multirow{4}{*}{\rot {Design}}
& \textbf{Establishing a \newline Vision} & Generating a shared vision for positive change through an intentional design process that integrates the aspirations of multiple stakeholders. \\
& \textbf{Making \newline Trade-offs} & As the shared vision moves through the design and implementation phases, the interests of stakeholders can be competing and contradictory, requiring multiple trade-offs to be made. How these trade-offs are managed is ultimately embodied within the final built outcome. \\
& text & text \\
& text & text \\ \hline
\multirow{4}{*}{\rot {Design}}
& text & & & & \\
& text & & & & \\
& text & & & & \\ \hline
\end{tabular}
\end{table}
\end{document}
谢谢!
答案1
中的第一个
multirow
单元格跨度约为 8 行文本,因此应将其定义为\multirow{8}{*}{\rot{Design}}
。更正此问题后,“设计”将移动到单元格的垂直中心附近。您可以通过在单元格内容前添加选项来微调其位置。例如:\multirow{8}{*}[1ex]{\rot{Design}}
将单元格内容移动 1 例如更高。
- 离题:您定义了
p
列的类型,因此使用\multicolumn
具有相同列类型的单元格是多余的:
\documentclass{article}
\usepackage{array,
booktabs,
multirow}
\usepackage{graphicx}
\newcommand*\rot{\rotatebox{90}}
\begin{document}
\begin{table}[h!]
\renewcommand{\arraystretch}{1.5}%space between rows
\label{table:designSP}
\caption{Sub-processes within Urban Design}
\begin{tabular}{|c|>{\raggedright\bfseries}p{3cm} p{10cm}|}
\hline
& Sub-processes
& \textbf{Description} \\
\hline
\multirow{8}{*}{\rot{Design}}
& Establishing a Vision
& Generating a shared vision for positive change through an intentional design process that integrates the aspirations of multiple stakeholders. \\
& Making Trade-offs
& As the shared vision moves through the design and implementation phases, the interests of stakeholders can be competing and contradictory, requiring multiple trade-offs to be made. How these trade-offs are managed is ultimately embodied within the final built outcome. \\
& text & text \\
& text & text \\
\hline
\multirow{4}{*}{\rot{Design}}
& text & text \\
& text & text \\
& text & text \\
& text & text \\
\hline
\end{tabular}
\end{table}