我想将文本对齐如上图所示。从主管开始到帕蒂亚拉。我使用了 flushright,但它将文本从右侧对齐,如下图所示。我该如何纠正这个问题?
答案1
这可以通过以下环境实现tabular
:
\documentclass[10pt]{report}
\begin{document}
\begin{center}
\textbf{CERTIFICATE}
\end{center}
This is to certify that...
\begin{flushright}
\textbf{
\begin{tabular}{l}
SUPERVISOR\\
\\
Dr./Er. XXX\\
Professor/Assistant Professor,\\
Department of Computer Engineering,\\
Punjabi University,\\
Patiala
\end{tabular}
}
\end{flushright}
\end{document}