I'm trying to align the minipage with the supervisor information on the left, and the minipage with the candidate information on the right. But the \RaggedRight
and \RaggedLeft
commands seem to have no effect. I checked that the ragged2e
package is properly included and I also tried to use the basic version of LaTex \raggedright
and \raggedleft
but I didn't notice any changes. I don't get errors and both minipages remain aligned to the left, as I think is by default. The commands seem to have no effect, why is that?
% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = pdflatex
\makebox[\textwidth]{\null\hfill\def\arraystretch{2}% % to change the spacing change this number
\begin{minipage}[t]{.5\textwidth}\RaggedRight
\begin{tabular}[t]{@{}l@{}}
\fixednamesfont \textbf{\thesissupervisortext} \\
\namesfont \xmakefirstuc{\thesissupervisoronetitle}~\thesissupervisoronename~\thesissupervisoronesurname\\
\namesfont \xmakefirstuc{\thesissupervisortwotitle}~\thesissupervisortwoname~\thesissupervisortwosurname\\
\end{tabular}
\end{minipage}
%
\hfill
%
\begin{minipage}[t]{.5\textwidth}\RaggedLeft
\begin{tabular}[t]{@{}l@{}}
\fixednamesfont \textbf{\thesiscandidatetext} \\
\namesfont \thesiscandidatename~\thesiscandidatesurname
\end{tabular}
\end{minipage}\hfill\null}\\
l
even in the right aligned minipage. (you could simply remove the minipage they are doing nothing useful here.l
in{@{}l@{}}
explicitly requests this cell to be left aligned. If you want it to be right aligned, change it tor
.