# [Tex/LaTex] Want title in simple numeric not italic through bibliography

biblatex

I am working on book and in that book I \cite{title} many times and it is printed in italic form, not in simple form. I changed various styles to print in simple numeric form. But did not get results. How I can make it simple?. Here is code

\RequirePackage{filecontents}
\begin{filecontents*}{jobname.bib}
@book{is4562000,
title={Indian Standard Plain and reinforced concrete--code of
practice (IS 456 : 2000)},
shorttitle = {IS 456~:~2000},
author={{Cement and Concrete Sectional Committee, CED 2}},
journal={New Delhi: },
year={2000},
publisher={Bureau of Indian Standards},
}

@book{is555,
title = {IS 555~:~1980}
}
\end{filecontents*}

\documentclass[a4paper,10pt]{article}
\usepackage[backend=biber,
style=ieee]{biblatex}
\begin{document}
This is bibliography using biblatex \cite{is4562000}.
\citetitle{is4562000}.
\citeyear{is4562000}.
\citeauthor{is4562000}.
\citetitle{is555}
\printbibliography
\end{document}


Output:
How I can print numeric title without italic?

You just need to change the format. Insert these lines into your preamble or, better yet, into biblatex.cfg (just create such a file in your working directory if it doesn't exist yet):

\DeclareFieldFormat{title}{\textbf{#1}}
\DeclareFieldFormat{citetitle}{\textbf{#1}}


The first line will change the title in the bibliography, the second in citations. You will notice that the titles are now not in italics, but in bold text -- that's what \textbf{#1} did.

Now, you don't really want the bold text. Therefore, you change these lines:

\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat{citetitle}{#1}


All titles will be printed in normal style: neither in italics nor bold.

Suppose you decide that you do want booktitles printed normally, while all other titles (articles, reports etc.) are printed in italics. You can do it by passing an optional argument to the command:

% Format for bibliography
\DeclareFieldFormat*{title}{\textit{#1}}
\DeclareFieldFormat[book]{title}{{#1}}

% Format for citations
\DeclareFieldFormat*{citetitle}{\textit{#1}}
\DeclareFieldFormat[book]{citetitle}{{#1}}


The optional argument contains the types (book, article etc.) the format should be applied to. You can also use a list of types (e.g. \DeclareFieldFormat[article,book]{title}{#1}).

The starred version of the command clears all existing formatting before applying the formatting directive. I changed one of your entry types to "article", and without the star, the default format was used. So it may be a good idea to use the starred version for the general format of a field and the normal version if you pass an optional argument to the command.

Here is a MWE:

\RequirePackage{filecontents}
\begin{filecontents*}{jobname.bib}
@book{is4562000,
title={{Indian Standard Plain and reinforced concrete--code of
practice (IS 456 : 2000)}},
shorttitle = {IS 456~:~2000},
author={{Cement and Concrete Sectional Committee, CED 2}},
year={2000},
publisher={Bureau of Indian Standards},
}

@article{is555,
title = {{IS 555~:~1980}},
author={{Cement and Concrete Sectional Committee, CED 2}},
journal={{New Delhi}},
year={2000}
}
\end{filecontents*}

\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage[backend=biber,style=ieee]{biblatex}

\DeclareFieldFormat*{title}{\textbf{#1}}            % Format for bibliography
\DeclareFieldFormat*{citetitle}{\textbf{#1}}        % Format for citations

\begin{document}

\setlength{\parindent}{0pt}

\section{Bold titles}
Book title:  \citetitle{is4562000}.

Article title:  \citetitle{is555}

\printbibliography

\section{Plain titles}
\DeclareFieldFormat{title}{#1}                      % Format for bibliography
\DeclareFieldFormat{citetitle}{#1}                  % Format for citations

Book title:  \citetitle{is4562000}.

Article title:  \citetitle{is555}

\printbibliography

\section{Different titles}
% Format for bibliography
\DeclareFieldFormat{title}{\textit{#1}}
\DeclareFieldFormat[book]{title}{#1}

% Format for citations
\DeclareFieldFormat{citetitle}{\textit{#1}}
\DeclareFieldFormat[book]{citetitle}{#1}

Book title:  \citetitle{is4562000}.

Article title:  \citetitle{is555}

\printbibliography
\end{document}


(I reused your bibliography file, but modified it a bit. By the way, I couldn't get your code to compile; apparently the bibliography style uses language settings, so I had to load babel.)