von Gast » Mi 23. Jan 2019, 15:04
Wahrscheinlich habe ich etwas übersehen aber probier es mal mit den folgenden Änderungen
--- VancouverKLPU.bst 2019-01-23 10:55:12.930763400 +0100
+++ VancouverKLPU-sasirut.bst 2019-01-23 14:56:32.265646100 +0100
@@ -1,3 +1,7 @@
+%%%% `VancouverKLPU-sasirut.bst'
+%%%% slightly modified version of `VancouverKLPU.bst' for
+%%%% https://golatex.de/eigenes-bst-ohne-klammern-t21469.html
+%%%% 2019-01-23
%%
%% This is file `VancouverKLPU.bst',
%% generated with the docstrip utility.
@@ -453,7 +457,7 @@
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr
- "{vv~}{ll}{, f{}}{, jj}"
+ "{vv~}{ll}{ f{}}{, jj}"
format.name$
bibinfo bibinfo.check
't :=
@@ -1022,8 +1026,9 @@
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
+ new.block
format.title "title" output.check
- add.colon
+ new.block
crossref missing$
{
journal
Siehe auch
https://gist.github.com/moewew/ff247132 ... 899a568e44
Wenn Du dann in Deinem Dokument noch das
cite-Paket lädst und \@biblabel umdefinierst, kommen wir der Sache schon näher.
\documentclass{article}
\usepackage[super]{cite}
\makeatletter
\renewcommand*{\@biblabel}[1]{#1.}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%
% nur für das Beispiel
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{RN2,
author = {Hu, X. and Fan, J. and Chen, S. and Yin, Y. and Zrenner, B.},
title = {The role of continuous positive airway pressure in blood
pressure control for patients with obstructive sleep apnea
and hypertension: a meta-analysis of randomized controlled
trials},
journal = {J~Clin Hypertens (Greenwich)},
volume = {17},
number = {3},
pages = {215-22},
doi = {10.1111/jch.12472},
year = {2015},
}
\end{filecontents}
%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\cite{RN2}
\bibliographystyle{VancouverKLPU-sasirut}
\bibliography{\jobname}
\end{document}
Normalerweise würde ich ja für solche Dinge
biblatex empfehlen. Tatsächlich gibt es da sogar den Stil
biblatex-nejm, der sehr nah an das hier herankommt, aber der Stil ist erst seit ganz kurzem wieder aus einer langen Entwicklungspause erwacht und hat noch einige Probleme mit Dingen, die nicht @article sind. Natürlich könnte man auch numeric direkt anpassen
https://tex.stackexchange.com/q/290360/35864 Da Du nun aber schon fast alles mit BibTeX gemacht hast, ist die Frage ob sich der Umstieg jetzt noch lohnt. Aber vielleicht beim nächsten Mal.
Wahrscheinlich habe ich etwas übersehen aber probier es mal mit den folgenden Änderungen
[code]--- VancouverKLPU.bst 2019-01-23 10:55:12.930763400 +0100
+++ VancouverKLPU-sasirut.bst 2019-01-23 14:56:32.265646100 +0100
@@ -1,3 +1,7 @@
+%%%% `VancouverKLPU-sasirut.bst'
+%%%% slightly modified version of `VancouverKLPU.bst' for
+%%%% https://golatex.de/eigenes-bst-ohne-klammern-t21469.html
+%%%% 2019-01-23
%%
%% This is file `VancouverKLPU.bst',
%% generated with the docstrip utility.
@@ -453,7 +457,7 @@
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr
- "{vv~}{ll}{, f{}}{, jj}"
+ "{vv~}{ll}{ f{}}{, jj}"
format.name$
bibinfo bibinfo.check
't :=
@@ -1022,8 +1026,9 @@
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
+ new.block
format.title "title" output.check
- add.colon
+ new.block
crossref missing$
{
journal[/code]
Siehe auch https://gist.github.com/moewew/ff247132633df5c4c4c594899a568e44
Wenn Du dann in Deinem Dokument noch das [p]cite[/p]-Paket lädst und [tt]\@biblabel[/tt] umdefinierst, kommen wir der Sache schon näher.
[code]\documentclass{article}
\usepackage[super]{cite}
\makeatletter
\renewcommand*{\@biblabel}[1]{#1.}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%
% nur für das Beispiel
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{RN2,
author = {Hu, X. and Fan, J. and Chen, S. and Yin, Y. and Zrenner, B.},
title = {The role of continuous positive airway pressure in blood
pressure control for patients with obstructive sleep apnea
and hypertension: a meta-analysis of randomized controlled
trials},
journal = {J~Clin Hypertens (Greenwich)},
volume = {17},
number = {3},
pages = {215-22},
doi = {10.1111/jch.12472},
year = {2015},
}
\end{filecontents}
%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\cite{RN2}
\bibliographystyle{VancouverKLPU-sasirut}
\bibliography{\jobname}
\end{document}[/code]
Normalerweise würde ich ja für solche Dinge [p]biblatex[/p] empfehlen. Tatsächlich gibt es da sogar den Stil [p]biblatex-nejm[/p], der sehr nah an das hier herankommt, aber der Stil ist erst seit ganz kurzem wieder aus einer langen Entwicklungspause erwacht und hat noch einige Probleme mit Dingen, die nicht [tt]@article[/tt] sind. Natürlich könnte man auch [tt]numeric[/tt] direkt anpassen https://tex.stackexchange.com/q/290360/35864 Da Du nun aber schon fast alles mit BibTeX gemacht hast, ist die Frage ob sich der Umstieg jetzt noch lohnt. Aber vielleicht beim nächsten Mal.