0

Context

Many writing and referencing styles, as you know, require certain specific guidelines when cross-referencing images, tables, equations, sections etc...

Per example, in the APA style you would adopt the following examples when cross referencing tables and images:

"As shown in Table 2 ..." or "As illustrated in Figure 3 ..."

For the MLA style: you would use: "As illustrated in Fig. 1"

For the IEEE style: "Fig. 4. Intercomplex crosstalk characteristics"

etc...

I am writing a thesis and I want to know kindly what package(s) & what cross-referencing commands should I use in order to make cross-referencing very easy to change between different styles in the future (following exact styles' guidelines), surely the \ref{XYZ} won't do it as this would mean I had to go and change all the instances of figures, tables, equations etc...

I want kindly a very easy way to switch between APA, MLA, Chicago, Harvard, IEEE etc.. at least not more difficult that adding a couple of lines in the preamble of the thesis. I would be hopeful of not doing the whole thing manually.

Kindly can I know how to do that in APA (Figure 3, Table 4) and in MLA (Fig. 1). What lines of LaTeX code can do that?

I apologize if this seems like a neophyte question, I do not know what is the best approach that would lead to the least headache in the future.

The question has some similarities in terms of pros and cons of cross-referencing packages to the question: Cross-reference packages: which to use, which conflict? but is not duplicate since non of the answers explain how to transform automatically a Figure 1 to Fig. 1 or Table 1 and Tab. 1 or Chapter 1 and Chap. 1 or vice versa depending on specific styles (referencing/Writing styles) such as IEEE, APA, Chicago, Harvard etc...

In other words, is there a package which allow me to plug in something like APA and then all cross-referencing of figures, tables, equations and chapters are changed accordingly to the style? Then later I might decide to switch to MLA, can I easily do that?

Or at least if no package exist that takes into consideration styles: and let us say cleveref is the best option for customization, can anyone kindly tell me how to "marry" [if we can say that :-) ] cleverref package with the APA or with MLA or with IEEE.

There are many who are interested in such answers which this question provide an opportunity to elucidate these solutions.

So you use BibLaTeX APA style, you definitely want to follow also the same exact style in cross-references.

Any suggestions are greatly appreciated.

HB87
  • 165
  • From the proposed duplicate: when you use the cleveref package, you can customize almost everything about the automatic labels, such as capitalization, punctuation, short labels, long labels, etc. – Marijn May 28 '19 at 12:26
  • Hiya, so you think cleverref allow me to specify a writing style such as APA and then all cross-referencing to figures, tables and sections are changed accordingly? – HB87 May 28 '19 at 12:36
  • Marjin, Kindly does cleveref allows me to plug in something like APA and then all cross-referencing of figures, tables, equations and chapters are changed accordingly? Then later I might decide to switch to MLA, can I easily do that? This is the golden question! Kindly reconsider duplicate decision for the benefit of the community, it is more to the question than pros and cons of packages. Even if this is not possible remove duplicates so that an answer can be given as "no cross-reference package such as cleverref takes the writing style into consideration" but again do we know that for sure? – HB87 May 28 '19 at 12:44
  • There is no explicit option like APA or MLA for cleveref or any other referencing package as far as I know. However, using the available options and commands, it is certainly possible to implement something like APA, and to switch to MLA easily. For example, using the option capitalise (i.e., \usepackage[capitalise]{cleveref} then references made with \cref{yourlabelname} will be upper case abbreviated, implementing MLA. If you want APA, you can use \usepackage[capitalise,noabbrev]{cleveref} which automatically creates full word upper case references. – Marijn May 28 '19 at 13:29
  • Great, this is exactly what I am looking for. It is good to have generalized solutions for each case (for the sake of the community) like if you want to use APA this and this might be near what you want, if you want to use IEEE, this and this. Harvard, use this and this... Thank you so much – HB87 May 28 '19 at 13:38

0 Answers0