2

I don't really understand how to use macros, but this would be a good way to learn. Currently, I simply use \cite, which prints Author, Year. When I have this in a sentence, I want the year to be in brackets, so it looks like Author (Year),

I can do this manually with

\citeauthor{author} (\citeyear{author}), conducted a detailed study on different methods of...

But this would be a drag to type out every time. How would I create a macro such as \citeintext{author} that would do all that for me?

2
  • 1
    Welcome to TeX.sx! Wouldn't \textcite{author} conducted ... be what you're looking for?
    – egreg
    Commented Feb 11, 2013 at 15:09
  • Yes, yes it would be -facepalm- Thanks, I really am new to this!
    – Blackstone
    Commented Feb 11, 2013 at 15:13

1 Answer 1

5

With the basic author-year style, there are two main commands:

\textcite{key}
\parencite{key}

The former is for textual citations, the latter for parenthetical ones:

... as we see in the fundamental book by \textcite{key1}. Some developments
have appeared recently \parencite{key2}.

will appear something like

… as we see in the fundamental book by Author (1990). Some developments have appeared recently (Scholar, 2012).

1
  • 1
    There's also the higher-level command \autocite which maps to \parencite for author-year-styles.
    – lockstep
    Commented Feb 11, 2013 at 15:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .