Questions tagged [hfill]

21 questions
4
votes
1 answer

How to draw a rectangle filling the page after some text?

I would like to have a command \myTitle{Example} that would draw a rectangle starting after the text "Example" and going up to the right margin of the page. This is how it would look like. How can I do?
Colas
  • 6,772
  • 4
  • 46
  • 96
1
vote
2 answers

Problem with ''\hfill''

\documentclass{article} \usepackage{amsfonts,amsmath,amssymb,graphicx,amsthm,mathtools,systeme} \begin{document} \noindent Answer using ``T'' for True or ``F'' for False for the given statements: \begin{enumerate} \item The differential equation…
Student
  • 1,134
  • 2
  • 9
  • 27
0
votes
1 answer

Rewrite command to align text following \hfill in first row

the following command \newcommand{\twentyitem}[5]{% \\ \parbox[t][][t]{18mm}{\raggedright \small #1}& \parbox[t]{0.83\textwidth}{% \textbf{#2}% \hfill% {\emph{\scriptsize#3}}\\% #4\\% \emph{\small#5} …
m0byn
  • 17
0
votes
1 answer

why the \hfill command could not handle the newline

Today I am using \hfill to make two column in one page, when the code write like this: \begin{minipage}[t]{0.25\textwidth} \end{minipage} \hfill \begin{minipage}[t]{0.73\textwidth} \end{minipage} the document works fine, but when I put a new line…
Dolphin
  • 843