Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Latex: Bash-Quote formatieren (https://www.delphipraxis.net/102380-latex-bash-quote-formatieren.html)

DGL-luke 27. Okt 2007 14:10


Latex: Bash-Quote formatieren
 
Hallo,

ich hab folgendes:

Zitat:

<matt> Can anyone help me solve a two body problem?
<dsk> Id sink them in the ocean or feed them to pigs
<dsk> but if you do the pigs make sure to remove hair and teeth first
<matt> Umm i meant in physics...
Wie formatiere ich das in Latex, damits anständig aussieht? Erstmal macht mir tex aus den spitzen Klammern komische Sachen, zweitens gibt es einen Umbruch, der dann hinter den nick eingerückt werden müsste...

EDIT:

Code:
\quote{
$\langle$ matt $\rangle$ Can anyone help me solve a two body problem? \\
$\langle$ dsk $\rangle$ Id sink them in the ocean or feed them to pigs \\
$\langle$dsk $\rangle$ but if you do the pigs make sure to remove hair and teeth first \\
$\langle$ matt $\rangle$ Umm i meant in physics... \\
}
Das is nicht soooo toll....

Luckie 27. Okt 2007 14:43

Re: Latex: Bash-Quote formatieren
 
Guck dir mal \begin{description} an. Eventuell geht das ja.

DGL-luke 27. Okt 2007 17:53

Re: Latex: Bash-Quote formatieren
 
Mirilin zeigt in einer PN viele schöne Möglichkeiten:

Code:
\documentclass{article}

\setlength{\parindent}{0em}
\begin{document}

$<$matt$>$ Can anyone help me solve a two body problem? \\
$<$dsk$>$  Id sink them in the ocean or feed them to pigs \\
$<$dsk$>$  but if you do the pigs make sure to remove hair and teeth first\\
$<$matt$>$ Umm i meant in physics...\\

\texttt{%
$<$matt$>$ Can anyone help me solve a two body problem? \\
$<$dsk$>$  Id sink them in the ocean or feed them to pigs \\
$<$dsk$>$  but if you do the pigs make sure to remove hair and teeth first\\
$<$matt$>$ Umm i meant in physics...\\}

\begin{verbatim}
<matt> Can anyone help me solve a two body problem?
<dsk> Id sink them in the ocean or feed them to pigs
<dsk> but if you do the pigs make sure to remove hair and teeth first
<matt> Umm i meant in physics...
\end{verbatim}

\begin{verbatim}
<matt> Can anyone help me solve a two body problem?
<dsk> Id sink them in the ocean or feed them to pigs
<dsk> but if you do the pigs make sure to remove hair and teeth first
<matt> Umm i meant in physics...
\end{verbatim}


\end{document}
Danke! (auch an Luckie natürlich ;-) )


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:38 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz