Seite 1 von 1

Raute ohne Mathemodus

Verfasst: Do 16. Okt 2014, 15:38
von mandragora
Hallo,

verwende erst seit kurzem Latex und stehe jetzt vor em Problem, dass ich einen Link angeben muss, der ein # enthält.
habe \# eingegeben, aber Latex schaltet auf mathmode um und der Link ist nur halb und kursiv vorhanden.

Was kann ich tun um # als normales Sonderzeichen im Fließtext zu integrieren?

Vielen Dank im Vorhinein,
mandragora

Verfasst: Do 16. Okt 2014, 15:42
von Johannes_B
Du bist bestimt auf der Suche nach dem Paket url und dem dazugehörigen Kommando \url{\pfad\mit\einem#}.

Re: Raute ohne Mathemodus

Verfasst: Do 16. Okt 2014, 15:53
von u_fischer
mandragora hat geschrieben: Was kann ich tun um # als normales Sonderzeichen im Fließtext zu integrieren?
Uns zeigen, wie du es schaffst, dass \# in den Mathemodus schaltet. Bei mir passiert das nicht:
\documentclass{article}
\begin{document}
a\#bc
\end{document}

Verfasst: Do 16. Okt 2014, 17:20
von mandragora
Was ich eingebe ist folgendes:
\caption[Sundance Raphael 15:22, 19. Dez. 2006 (CET).Original uploader was Sundance Raphael at de.wikibooksderivative work: Fujnky (talk) - Rutherfordscher\_Streuversuch.svg. Lizenziert unter Public domain über Wikimedia Commons - http://commons.wikimedia.org/wiki/File:Rutherford\_Scattering.svg\#mediaviewer/File:Rutherford\_Scattering.svg]{Goldfolienexperiment Versuchsaufbau}
\end{figure}
Will damit unterschiedliche Texte unterm Bild und im Abbildungsverzeichnis erreichen.

Die Fehlermeldung die er mir dabei ausgibt:! Missing $ inserted.
<inserted text>
$
l.3 ...viewer/File:Rutherford\_Scattering.svg}}{4}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
LaTeX Warning: Command \" invalid in math mode on input line 3.
! Please use \mathaccent for accents in math mode.
<recently read> \accent
l.3 ...viewer/File:Rutherford\_Scattering.svg}}{4}
I'm changing \accent to \mathaccent here; wish me luck.
(Accents are not the same in formulas as they are in text.)
! Missing { inserted.
<to be read again>
\fontdimen
l.3 ...viewer/File:Rutherford\_Scattering.svg}}{4}
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
! Extra }, or forgotten $.
\@dottedtocline ...\nobreak \hskip -\leftskip {#4}
\nobreak \leaders \hbox {$...
l.3 ...viewer/File:Rutherford\_Scattering.svg}}{4}
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
! Missing $ inserted.
<inserted text>
$
l.3 ...viewer/File:Rutherford\_Scattering.svg}}{4}
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (814.77306pt too wide) in paragraph at lines 3--3
\OT1/cmr/m/n/10.95 Fu-jnky (talk) - Rutherfordscher$[]\OML/cmm/m/it/10.95 treu
versuch:svg:LizenziertunterPublicdomain[] []$
[]
)
\tf@lof=\write4
\openout4 = `"Wie hilft uns dei Schrödingergleichung bei unserem Verständnis
vom Aufbau der Materie?.lof"'.
! Missing } inserted.
<inserted text>
}
l.101 \listoffigures
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing } inserted.
<inserted text>
}
l.101 \listoffigures
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
[6]

Verfasst: Do 16. Okt 2014, 17:24
von u_fischer
Ich habe nicht ohne Grund ein *vollständiges* Beispiel gezeigt. Mach das bitte auch. Schnipsel sind sinnlos.

Verfasst: Do 16. Okt 2014, 17:28
von Johannes_B
Du hast da Unterstriche drinnen, diese wechseln in den Mathemodus. Aber warum nutzt du denn nicht url?

Davon abgesehen bezweifle ich die Sinnhaftigkeit die Quellenangabe im LOF zu haben. Pack die entweder ans Objekt, oder pack die ins Literatur-/Quellenverzeichnis

Verfasst: Do 16. Okt 2014, 17:46
von mandragora
...gut, hat sich erledigt, habe \url verwendet, danke!