0

I would like to align the following text on the right side in my document:

                                                                      Examiner: 
                                                                      Professor Name....

                                                                      Submitted by: 
                                                                      Student Name..... 

I tried to use \flushright and latex returns:

                                                                                  Examiner: 
                                                                      Professor Name.......

                                                                              Submitted by: 
                                                                      Student Name......... 

Hence, I would like to implement the first example. Does anyone know how to do it? Thank you in advance!!

1
  • 1
    Welcome to TeX SX! Try using again \flushright, but additionally putting the whole text in a \begin{tabular}{l} … \end{tabular}.
    – Bernard
    Aug 28, 2022 at 12:06

1 Answer 1

1

One possibility is this:

\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}
2
  • Thank you very much, it worked perfectly!!
    – Vin
    Aug 28, 2022 at 12:50
  • I would have gone with \hspace*(\fill} for a single minipage. Aug 28, 2022 at 15:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .