如何防止底线跨越文字

如何防止底线跨越文字
\begin{table}[]
\small
\begin{tabular}{|m{5em}|m{8em}|m{8em}|m{8em}|m{4em}|}
\hline
\centering \tiny \textbf{Ref.,$1^{st}$ Author, Year of Publication} & \multirow{2}{*}{\parbox{2.6cm}{\centering \tiny \textbf{Smart Material Actuator Characteristics}}} & \multicolumn{3}{c|}{\tiny \textbf{Pump}} \\\cdashline{1-1} \cline{3-5} 

\multirow{2}{*}{\parbox{1.7cm}{\centering \tiny \textbf{Analytical (A), Numerical (N), Experimental (E) Work}}} &    & \centering \tiny \textbf{Structural Characteristics} & \centering \tiny \textbf{Operating Characteristics and Performance Properties} & \multirow{2}{*}{\parbox{1.5cm}{\centering \tiny \textbf{Potential Applications}}}\\ \cline{2-4}

& \tiny \textbf{Actuator Type} Material/s, Geometry, Length (\emph{l}), Width (\emph{w}), Diameter (\emph{d}), Thickness (\emph{t}) ($\mu$m or mm) & \tiny \textbf{Pump (P)}: Geometry, \emph{l}, \emph{w}, Height (\emph{h}), \emph{d} (mm), Volume (\emph{V}) ($mm^{3}$); \textbf{Pump Chamber (PC)}: Number (\#), Geometry, \emph{l}, \emph{w}, \emph{h} (mm); \textbf{Inlet/Outlet (I/O) Flow Rectification Mechanism of Pump} & \tiny \textbf{Voltage \emph{U}} (V), \textbf{Current \emph{I}} (A); \textbf{Frequency \emph{f}} (Hz); \textbf{Maximum, Average Flow Rate $Q_{max}$, $Q_{av}$} (mL or $\mu$L/min); \textbf{Maximum Back-pressure $\Delta p_{max}$}  (kPa); Medium Transported&   \\ \hline

\tiny \cite{benard1998thin}, 1998 & \multirow{2}{*}{\parbox{2.7cm}{\tiny \textbf{Biased Bulk (Sheet)} (U-SMAs in antagonistic conformation) Ni-Ti (passive cooling), Tetragonal, \emph{l} = \emph{w} = 8.4 mm, \emph{t} = 3 $\mu$m}}& \multirow{2}{*}{\parbox{2.7cm}{\tiny \textbf{P:} Rectangular, \textbf{PC:} \# = 1, \textbf{IO:} Passive (polyimide) valves\\}} & \multirow{2}{*}{\parbox{2.7cm}{\tiny \emph{\textbf{U}} = 0.6 V, \emph{\textbf{I}} = 0.9 A, \emph{\textbf{f}} = 0.9 Hz, \emph{\textbf{$Q_{max}$}} = 49 $\mu$L/min, \emph{\textbf{$\Delta p_{max}$}} = 0.53 kPa; Water}} & \multirow{2}{*}{\parbox{1.4cm}{\tiny Micro-fluidic device}} \\ \cdashline{1-1}

\tiny E  &  &   &  &  \\ \hline

\end{tabular}
\end{table}

答案1

你可以做两件事来解决这个问题

(1)使用与列宽度允许的宽度一样宽的 parbox,并且

(2)添加额外的行以容纳第二列最后一个单元格的溢出行。

A

仅修改了代码的最后一行。

\documentclass[12pt,a4paper]{article}

\usepackage{multirow}
\usepackage{array}
\usepackage{arydshln}

\author{The Author}
\begin{document}
    
    \begin{table}[]
        \small
        \begin{tabular}{|m{5em}|m{8em}|m{8em}|m{8em}|m{4em}|}
            \hline
            \centering \tiny \textbf{Ref.,$1^{st}$ Author, Year of Publication} & \multirow{2}{*}{\parbox{2.6cm}{\centering \tiny \textbf{Smart Material Actuator Characteristics}}} & \multicolumn{3}{c|}{\tiny \textbf{Pump}} \\\cdashline{1-1} \cline{3-5} 
            
            \multirow{2}{*}{\parbox{1.7cm}{\centering \tiny \textbf{Analytical (A), Numerical (N), Experimental (E) Work}}} &    & \centering \tiny \textbf{Structural Characteristics} & \centering \tiny \textbf{Operating Characteristics and Performance Properties} & \multirow{2}{*}{\parbox{1.5cm}{\centering \tiny \textbf{Potential Applications}}}\\ \cline{2-4}
            
            & \tiny \textbf{Actuator Type} Material/s, Geometry, Length (\emph{l}), Width (\emph{w}), Diameter (\emph{d}), Thickness (\emph{t}) ($\mu$m or mm) & \tiny \textbf{Pump (P)}: Geometry, \emph{l}, \emph{w}, Height (\emph{h}), \emph{d} (mm), Volume (\emph{V}) ($mm^{3}$); \textbf{Pump Chamber (PC)}: Number (\#), Geometry, \emph{l}, \emph{w}, \emph{h} (mm); \textbf{Inlet/Outlet (I/O) Flow Rectification Mechanism of Pump} & \tiny \textbf{Voltage \emph{U}} (V), \textbf{Current \emph{I}} (A); \textbf{Frequency \emph{f}} (Hz); \textbf{Maximum, Average Flow Rate $Q_{max}$, $Q_{av}$} (mL or $\mu$L/min); \textbf{Maximum Back-pressure $\Delta p_{max}$}  (kPa); Medium Transported&   \\ \hline
            
            %% CHANGED <<<<<<
            \tiny \cite{benard1998thin}, 1998 & \multirow{2}{*}{\parbox[t]{8em}{\tiny \textbf{Biased Bulk (Sheet)} (U-SMAs in antagonistic conformation) Ni-Ti (passive cooling), Tetragonal, \emph{l} = \emph{w} = 8.4 mm, \emph{t} = 3 $\mu$m}}& \multirow{2}{*}{\parbox[t]{8em}{\tiny \textbf{P:} Rectangular, \textbf{PC:} \# = 1, \textbf{IO:} Passive (polyimide) valves\\}} & \multirow{2}{*}{\parbox[t]{8em}{\tiny \emph{\textbf{U}} = 0.6 V, \emph{\textbf{I}} = 0.9 A, \emph{\textbf{f}} = 0.9 Hz, \emph{\textbf{$Q_{max}$}} = 49 $\mu$L/min, \emph{\textbf{$\Delta p_{max}$}} = 0.53 kPa; Water}} & \multirow{2}{*}{\parbox[t]{4em}{\tiny Micro-fluidic device}} \\ \cdashline{1-1}          
            \tiny E  &  &   &  &  \\
            &  &   &  &  \\ % added <<<
             \hline
            
        \end{tabular}
    \end{table} 
    
\end{document}

答案2

我建议重新设计列标题:

在此处输入图片描述

在以下 MWE 中,我也使用了 来siunitx表示一些数字及其单位。其他数字和单位应作相应调整。

\documentclass{article}
\usepackage{geometry}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{threeparttable}
\usepackage{siunitx}

\begin{document}

\begin{table}
\begin{threeparttable}
\small
\begin{tabularx}{\linewidth}{|>{\raggedright\arraybackslash}p{5em}|*{3}{>{\raggedright\arraybackslash}X|}>{\raggedright\arraybackslash}p{2cm}|}
\hline
 \multirow{4}{=}{\textbf{Ref\tnote{a}}} &  \multirow{4}{=}{\textbf{Smart Material Actuator Characteristics\tnote{b}}} & \multicolumn{3}{c|}{\textbf{Pump}} \\ \cline{3-5} 

 &    & \textbf{Structural Characteristics\tnote{c}} &  \textbf{Operating Characteristics and Performance Properties\tnote{d}} & \textbf{Potential Applications}\\
\hline

\cite{benard1998thin}, 1998 (E) 
   &  \textbf{Biased Bulk (Sheet)} (U-SMAs in antagonistic conformation) Ni-Ti (passive cooling), Tetragonal, \emph{l} = \emph{w} = \SI{8.4}{\mm}, \emph{t} = \SI{3}{\um}
   & \textbf{P:} Rectangular, \textbf{PC:} \# = 1, \textbf{IO:} Passive (polyimide) valves 
   & \emph{\textbf{U}} = 0.6 V, \emph{\textbf{I}} = 0.9 A, \emph{\textbf{f}} = 0.9 Hz, \emph{\textbf{$Q_{max}$}} = 49 $\mu$L/min, \emph{\textbf{$\Delta p_{max}$}} = 0.53 kPa; Water
   & Micro-fluidic device \\ 
\hline
\end{tabularx}
\begin{tablenotes}
\item[a] 1\textsuperscript{st} Author \& Year of Publication, A = Analytical, N = Numerical, E = Experimental Work
\item[b] \textbf{Actuator Type} Material/s, Geometry, Length (\emph{l}), Width (\emph{w}), Diameter (\emph{d}), Thickness (\emph{t}) (\si{\um} or \si{mm})
\item[c]  \textbf{Pump (P)}: Geometry, \emph{l}, \emph{w}, Height (\emph{h}), \emph{d} (\si{\mm}), Volume (\emph{V}) (\si{\cubic\mm}); \textbf{Pump Chamber (PC)}: Number (\#), Geometry, \emph{l}, \emph{w}, \emph{h} (\si{\mm}); \textbf{Inlet/Outlet (I/O) Flow Rectification Mechanism of Pump}
\item[d]  \textbf{Voltage \emph{U}} (V), \textbf{Current \emph{I}} (A); \textbf{Frequency \emph{f}} (Hz); \textbf{Maximum, Average Flow Rate $Q_{max}$, $Q_{av}$} (mL or $\mu$L/min); \textbf{Maximum Back-pressure $\Delta p_{max}$}  (kPa); Medium Transported
\end{tablenotes}
\end{threeparttable}
\end{table}


\end{document}

答案3

这是一个解决方案,它(a)采用一个tabularx环境,(b)摆脱所有\tiny指令并改用单个\footnotesize指令,(c)取消所有\multirow指令,以及(d)注意以满足标准格式要求的方式排版科学单位。

在此处输入图片描述

\documentclass{article}
\usepackage{geometry} % set page parameters suitably
\usepackage{tabularx,amsmath,arydshln,ragged2e} 
\newcolumntype{C}{>{\Centering\hspace{0pt}}X}
\newcolumntype{L}{>{\RaggedRight\hspace{0pt}}X}
\usepackage[per-mode=symbol]{siunitx} % for \si and \SI macros

\begin{document}
\begin{table}
\setlength\tabcolsep{3pt} % default: 6pt
\footnotesize
\setlength\extrarowheight{2pt}
\begin{tabularx}{\textwidth}{|C|L|L|L|L|}
\hline
\textbf{Ref., First Author, Year of Publication} &
\textbf{Smart Material Actuator Characteristics} & 
\multicolumn{3}{c|}{\textbf{Pump}} \\
\cdashline{1-1} 
\cline{3-5} 
Type of Work: Analytical (A), Numerical (N), Experimental (E) & &
\textbf{Structural Characteristics} & 
\textbf{Operating Characteristics and Performance Properties} & \textbf{Potential Applications}\\ 
\cline{2-4}
& \textbf{Actuator Type} Material/s, Geometry, Length $l$, Width $w$, Diameter $d$, Thickness $t$ (\si{\um} or \si{\mm}) & 
\textbf{Pump (P)}: Geometry $l, w$, Height $h, d$ (\si{\mm}), Volume $V$ (\si{\mm\cubed}); \newline
\textbf{Pump Chamber (PC)}: Number (\#), Geometry $l, w, h$ (\si{\mm}); \newline 
\textbf{Inlet/Outlet (I/O) Flow Rectification Mechanism of Pump} & 
\textbf{Voltage} $U$ (\si{\volt}); 
\textbf{Current} $I$ (\si{\ampere}); 
\mbox{\textbf{Frequency}} $f$ (\si{\hertz}); \newline
\textbf{Maximum, Average Flow Rate} $Q_{\max}$, $Q_{\mathrm{av}}$ (\si{\milli\liter} or \si{\micro\liter\per\minute}); \newline
\textbf{Maximum Back-pressure} $\Delta p_{\max}$  (\si{\kilo\pascal}); \newline Medium Transported &   \\ 
\hline

\cite{benard1998thin}, 1998 \newline (E)& 
\textbf{Biased Bulk (Sheet)} (U-SMAs in antagonistic conformation) Ni\nobreakdash-Ti (passive cooling), Tetragonal, $l = w = \SI{8.4}{\mm}$, $t = \SI{3}{\um}$ & 
\textbf{P}: Rectangular, \newline
\textbf{PC}: \# = 1, \newline
\textbf{IO}: Passive (polyimide) valves & 
$U = \SI{0.6}{\volt}$, 
$I = \SI{0.9}{\ampere}$, 
$f= \SI{0.9}{\hertz}$, 
$Q_{\max} = \SI{49}{\micro\liter\per\minute}$, 
$\Delta p_{\max} = \SI{0.53}{\kilo\pascal}$; 
Water & 
Micro-fluidic device \\ 
\hline
\end{tabularx}
\end{table}
\end{document}

相关内容