表格内容超出边距

表格内容超出边距

我有一个包含 6 列的表格,当内容很长时,第一列就会超出范围。

我的代码是:

    \begin{tabular}{|p{35mm}|p{30mm}|p{10mm}|p{10mm}|p{15mm}|p{30mm}|}
    \hline
    Nro. Objetivo Específico & Actividades & Fecha inicio & Fecha Fin & Recursos Necesarios & Resultados a obtener \\

    \hline

    \multirow{6}*{Sophia Loren, nombre artístico de Sofia Villani Scicolonenombre artístico de Sofia Villani Scicolonenombre artístico de Sofia Villani Scicolone (Roma, Reino de Italia, 20 de septiembre de 1934), es una actriz italiana .} & Sophia Loren, nombre artístico de Sofia Villani  & 01-08-2016 & 01-08-2016 & Nodejs- expressjs & Obtener el proyecto base \\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Sophia Loren, nombre artístico de Sofia Villani \\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Sophia Loren, nombre artístico de Sofia Villani \\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Obtener una base de datos mantenible.\\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Obtener el proyecto base.\\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Obtener y analizar los resultados.\\

    \hline
\end{tabular}

这是结果:

在此处输入图片描述

使用用户@marmot 的解决方案

\begin{tabular}{|p{35mm}|p{30mm}|p{10mm}|p{10mm}|p{15mm}|p{30mm}|}
    \hline
    Nro. Objetivo Específico & Actividades & Fecha inicio & Fecha Fin & Recursos Necesarios & Resultados a obtener \\

    \hline
    \multirow{3}{=}{really think that creating such tables is much easier in ConTeXt than in LaTeX. really think that creating such tables is much easierreally think that creating such tables is much easierFor example} 
    & {really think that creating such tables is much easierFor} & {01-08-2016} & {01-08-2016} & {Javascript} & {really think that creating such tables is much easier}\\
    & {really think that creating such tables is much easier} & {01-08-2016} & {01-08-2016} & {IDE – mysql} & {really think that creating such tables is much easier}\\
    \hline


    \multirow{6}{=}{really think that creating such tables is much easier in ConTeXt than in LaTeX. For example} & Desarrollar un prototipo del proyecto & 01-08-2016 & 01-08-2016 & Nodejs- expressjs & Obtener el proyecto base \\
                             & really think that creating such tables is much easier) & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & really think that creating such tables is much easier. & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & really think that creating such tables is much easier & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & Desarrollar un prototipo del proyecto & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & really think that creating such tables is much easier) & {01-08-2016} & 01-08-2016 & {Training 1} & Objective 1\\

    \hline
\end{tabular}

结果是:

在此处输入图片描述

答案1

这是一个解决方案(我不知道你会使用什么表格,但原理是一样的)。\multirow{2}{}{}现在的文本不会与重叠,\multirow{6}{}{}因为添加了空格[3\baselineskip]

在此处输入图片描述

\documentclass{article}
\usepackage[utf8x]{inputenc} % For Spanish accented characters
\usepackage{multirow}
\usepackage{array}

\begin{document}

    \begin{tabular}{|p{35mm}|p{30mm}|p{10mm}|p{10mm}|p{16mm}|p{30mm}|}
    \hline
    Nro. Objetivo Específico & Actividades & Fecha inicio & Fecha Fin & Recursos Necesarios & Resultados a obtener \\
    \hline
    \multirow{2}{\linewidth}{\parbox{35mm}{really think that creating such tables is much easier in ConTeXt than in LaTeX. really think that creating such tables is much easier really think that creating such tables is much easier For example}}
    & {really think that creating such tables is much easier} & {01-08-2016} & {01-08-2016} & {Javascript} & {really think that creating such tables is much easier}\\
    & {really think that creating such tables is much easier} & {01-08-2016} & {01-08-2016} & {IDE – mysql} & {really think that creating such tables is much easier.}\\[3\baselineskip] \hline
    \multirow{6}{\linewidth}{\parbox{35mm}{\vspace{-9mm} really think that creating such tables is much easier in ConTeXt than in LaTeX. For example}} & Desarrollar un prototipo del proyecto & 01-08-2016 & 01-08-2016 & Nodejs- expressjs & Obtener el proyecto base \\
                             & really think that creating such tables is much easier & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & really think that creating such tables is much easier & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & really think that creating such tables is much easier & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & Desarrollar un prototipo del proyecto & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Objective 1\\
                             & really think that creating such tables is much easier) & {01-08-2016} & 01-08-2016 & {Training 1} & Objective 1\\

    \hline
\end{tabular}
\end{document}

答案2

更好的?

\documentclass{article}
\usepackage{multirow}
\begin{document}
    \begin{tabular}{|p{35mm}|p{30mm}|p{10mm}|p{10mm}|p{15mm}|p{30mm}|}
    \hline
    Nro. Objetivo Específico & Actividades & Fecha inicio & Fecha Fin & Recursos Necesarios & Resultados a obtener \\

    \hline

    \multirow{6}{=}{Sophia Loren, nombre artístico de Sofia Villani Scicolonenombre artístico de Sofia Villani Scicolonenombre artístico de Sofia Villani Scicolone (Roma, Reino de Italia, 20 de septiembre de 1934), es una actriz italiana .} & Sophia Loren, nombre artístico de Sofia Villani  & 01-08-2016 & 01-08-2016 & Nodejs- expressjs & Obtener el proyecto base \\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Sophia Loren, nombre artístico de Sofia Villani \\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Sophia Loren, nombre artístico de Sofia Villani \\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Obtener una base de datos mantenible.\\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Obtener el proyecto base.\\
                             & Sophia Loren, nombre artístico de Sofia Villani  & {01-08-2016} & 01-08-2016 & {Nodejs- expressjs} & Obtener y analizar los resultados.\\

    \hline
\end{tabular}
\end{document}

相关内容