赞
踩
\documentclass[]{article}
\usepackage{multirow}
\begin{document}
\renewcommand{\multirowsetup}{\centering}
\begin{tabular}{|l|l|l|l|}
\hline
\multirow{4}{2cm}{This is a demo table} & a & \multirow{4}{2cm}{This is another one} & \\
& b & & \\
& c & & \\
& d & & \\
\hline
\end{tabular}
\end{document}
显示:
另外方法:
\documentclass{article}
\usepackage{amsmath,varwidth,array,ragged2e}
\newcolumntype{L}{>{\varwidth[c]{\linewidth}}l<{\endvarwidth}}
\newcolumntype{M}{>{$}l<{$}}
\def\ds{\mathrm{d}s}% don't know what your \ds should be ....
\begin{document}
\def\arraystretch{1.7}
\begin{tabular}{rMrL}
(A) & \ds u=\sqrt{x^2+y^2} &(B) & $\ds u=\sqrt{x^4+y^4}$\tabularnewline
(C) & \ds u=\sqrt[3]{xy} &(D) & $\ds u=\sqrt[3]{x^2+y^2}$\tabularnewline
(E) & \ds u=\sqrt[3]{x^4+y^4} & (F) &
\[ u=\begin{cases}e^{\frac{-1}{x^2+y^2}}; &x^2+y^2\neq 0\\ 0; &x^2+y^2=0\end{cases} \] \tabularnewline
(G) & \ds u=\sqrt[3]{x}\sin y & (H) & $\ds u=\sqrt[3]{y}\tan x$
\end{tabular}
\end{document}

显示:
另外一种:
\documentclass[oneside]{article}
\usepackage{chngpage}
\usepackage{array}
\begin{document}
\begin{adjustwidth}{-1cm}{-1cm}
\begin{tabular}{|p{.2\textwidth}| p{.2\textwidth}| m{.7\textwidth}|}
\hline
new & old & all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, all boring, \\ \hline
\end{tabular}
\end{adjustwidth}
\end{document}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。