修复“表格”问题

修复“表格”问题

我遇到以下代码的问题

\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}

\usepackage{geometry}
\geometry{left=2cm,right=2cm,top=1.5cm,bottom=1.5cm}

\usepackage{pifont}
\usepackage{sectsty}

\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm}

\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}

\frenchspacing
\sectionfont{%
  \fontfamily{phv}\bfseries
  \sectionrule{0pt}{0pt}{-5pt}{1pt}%
}
\pagestyle{empty}

    \begin{document}

   \section*{Academic Qualifications}
   \begin{tabular}{rl}
   \textsc{Dec.2016-Now :}
    &PhD Student in ........., \textbf{Faculty of Sciences of ......}, 
     ......... spaces.\\
  & Ongoing thesis title: On extreme points of the joint numerical range of 
     commuting normal operators,.\\
  \multicolumn{2}{c}{} \\   
   \textsc{October 2016 :}
  & Master Thesis in ........ at the \textbf{Faculty of Sciences of 
    ........}, ...........
   \end{tabular}
    \end{document}

编译后我得到

在此处输入图片描述

答案1

tabularx只需与列一起使用即可X

我建议你也把 s 去掉:。至少不要在单词和 之间留空:,在我看来,这很丑陋,而且据我所知,它在英语中不常用。

\documentclass[a4paper,10pt]{article}
\usepackage[T1]{fontenc}

\usepackage{geometry}
\geometry{left=2cm,right=2cm,top=1.5cm,bottom=1.5cm}

\usepackage{pifont}
\usepackage{sectsty}
\usepackage{tabularx}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amsthm}

\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue]{hyperref}

\frenchspacing
\sectionfont{%
  \fontfamily{phv}\bfseries
  \sectionrule{0pt}{0pt}{-5pt}{1pt}%
}
\pagestyle{empty}

    \begin{document}

   \section*{Academic Qualifications}
   \begin{tabularx}{\linewidth}{rX}
   \textsc{Dec.2016-Now}
    &PhD Student in ........., \textbf{Faculty of Sciences of ......}, 
     ......... spaces.\\
  & Ongoing thesis title: On extreme points of the joint numerical range of 
     commuting normal operators,.\\
  \multicolumn{2}{c}{} \\   
   \textsc{October 2016}
  & Master Thesis in ........ at the \textbf{Faculty of Sciences of 
    ........}, ...........
   \end{tabularx}
    \end{document}

在此处输入图片描述

相关内容