Style quote: "(Author, Date)" to "Author (Date)"

Asked

Viewed 5,841 times

5

I’m using abntcite. I would like to know how to change the style of just a few quotes from (Autor, Data) for Autor (Data). I tried using \citeauthor{chave}, but it didn’t work. Thank you.

  • I think the question is clear yes, I just do not know if it can be considered as content related to programming. @Samuel.nascimento.junio, take a look at that link, see if he helps you with anything.

  • Thank you @Mateus! I would like to know how to change the following string <code>year Empty$ 'Skip$ {" " * year *}</code> For it to return me (year). Just haven’t found how yet.

  • @Lucasnunes gave you an answer, maybe that’s what you’re looking for. Since you’re new here, it would be nice to take a look at the [tour] to find out how [pt.so] works, in case you don’t already know.

  • Thank you @Matthew, but you didn’t help me. His reply is correct, however, I received a project mounted where files reference other files. I found the output function for citeonline{} and it appears in the following format: "Author, Date" instead of "Author, (Date)". Still not what I need.

  • you tried to change (backup the file before) the code you posted above to year empty$ 'skip$ {"(" * year * ")" *} if$? You can also take a look at that link, he says a few things about BibTeX styles. If it doesn’t work out, my suggestions have run out =/

  • Has an SE site specific for Latex. Link

  • Hello @mutlei and other colleagues. Tex/Latex is a tool that generates documents, but uses a language with its own syntax and the equivalent of a compiler. There are even packages that allow you to use logical decisions and loops. Comments constantly arise that judge the subject outside the scope, but the questions have been well accepted. Moreover, the existence of an alternative in English does not seem to me an argument to define as outside the scope, because the SOPT itself comes from the existence of people who prefer Portuguese. :)

Show 2 more comments

2 answers

3

You can use:

\citeonline{ID_DO_AUTHOR}.

This generates:

 Fulano (2014)

And it is also useful for situations like:

 Segundo \citeonline{ID_DO_AUTHOR} o sistema ...

If this is the case, you can also enter the citation page like this:

\citeonline[p.~20-22]{ID_DO_AUTHOR}.

0

I would suggest:

\usepackage{natbib}

(several options: sectionbib, square, etc). When quoting uses:

\citep{jon90} for a parenthetical citation (Jones et al., 1990),
\citet{jon90} for a textual one, as Jones et al. (1990).

See details in CTAN://macros/latex/contrib/natbib/natbib.pdf

Browser other questions tagged

You are not signed in. Login or sign up in order to post.