Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to change the style of font for "References". I want the title of books and Articles stay in BOLD and dont in ITALIC BOLD how stay on my document.

My style stay:

KNUTH, D. E. The art of computer programming, Volume 16: Fundamental Algorithms. [S.l.]: Addison-Wesley, 1968.

I would like:

KNUTH, D. E. The art of computer programming, Volume 16: Fundamental Algorithms. [S.l.]: Addison-Wesley, 1968.


I'm use the style ABNT-ALF \bibliographustyle{abnt-alf}

This is not my all code, however is possible see the part that I need help:

Main Document (with settings):

\documentclass[a4paper]{article}
\usepackage[brazil,brazilian]{babel}
\usepackage[ansinew]{inputenc}
 \usepackage{abnt-alf}
\usepackage[alf]{abntcite}

\newcommand{\qcounts}{{\normalfont\textit{quadrat counts}}{}}
\newcommand{\q}{{\normalfont\textit{quadrat}}{}}
\newcommand{\qs}{{\normalfont\textit{quadrats}}{}}
\newcommand{\citrus}{{\normalfont\textit{Citrus}}{}}
\newcommand{\msc}{{\normalfont\textit{Morte Súbita dos Citrus}}{}}
\newcommand{\MSC}{\acronym{MSC}{}}
\newcommand{\geoR}{{\normalfont\textsf{geoR}}{}}
\newcommand{\geoRglm}{{\normalfont\textsf{geoRglm}}{}}
\newcommand{\splancs}{{\normalfont\textsf{splancs}}{}}
\title{Modelo autologístico para dados de citrus}

\author{
Fabio CORDEIRO 
\footnote{Programa de Pós-graduação em Engenharia Elétrica, 
 Pontifícia Universidade Católica de Minas Gerais. 
Caixa Postal 00000, CEP 81531-990, Belo Horizonte, Minas Gerais, Brasil. 
E-mail: fabioleandro@oucminas.br}\\
}

\begin{document}
\maketitle
\section{resumo} 

\section{Introducao}

Testando referencias \cite{knuth}

\section{metodologia}

\bibliographystyle{abnt-alf} 

\bibliography{bibliografia} %%%%%%%%%

\end{document}

========================================================

My bibliography file:

@book{knuth,
    author = {Donald E. Knuth},
    title = {\textbf{The art of computer programming}, Volume 16: Fundamental Algorithms},
    publisher = {Addison-Wesley},
    year = {1968}
}

Thanks for the help

share|improve this question
1  
Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem or, at the very least, tell us what style you're using to create your bibliography. –  lockstep Nov 8 '12 at 20:10
    
Let me support lockstep's suggestion that you indicate, at the very least, which bibliography style you employ. BibTeX obtains all formatting-related directives from the bibliography style file that's specified via the, you guessed it, the command \bibliographystyle{<somestyle>}. –  Mico Nov 8 '12 at 22:33
    
abnt-alf.sty, abntcite.sty, and abnt-alf.bst are not available on CTAN, so you need to provide a link to those files. –  lockstep Nov 9 '12 at 8:30
    
Fábio, I'm not sure if I understood your request, neither if my solution is robust enough, but you could copy abnt-alf.bst to a new file, say abnt-fabio.bst, edit line 2068 replacing \emph by \textbf, then change \bibliographystyle{abnt-alf} to \bibliographystyle{abnt-fabio}. I do not recommend to include formatting instructions directly in the .bib file, that's the .bst role. :) –  Paulo Cereda Nov 9 '12 at 11:36
    
Hello, Paulo Cereda, Work perfectly. I do changes on new file based on "abnt-alf" like your say and was all okay. Thanks very much –  Fábio Cordeiro Nov 9 '12 at 15:06

1 Answer 1

With abntcite package, you can choose the emph style with the option abnt-emphasize during the package load with

\usepackage[alf,abnt-emphasize=bf]{abntcite}

Here's a MWE:

\documentclass{article}
% to embed a .bib file in the source
\begin{filecontents}{\jobname.bib}
@inbook{knutha,
    author = {Donald E. Knuth},
    booktitle = {The art of computer programming},
    volume = {16},
    title = {Fundamental Algorithms},
    publisher = {Addison-Wesley},
    year = {1968}
}
@book{knuthb,
    author = {Donald E. Knuth},
    title = {The art of computer programming},
    subtitle = {Volume 16, Fundamental Algorithms},
    publisher = {Addison-Wesley},
    year = {1968}
}
\end{filecontents}

\usepackage[alf,abnt-emphasize=bf]{abntcite}

\begin{document}

Here's how I'd quote that book: \cite{knutha}; and here's (almost) how you asked for: \cite{knuthb}

\bibliography{\jobname}

\end{document}

And the output:

ABNTcite with abnt-emphasize=bf option

Please refer to the documentation in the abntex-doc-<version>.<zip> (or .tar.gz, etc) file on the project's page.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.