3

Total noob at LaTex, but I'm learning! Trying to make the bottom of the smaller right text align with the bottom of the left text.

enter image description here

My LaTeX is

{\fontsize{40}{55}\selectfont Name}

\begin{minipage}[t]{14.1cm}

\flushright

Email\\

Phone Number\\

\end{minipage}

\line(1,0){500}

Any advice? Thanks!

  • 1
    Welcome! Please always post complete but minimal code i.e. can you make this into a small document we can compile to reproduce the problem? – cfr Sep 12 '16 at 2:02
  • i think you want to use [b] to align the bottom baseline, not the top. – barbara beeton Sep 12 '16 at 3:19
3

As far as I understand:

\documentclass{article}


\begin{document}
\oddsidemargin-2cm

You have

\bigskip

{\fontsize{40}{55}\selectfont Name}

\begin{minipage}[t]{14.1cm}

\flushright

Email\\

Phone Number\\

\end{minipage}

\line(1,0){500}

\bigskip

You want to

\bigskip

{\fontsize{40}{55}\selectfont Name}
\hfill
\begin{minipage}[b]{14.1cm}

\flushright

Email\\

Phone Number\\

\end{minipage}

\line(1,0){500}


\end{document}

enter image description here

Your idea was correct, but there should be b bottom, not t top. And probably you want have minipage, lines etc. in some way dependend on \textwidth or \linewidth of your work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.