When using biblatex how to get a citation that looks like (text; 1) i.e., free text and…
- User
When using biblatex how to get a citation that looks like (text; 1) i.e., free text and after it the citation without brackets or parenthesis or anything
- Assistant
You can use the cite environment from the biblatex package to create a citation that looks like (text; 1). Here's an example: \documentclass{article} \usepackage[style=authoryear]{biblatex}
\begin{document}
\begin{cite}{smith2017} This is some text \emph{and here's the citation} (Smith, 2017). \end{cite}
\printbibliography
\end{document} CopiedIn this example, we have created a cite environment and placed the citation inside it. The Smith, 2017) part will be typeset as a normal citation, but the rest of the text inside the cite environment will not be formatted as a citation. If you want to remove the parentheses around the year, you can do so by adding the parens option to the cite environment, like this: \begin{cite}[parens]{smith2017} This is some text \emph{and here's the citation} Smith, 2017. \end{cite} CopiedThis will produce a citation that looks like (text; 1), with no parentheses or brackets around the year.