Consider the code:
\documentclass[12pt]{article}
\begin{document}
\begin{center}
\begin{LARGE}
\begin{minipage}{5.75in}
\textbf{\textit{Objective:} Though All the Lines (Except the Last) in This Paragraph (Which is to Serve as a Title) are Both Left and Right Justified, I Would Like the Last Line of a Paragraph of This Sort to Always be ``Centered''}
\end{minipage}
\end{LARGE}
\end{center}
\end{document}
which produces the output:
I would like to center the last line of the text, which keeping the right and left justification of the previous lines. So, I modified the above code by
\begin{minipage}{5.75in}
\textbf{\textit{Objective:} Though All the Lines (Except the Last) in This Paragraph (Which is to Serve as a Title) are Both Left and Right Justified, I Would Like the Last Line of a Paragraph of This Sort to Always be \vskip 1pt \hfill \hskip 12pt ``Centered'' \hfill}
\end{minipage}
which produces:
Finally, this modification
\begin{center}
\begin{LARGE}
\begin{minipage}{5.75in}
\textbf{\textit{Objective:} Though All the Lines (Except the Last) in This Paragraph (Which is to Serve as a Title) are Both Left and Right Justified, I Would Like the Last Line of a Paragraph \hfill of \hfill This \hfill Sort \hfill to \hfill Always \hfill be \vskip 1pt \hfill \hskip 12pt ``Centered'' \hfill}
\end{minipage}
\end{LARGE}
\end{center}
produces what I am looking for:
As one can see, there is a lot of ``forcing'' taking place to accomplish this task.
QUESTION: Is there a more (most) efficient way to produce the output I am looking for without continually having to make manual adjustments. Is there a way to accomplish this automatically in Latex? I tend to produce many ``titles'' of this type in documents and am looking for a way to do this efficiently.
Thank you.




\itshapewouldn't actualy depend on it being in minipage. – David Carlisle Mar 01 '21 at 20:27