[Tex/LaTex] Minipage title structure problem

minipage

enter image description here

I can't have the title and dates on the same line in the right place just for this, rest of document is ok. I tried adjusting \textwidth in all possible ways and it is still not working

\begin{minipage}{1\textwidth}
\begin{flushleft}
    \textbf{Tianjin Foreign Studies University}, French Language and Literature
\end{flushleft}
\end{minipage}
\begin{minipage}{0.5\textwidth}
\begin{flushright}
  \textbf{Sep 11 - Jul 14} \\%[1.1cm]
\end{flushright}
\end{minipage}


\begin{itemize}[leftmargin=0.5in]
\item \textbf{Obtained 93/100} in the graduation thesis
\end{itemize}

Best Answer

The combined with of the minipages in your example is 150% textwidth, which will not fit on a single line. The result is that you second minipage is moved to the next line.

As soon as the combined with is <= textwidth, they will be placed next to each other. As bonus you can specify that the content of the minipage shall be top aligned using the option [t].

\documentclass{article}

\begin{document}
\noindent\begin{minipage}[t]{.6\textwidth}
\textbf{Tianjin Foreign Studies University}, 

French Language and Literature
\end{minipage}%
\begin{minipage}[t]{.4\textwidth}
\hfill\textbf{Sep 11 - Jul 14}
\end{minipage}

\end{document}

enter image description here

Related Question