Discussion:
Ende einer Zeile rechtsbündig mit \hfill
(zu alt für eine Antwort)
Frank Schoenmann
2005-07-17 23:42:41 UTC
Permalink
hi

Ich bin auf ein merkwürdiges Problem gestoßen. Ich möchte (zur
Einfügung der Quelle von Zitaten) das Ende einer Zeile rechtsbündig
stehen haben. Ich habe versucht, das mit \hfill zu erreichen. So sieht
mein entsprechender LaTeX-Code aus (Dokumentklasse ist scrreprt, falls
das entscheidend ist):

=== cut ===
\begin{quote}
The real problem was controlling the motion. Implementing physical
simulation
without fairly sohpisticated control requires the user to supply
detailed
dynamic control instructions (forces and torques) rather than detailed
kinematic
specifications (positions).
\hfill\textnormal{---\citep[S. 272 f.]{BBZ:mtm:de}}
\end{quote}
=== cut ===

Leider funktioniert das nicht wie beabsichtigt. Ich möchte, dass es so
aussieht:

=== cut ===
The real problem was controlling the motion. Implementing
physical simulation without fairly sohpisticated control
requires the user to supply detailed dynamic control
instructions (forces and torques) rather than detailed
kinematic specifications . [Quelle, S.242 f.]
=== cut ===

Allerdings wird der letzte Teil der Zeile umgebrochen, so dass im
Endeffekt folgendes rauskommt:

=== cut ===
The real problem was controlling the motion. Implementing
physical simulation without fairly sohpisticated control
requires the user to supply detailed dynamic control
instructions (forces and torques) rather than detailed
kinematic specifications . [Quelle, S.242
f.]
=== cut ===

Kann mir das mal jemand erklären und hat vielleicht eine Lösung für
dieses Problem?
--
bye, Frank!
Herbert Voss
2005-07-18 05:57:16 UTC
Permalink
Post by Frank Schoenmann
Ich bin auf ein merkwürdiges Problem gestoßen. Ich möchte (zur
Einfügung der Quelle von Zitaten) das Ende einer Zeile rechtsbündig
stehen haben. Ich habe versucht, das mit \hfill zu erreichen. So sieht
mein entsprechender LaTeX-Code aus (Dokumentklasse ist scrreprt, falls
=== cut ===
\begin{quote}
The real problem was controlling the motion. Implementing physical
simulation
without fairly sohpisticated control requires the user to supply
detailed
dynamic control instructions (forces and torques) rather than detailed
kinematic
specifications (positions).
\hfill\textnormal{---\citep[S. 272 f.]{BBZ:mtm:de}}
\hfill\mbox{\textnormal{---\citep[S. 272 f.]{BBZ:mtm:de}}}

Herbert
--
http://TeXnik.de/
http://PSTricks.tug.org/
ftp://ftp.dante.de/tex-archive/info/math/voss/mathmode/Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
Frank Schoenmann
2005-07-18 09:30:23 UTC
Permalink
hi Herbert,

danke, das klappt wunderbar... :)
--
bye, Frank!
Loading...