TransWikia.com

Remove 'In' and 'pp' from bibliography

TeX - LaTeX Asked by R Maharaj on January 22, 2021

I want to remove the ‘In’ an ‘pp’ that is produced in the bibliography. These are some of the commands in the preamble:

documentclass[11pt,a4paper,oneside,]{memoir}
usepackage[utf8]{inputenc}
usepackage{amsfonts}
usepackage[left=3.50cm, right=3.0cm, top=3.0cm, bottom=3.0cm]{geometry}
usepackage{graphicx}
usepackage[style=numeric, backend=biber]{biblatex}
addbibresource{bibtest.bib}
DeclareNameAlias{default}{last-first}
usepackage{stmaryrd}
usepackage{enumitem}
usepackage{amsmath}

enter image description here

One Answer

Use

DeclareFieldFormat{pages}{#1}

to get rid of the 'pp.' in the bibliography for all types. If you only want that for journal articles, use DeclareFieldFormat[article]{pages}{#1}.

For the 'in:', have a look at Suppress "In:" biblatex. The following removes the 'in:' only for @article

renewbibmacro{in:}{%
  ifentrytype{article}
    {}
    {bibstring{in}%
     printunit{intitlepunct}}}

edit: Updated for biblatex 3.15's definition of in:.

Answered by moewe on January 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP