\documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[portuguese]{babel} % 或“巴西”
\新命令\名称组1{% \begin{minipage}[t]{0.4\textwidth} \vspace*{1.5cm} % 在水平线上方留出一些空间 \hrule \vspace{1mm} % 水平线下方留出一点空白 \centering \begin{tabular}[t]{c} #1 \end{tabular} \end{minipage}}
\开始{文档}
APROVADO: 5 de Dezembro de 2017.
\begin{center}
\namegroup{Prof.$^a$ Daniele Cristiane Menezes\\(UFV)}
\hspace{1.5cm}
\namegroup{Prof.$^a$ Rita de Cássia Superbi de Sousa\\(UFV)}
\namegroup{Prof. Emilio Borges\\(Orientador)\\(UFV)}
\hspace{1.5cm}
\namegroup{Prof.$^a$ Rejane de Castro Santana\\ (Presidente da banca e coordenadora da disciplina) \\(UFV)}
\end{center}
答案1
我建议设置一个输出固定宽度minipage
环境的宏,由一条水平线和一个人的姓名、角色和隶属关系组成。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel} % or "brazilian"
\usepackage{helvet} % just for this example
\newcommand\namegroup[1]{%
\begin{minipage}[t]{0.4\textwidth}
\vspace*{1.5cm} % leave some space above the horizontal line
\hrule
\vspace{1mm} % just a bit more whitespace below the line
\centering
\begin{tabular}[t]{c}
#1
\end{tabular}
\end{minipage}}
\begin{document}
\sffamily % just for this example
APROVADA: 30 de abril de 2011.
\begin{center}
\namegroup{Prof. José Carlos Almeida\\(Coorientador)\\(UFV)}
\hspace{1.5cm}
\namegroup{Prof. Mario Dias Silva\\(Coorientador)\\(UFV)}
\namegroup{Prof. Maria Clara Paiva\\(UFV)}
\hspace{1.5cm}
\namegroup{Prof. Marina Gomes\\(UFV)}
\namegroup{Prof. Jo{\~a}o Silva Neto\\(Orientador)\\(UFV)}
\end{center}
\end{document}
答案2
我添加了一个笨拙但有效的解决方案。
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{center}
\begin{tabular}{cc}
$\overline{\qquad\text{Prof.\ Jos\'e Carlos Almeda}\qquad}$ \quad& \quad
$\overline{\qquad\text{Prof.\ Jos\'e Carlos Almeda}\qquad}$ \\
(Coorientador) & (Coorientador) \\
(UFW) & (UFW) \\[1cm]
$\overline{\qquad\text{Prof.\ Jos\'e Carlos Almeda}\qquad}$ \quad& \quad
$\overline{\qquad\text{Prof.\ Jos\'e Carlos Almeda}\qquad}$ \\
(Coorientador) & (Coorientador) \\
(UFW) & (UFW)
\end{tabular}\\[1cm]
$\overline{\qquad\text{Prof.\ Jos\'e Carlos Almeda}\qquad}$\\
(Coorientador) \\
(UFW)
\end{center}
\end{document}
我没有抄袭你们的名字,只是反复使用同一个名字。可以找到更优雅的解决方案,例如这里。