\textbf{BC Calculus - Step-by-Step
\begin{flushright}{Name \underline{\hspace{2.6in}}}\end{flushright}}
  • You can't with flushright ... – user31729 Jan 2 '17 at 23:02
  • Welcome to TeX.SE. Next time please provide complete small document (called MWE: Minimal Working Example), which we test without to complete your code sniped to it. – Zarko Jan 2 '17 at 23:23

enter image description here

flushright is a display enviornment that can't be used inline, also I made the underline shorter so it fits.



\noindent X\dotfill X

\textbf{BC Calculus - Step-by-Step\hfill
  Name \underline{\hspace{1.6in}}}

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.