Edit: To clarify a bit regarding the comments: this simple command is intended as an answer to the simple question, how to insert a symbol at the end of the line.
The mentioned \Box may lead to the assumption, that the question might be about a proof. The highly upvoted comment of TH. still awaits an answer by the questioner. In the case of a proof it's strongly recommended to use
amsthm with its proof environment, mentioned by TH., daleif, and Barbara, or
ntheorem with proper placement of such endmarks even after a displayed math environment or a list.
The biblatex package provides the \addthinspace macro which "[a]dds a breakable thin space" (manual, section 4.7.4). Here's a variant that omits the biblatex-specific stuff. (Note that \, in text mode uses \thinspace which is defined as \kern 0.16667em.)
Best Answer
Simply use
\hfill
before\Box
:Edit: To clarify a bit regarding the comments: this simple command is intended as an answer to the simple question, how to insert a symbol at the end of the line.
The mentioned
\Box
may lead to the assumption, that the question might be about a proof. The highly upvoted comment of TH. still awaits an answer by the questioner. In the case of a proof it's strongly recommended to useamsthm
with itsproof
environment, mentioned by TH., daleif, and Barbara, orntheorem
with proper placement of such endmarks even after a displayed math environment or a list.The answers to Theorem packages: which to use, which conflict? can help in deciding which to use.