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 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?

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

1 Answer 1

up vote 4 down vote accepted

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).

share|improve this answer
    
There's also the higher-level command \autocite which maps to \parencite for author-year-styles. –  lockstep Feb 11 '13 at 15:25
add comment

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.