Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % arara: pdflatex: { shell: yes }
- % arara: biber
- % arara: pdflatex: { shell: yes }
- % arara: pdflatex: { shell: yes }
- documentclass{article}
- usepackage{filecontents}
- begin{filecontents}{jobname.bib}
- @book{ALEXANDER1977apl,
- Address = {USA},
- Author = {Alexander, Christopher and Ishikawa, Sara and Silverstein, Murray},
- Date-Added = {2010-02-24 11:14:54 +1100},
- Date-Modified = {2010-06-01 12:10:48 +1000},
- Publisher = {{Oxford University Press}},
- Title = {{A Pattern Language: Towns, Buildings, Construction}},
- Year = {1977}}
- end{filecontents}
- usepackage[indexing=cite,style=authoryear,citestyle=authoryear,sorting=none,maxnames=1]{biblatex}
- makeatletter
- AtEveryCite{%
- %letparentext=parentexttrack%
- letbibopenparen=bibopenbracket%
- letbibcloseparen=bibclosebracket}
- makeatother
- addbibresource{jobname.bib}
- begin{document}
- textcite[pp 45]{ALEXANDER1977apl}
- end{document}
- renewcommand{mkbibnamelast}[1]{mkbibemph{#1}}
- documentclass{article}
- usepackage{filecontents}
- begin{filecontents}{jobname.bib}
- @book{ALEXANDER1977apl,
- Address = {USA},
- Author = {Alexander, Christopher and Ishikawa, Sara and Silverstein, Murray},
- Date-Added = {2010-02-24 11:14:54 +1100},
- Date-Modified = {2010-06-01 12:10:48 +1000},
- Publisher = {{Oxford University Press}},
- Title = {{A Pattern Language: Towns, Buildings, Construction}},
- Year = {1977}}
- end{filecontents}
- usepackage[backend=bibtex,indexing=cite,style=authoryear,citestyle=authoryear,sorting=none,maxnames=1]{biblatex}
- makeatletter
- AtEveryCite{%
- letbibopenparen=bibopenbracket%
- letbibcloseparen=bibclosebracket}
- makeatother
- addbibresource{jobname.bib}
- % Renew formatting of the last name to add emphasis
- renewcommand{mkbibnamelast}[1]{mkbibemph{#1}}
- % Revert formatting of the last name for bibliography
- AtBeginBibliography{renewcommand{mkbibnamelast}[1]{#1}}
- begin{document}
- noindent Text citation: textcite[pp 45]{ALEXANDER1977apl}
- printbibliography
- end{document}
Add Comment
Please, Sign In to add comment