如何左對齊信函末尾也居中的部分

如何左對齊信函末尾也居中的部分

我試圖模仿以下結束語,例如,在以下摘錄中:

在此輸入影像描述

以下 MWE 提供了結束語第一部分的近似值;但是,第二個——似乎既左對齊又居中——給我帶來了最大的麻煩。

微量元素:

\documentclass[12pt]{article}
\begin{document}

Our Blessed Saviour for His goodness to our Confraternity, and for our salvation through His Blood.

\vspace*{10pt}

\begin{flushright}
  \begin{tabular}{@{} l @{}}
    Your affectionate Servant and Father \\
    {\scshape{Frederick William Faber,}} \\
    Priest of the Oratory.
  \end{tabular}
\end{flushright}

\begin{flushleft}
\begin{center}
\begin{small}
The London Oratory. \\
Feast of the Conversion of St. Paul. \\
1860.
\end{small}
\end{center}
\end{flushleft}
\end{document}

產生

在此輸入影像描述

有人可以建議我如何讓以「倫敦演講」開頭的三行類似於上面的摘錄嗎?謝謝。

答案1

你放tabular錯地方了。

\documentclass[12pt]{article}
\usepackage{baskervillef}

\begin{document}

Our Blessed Saviour for His goodness to our Confraternity,
and for our salvation through His Blood.

\vspace*{10pt}

\begin{flushright}
  Your affectionate Servant and Father\hspace*{1em} \\[1ex]
  \textsc{Frederick William Faber,}\hspace*{2em} \\[1ex]
  Priest of the Oratory.\hspace*{2em}
\end{flushright}

\begin{flushleft}\footnotesize
\begin{tabular}{@{}c@{}}
The London Oratory. \\
Feast of the Conversion of St. Paul. \\
1860.
\end{tabular}
\end{flushleft}

\end{document}

在此輸入影像描述

答案2

沿著這個有什麼東西嗎?透過將文字包裝在minipage環境中。

\documentclass[12pt]{article}
\begin{document}

Our Blessed Saviour for His goodness to our Confraternity, and for our salvation through His Blood.

\vspace*{10pt}

\begin{flushright}
  \begin{tabular}{@{} l @{}}
    Your affectionate Servant and Father \\
    {\scshape{Frederick William Faber,}} \\
    Priest of the Oratory.
  \end{tabular}
\end{flushright}

\begin{flushleft}
\begin{minipage}{0.5\textwidth} %Here!
\begin{center}
\begin{small}
The London Oratory. \\
Feast of the Conversion of St. Paul. \\
1860.
\end{small}
\end{center}
\end{minipage}
\end{flushleft}
\end{document}

答案3

只是為了好玩:我也嘗試過\hangindent\handafter,但使用\rightskip更容易。

\documentclass{article}
\usepackage{showframe}
\begin{document}

\vbox{\raggedleft
\rightskip=1em
Your affectionate Servant and Father\par
\rightskip=2em
{\scshape{Frederick William Faber,}} \\
Priest of the Oratory.}

\end{document}

相關內容