Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine literature and table references #45

Open
aflaus opened this issue Jul 22, 2017 · 3 comments
Open

Combine literature and table references #45

aflaus opened this issue Jul 22, 2017 · 3 comments
Assignees

Comments

@aflaus
Copy link
Member

aflaus commented Jul 22, 2017

At the end of first paragraph of Functional Perspectives section in Introduction there is a literature reference juxtaposed with a table reference. Can these be combined as a single reference within a single parenthesis? No problem if not.

@carandraug
Copy link
Member

Yes, this can be done. But then, should I use the brackets style for bibliography references or the brackets style for in document tables and figures references?

@aflaus
Copy link
Member Author

aflaus commented Jul 25, 2017

Bibliography reference I guess.

@carandraug
Copy link
Member

Ok, then this could be done with:

\citetext{\citealp{MarzluffNatRevGen2008},
      \tref{tab:typical-histone-differences}}

which then becomes:

highly conserved 3’ stem-loop [48, Table 1].

on the default build which to me suggest the reference is Table 1 of reference 48.

The command citetext allows a citation with any text rather than an actual bibliography key. The command citealp would be the same as using citep but removes the paratheses. However, the separator between multiple citations is a natbib configuration so this would break if it changes. Also, there is the super style which puts references in superscript (like nature), and in such case, the table reference would not be in superscript.

Not sure how to fix it in any other way though. Maybe changing the sentence so that the reference to Table 1 is used somewhere else? Actually, maybe the reference to Table 1 is not actually required at this point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants