2
votes
1answer
100 views

Why is newcommand not working?

I am quite new to latex and try to understand the \newcommand command. Since (at least in texmaker which I am using) \autocite does not seem to feature autocompletion and automated display of my ...
3
votes
2answers
197 views

Macros formatting/arranging words {A_1}{A_2},…{A_n} into predefined paragraph for varying n and tagging

How does one robustly (without breaking most environments) construct the macros with arbitrary number of parameters that output the parameters into a predesigned paragraph such that several of these ...
1
vote
1answer
26 views

Biblatex create a \citejournal command with journaltitle, date, title

Hello latex community! I'm trying to set a specific command to cite journal articles which doesn't show the author but the journal title, the date and then the article title. I've found this answer: ...
1
vote
0answers
59 views

Is it possible to change the \cite command in the following way?

I know this does not follow very good citation guidelines, but I want to change the cite command so that in addition to whatever the current bib file dictates, it will also print in the name of the ...
2
votes
1answer
102 views

Biblatex custom cite macro

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 ...
12
votes
2answers
535 views

Macro for formatting names (initials or full name)

I want to write full names of authors in the LaTeX source, but assign different roles to them, and then via macro decide whether to print the full first name or just initials: In the work of ...
11
votes
1answer
2k views

Cite in theorem environment argument

When I try to cite a book in such a way \begin{theorem}[\cite[p.~90]{bibitem}] Theorem body. \end{theorem} I've got an error because of multiple use of [ and ]. Is it possible to cite in such a way ...
10
votes
2answers
684 views

Can you employ \unskip to automatically place a non-breaking space before \cite or \ref?

It is recommended to place a non-breaking space before \cite, \ref, inline math and perhaps at few other locations. The question is whether you can design an improved version of \cite (say) which ...
5
votes
1answer
325 views

Performing String Manipulation on result of \cite{}

I would like to perform some string manipulation (using the xstring package) on the result of a \cite{} (the bib package is given to me, and wouldn't allow what I want to do without a major rewrite). ...
4
votes
1answer
95 views

Suggestions for Including Confidence Rating in a Citation

As I write, edit, and review my document, I'd like to flag how related a claim and the supporting citation are. For example, if a reference Foo speculates on a topic (and therefore I give it a low ...
9
votes
3answers
3k views

\renewcommand{\cite} does not work

I'm using \cite a lot in my document, but now I discovered that I really need \citep instead (from natbib). No problem, I thought, just redefine the \cite command: \renewcommand{\cite}[1]{\citep{#1}} ...