Force text in minipage to top

by user169808   Last Updated October 10, 2019 01:23 AM - source

Hi I am trying to force text to the top of a minipage, but nothing seems to be working. I am still new to Latex do I dont know much. I am using overleaf to edit the file I put two minipages side by side, the right side is what I expect, but the left side is keeping everything in the center of the minipage. this is what the text looks like (I want B862a to go to the top of the page, next to ferrando) enter image description here

the code that is supposed to generate this part is this:

\newcommand{\insereFichaCatalografica}{ 
 \begin{fichacatalografica}%\color{blue}

 \IfFileExists{metadados/FichaC.pdf}
    {\includepdf[pages=-]{metadados/FichaC}}
    {
    \vspace*{\fill}                 % Posição vertical
    %\hrule                         % Linha horizontal
    \begin{center}
        Ficha catalográfica elaborada automaticamente com os dados fornecidos \\
        pelo(a) autor(a) através do Módulo de Biblioteca do \\
        Sistema GURI (Gestão Unificada de Recursos Institucionais) .





\end{center}
\vspace{-15 mm}
\begin{center}                  % Minipage Centralizado
\begin{minipage}[c]{10cm}       % Largura

\end{minipage}
\end{center}

\vspace{0cm}
\fbox{

\begin{center}                  % Minipage Centralizado
\begin{minipage}[T!]{12.5cm}        % Largura

\begin{minipage}[T!]{.1\textwidth}
    B862a
    \vspace{\fill}
\end{minipage}
\begin{minipage}{.75\textwidth}

\ImprimirUltimoPrimeiro

\hspace{12pt} \imprimirtitulo  / \imprimirautor. --
\imprimirlocal, \imprimirdata-
\hspace{0.5cm} \pageref{LastPage} p. : il. (algumas color.) ; 30 cm.\\
\hspace{5mm}

\hspace{0.5cm}\parbox[t]{\textwidth}{\imprimirtipotrabalho~- -~ \\ \imprimirinstituicao, \MakeUppercase\ImprimirCurso, \\
\imprimirdata.}\\

\hspace{0.5cm} 
\ifthenelse{\equal{\imprimirorientador}{}}
        {\imprimirorientadoraRotulo~\imprimirorientadora}
        {\imprimirorientadorRotulo~\imprimirorientador}
\\
\\
\hspace{2mm}
   \PCT
   %\begin{minipage}{.80\textwidth}
    %   1. \PCT

\end{minipage}


\end{minipage}
\end{center}
}
%\hrule
 }
 \end{fichacatalografica}
}


Related Questions


How to fix underfull \vbox error

Updated September 13, 2018 19:23 PM


Add vertically-aligned text between two enumerate items

Updated February 09, 2019 12:23 PM