Using geman ö and ß in Bibtex
6,451
The error is in your entry. You are typing: R{\"o}{\ss}~ler
. However the token ~
forces a space. So simple write: R{\"o}{\ss}ler
.
Here the correct entry:
@incollection{mathe,
year={2012},
isbn={978-3-642-32256-3},
booktitle={Statistik für Wirtschaftswissenschaftler},
series={BA KOMPAKT},
doi={10.1007/978-3-642-32257-0_4},
title={Wahrscheinlichkeitsrechnung},
url={http://dx.doi.org/10.1007/978-3-642-32257-0_4},
publisher={Springer Berlin Heidelberg},
author={R{\"o}{\ss}ler, Irene and Ungerer, Albrecht},
pages={83-136},
language={German}
}
The following options only work with a KOMA class. In your case it ought be scrartcl
.
numbers=noendperiod,headings=normal,%
appendixprefix=true,bibliography=totoc,
listof=totoc
Here a correct mwe
\documentclass[a4paper,12pt,fleqn,oneside,%
numbers=noendperiod,headings=normal,%
appendixprefix=true,bibliography=totoc,
listof=totoc]%
{scrartcl}
\usepackage{natbib}
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc} %Spezialzeichen in Tex-Code
\usepackage[T1]{fontenc}
\usepackage{hyperref}
\usepackage{filecontents}
\begin{filecontents}{MeineBib.bib}
@incollection{mathe,
year={2012},
isbn={978-3-642-32256-3},
booktitle={Statistik für Wirtschaftswissenschaftler},
series={BA KOMPAKT},
doi={10.1007/978-3-642-32257-0_4},
title={Wahrscheinlichkeitsrechnung},
url={http://dx.doi.org/10.1007/978-3-642-32257-0_4},
publisher={Springer Berlin Heidelberg},
author={R{\"o}{\ss}ler, Irene and Ungerer, Albrecht},
pages={83-136},
language={German}
}
\end{filecontents}
\begin{document}
Standardnormalverteiung ben\"otigt (\citep[S. 123]{mathe}).
\bibliographystyle{dinat}
\bibliography{MeineBib}
\end{document}
Related videos on Youtube
Author by
Sid
Updated on May 14, 2020Comments
-
Sid over 3 years
in my Bibtex file i name the Author:
author={R{\"o}{\ss}ler, Irene and Ungerer, Albrecht}
, but in the literature list it strangely outputs this:[Rößler und Ungerer 2012] RÖSSLER, Irene; UNGERER, Albrecht:...
where the second RÖSSLER should also be RÖßLER
Update2: MWE
\documentclass[a4paper,12pt,fleqn,oneside,numbers=noendperiod,headings=normal,appendixprefix=true,bibliography=totoc,listof=totoc]{article} \usepackage{natbib} \usepackage[ngerman]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \begin{document} Standardnormalverteiung ben\"otigt (\citep[S. 123]{mathe}). \bibliographystyle{dinat} \bibliography{MeineBib} \end{document}
MeineBib:
@incollection{mathe, year={2012}, booktitle={Statistik für Wirtschaftswissenschaftler}, series={BA KOMPAKT}, title={Wahrscheinlichkeitsrechnung}, publisher={Springer Berlin Heidelberg}, author={R{\"o}{\ss}ler, Irene and Ungerer, Albrecht}, pages={83-136}, language={German} }
-
Marco Daniel over 10 yearsWelcome to TeX.SX! I guess you are using the wrong document class. All options are related to
scrartcl
instead ofarticle
. Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with\documentclass{...}
and ending with\end{document}
. -
Alan Munn over 10 yearsDuplicate of How to code ß (German "sharp S") in BibTeX?
-
Sid over 10 yearsYes i am using the answer that Alan proposed ...
-
Simifilm over 10 yearsIsn't the reason simply that there is no capital ß (Ok, I know that Unicode recently ratified it, but what do they know?).
-
Alan Munn over 10 yearsIf you are getting this output then you need to show exactly a small complete document that shows the problem. Can you also paste the exact entry from your
.bib
file. I suspect you have an extra space there, perhaps. -
Frank Mittelbach over 10 years@Simifilm the extra space in the output is his problem, but to understand that one needs a full MWE ... something fishy here
-
Sid over 10 yearsyes... working on it... the bibtex entry is as follows >@incollection{mathe, year={2012}, isbn={978-3-642-32256-3}, booktitle={Statistik f{\"u}r Wirtschaftswissenschaftler}, series={BA KOMPAKT}, doi={10.1007/978-3-642-32257-0_4}, title={Wahrscheinlichkeitsrechnung}, url={dx.doi.org/10.1007/978-3-642-32257-0_4}, publisher={Springer Berlin Heidelberg}, author={R{\"o}{\ss}ler, Irene and Ungerer, Albrecht}, pages={83-136}, language={German} }
-
mafp over 10 yearspossible duplicate of How to code ß (German "sharp S") in BibTeX
-
doncherry over 10 years@user30652 You can edit your question when you’re providing more code. Also see the bottom of my answer at I've just been asked to write a minimal example, what is that? for a hint on how to include biliography MWEs. (And a tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it).)
-
Marco Daniel over 10 yearsAs written -- you are using the wrong document class!
-
Andrew Swann over 10 yearsThe posted
.bib
file contains a~
after{\ss}
. This will give a hard coded space; it should simply be removed. -
Sid over 10 yearsThank you Andrew, i dont know where that came from... it solved the space issue... sadly the RÖSSLER issue in the Literature list still exists. @Marco im not sure how the document class is related to my problem... Still working on the MWE i think i messed it up ;)
-
doncherry over 10 years@user30652 If you don’t want to have to type
ben\"otigt
every time, check out Automatically change é to \'e – most convenient setup for accented letters?. -
Sid over 10 yearsthanks, i didnt know i could do that... saved me alot of frustration ;)
-
-
Sid over 10 yearsThank you, but the second entry "RÖSSLER" is still with SS instead of ß im new to this and im trying my best. sorry for any inconveniences caused by my poor forum skills :)
-
Sid over 10 yearsAnyway i found out that SS in the "small capitals" font is the correct translation for ß. I didnt know that :D. Thank you Marco for your answer.
-
cgnieder over 10 years@Sid officially there is no uppercase “ß” and also no small caps “ß” and “SS” is orthographically correct there. (Some fonts do have uppercase and sc versions of “ß”, though...)
-
doncherry over 10 years@Sid If you want an uppercase ß (ẞ –
ẞ
), you can use XeLaTeX and the packagesfontspec
andlibertine
: i.stack.imgur.com/XMGvh.png -
cgnieder over 10 years@doncherry Go, libertine! :) (The ẞ could be kerned a little bit closer to the ö, though... or the small caps could be spaced out more... or both...)