title: How to place a symbol to the right of the last item
body: <p>I have created an environment and I want to put a symbol (<code>$\circ$</code>) to the right of the last item of an itemize, which is inside the environment. However, using <code>\hspace*{\fill}$\circ$</code> places <code>$\circ$</code> at the end of the next line (after the last item). How can I fix this?</p>
  <p>Here is the code of the environment:</p>
  <pre><code>\newenvironment{algoritmo}[3]
  {
  \setitemize     {labelindent=\parindent, leftmargin=*, labelsep=1em, itemindent=0em, rightmargin=0em, 
  topsep=0em, parsep=0em, partopsep=0em, itemsep=0em}
  \setenumerate   {labelindent=\parindent, leftmargin=*, labelsep=1em, itemindent=0em, rightmargin=0em, 
  topsep=0em, parsep=0em, partopsep=0em, itemsep=0em}
  \begin{Alg}[#2]
  \label{#1}
  \normalsize
  \rmfamily
  \itshape
  ``#3''
  \vspace{1ex}
  }
  { 
  \hspace*{\fill}$\circ$
  \end{Alg}
  }
  </code></pre>
  <p>Thanks.</p>
  <p><a href="https://i.stack.imgur.com/IwPSa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IwPSa.png" alt="enter image description here" /></a></p>