Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove punctuation in references? #406

Open
Meng-bin opened this issue Dec 12, 2024 · 0 comments
Open

How to remove punctuation in references? #406

Meng-bin opened this issue Dec 12, 2024 · 0 comments

Comments

@Meng-bin
Copy link

I want to remove the "." after the volume and year, and the "," after the year and page number. I am not familiar with this area yet, so if anyone can help me solve this problem, I would be very grateful. Below is my latex code and examples.

\usepackage[style=numeric,sorting=none,terseinits=true]{biblatex}

\addbibresource{cas-refs.bib}

\DeclareFieldFormat[article]{number}{}
\DeclareFieldFormat[article]{doi}{}

\DeclareFieldFormat[article]{volume}{#1}
\DeclareFieldFormat[article]{year}{#1}
\DeclareFieldFormat[article]{pages}{#1}

\DeclareFieldFormat[article]{title}{#1}

\DeclareDelimFormat{volumyeardelim}{\space}
\DeclareDelimFormat[article]{yeardelim}{\space}

\DeclareCiteCommand{\cite}
{\usebibmacro{prenote}}
{\textbf{[\thefield{volume} (\thefield{year}) \thefield{pages}]}}
{\usebibmacro{postnote}}
{\usebibmacro{finentry}}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant