AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Latex: Bash-Quote formatieren

Ein Thema von DGL-luke · begonnen am 27. Okt 2007 · letzter Beitrag vom 27. Okt 2007
Antwort Antwort
Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#1

Latex: Bash-Quote formatieren

  Alt 27. Okt 2007, 14:10
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....
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat
Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Latex: Bash-Quote formatieren

  Alt 27. Okt 2007, 14:43
Guck dir mal \begin{description} an. Eventuell geht das ja.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat
Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#3

Re: Latex: Bash-Quote formatieren

  Alt 27. Okt 2007, 17:53
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 )
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:09 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