我想将以下文本在文档的右侧对齐:
Examiner:
Professor Name....
Submitted by:
Student Name.....
我尝试使用 \flushright 和 latex 返回:
Examiner:
Professor Name.......
Submitted by:
Student Name.........
因此,我想实现第一个例子。有人知道怎么做吗?提前谢谢您!
答案1
一种可能性是:
\documentclass{article}
\begin{document}
\begin{flushright}
\begin{minipage}{4cm}
Examiner:
Professor Name\dots
\bigskip
Submitted by:
Student Name\dots
\end{minipage}
\end{flushright}
\end{document}