Generalproblem with \hfill

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

problem with \hfill

Post by QwareeqMathematics »

Hi all;

What is the problem in this code :

Code: Select all

\begin{note}\hfill
The previous corollary effects that the notions ``\textbf{semilattice}'' and ``\textbf{Boolean commutative semigroup}'' are equivalent and interchangeable.
\end{note}
to give this result :
hfill.PNG
hfill.PNG (14.05 KiB) Viewed 14657 times
Why it didn't give me full empty line after Note I.1.50 ? It was always gave me empty space after Note ? I tried to put it in theorems and definitions , and it gave me the same problem ?

Thank you :roll:

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem with \hfill

Post by localghost »

Please get used to always posting complete examples and not useless code snippets. Since you are not new to the forum you should already know that.

The problem is that you seem not to know what the \hfill command does. So you have to learn more about it. The result is no surprise to me. Describe precisely what you want to have instead.


Best regards
Thorsten
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

problem with \hfill

Post by QwareeqMathematics »

Please get used to always posting complete examples and not useless code snippets. Since you are not new to the forum you should already know that.
Sorry dude, Do you mean by complete example to put my premable and the necessary details to illustrate my problem ?

The problem is that you seem not to know what the \hfill command does. So you have to learn more about it. The result is no surprise to me. Describe precisely what you want to have instead.
What I need is to get space after the word [Note I.1.50] along line and the word [The previous corollary ...etc] start at new line ?

thank you ;)
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

problem with \hfill

Post by QwareeqMathematics »

Oh , I see I should put :

Code: Select all

\hfill \\ 
after \begin{note} instead of \hfill only.


OK, for future post , what is complete example ?

Thank you for your patient ;)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

problem with \hfill

Post by localghost »

QwareeqMathematics wrote:[...] OK, for future post , what is complete example ? [...]
»Complete« in this context means full and compilable for everybody without any unnecessary packages and declarations of new commands. Ever heard of a minimal working example (MWE)?
QwareeqMathematics
Posts: 68
Joined: Mon Jul 06, 2009 7:44 pm

problem with \hfill

Post by QwareeqMathematics »

localghost wrote:
QwareeqMathematics wrote:[...] OK, for future post , what is complete example ? [...]
»Complete« in this context means full and compilable for everybody without any unnecessary packages and declarations of new commands. Ever heard of a minimal working example (MWE)?
I heard by MWE, and I will be more precisely next time when I post here .

Thank you ;)
Post Reply