Tag Info

New answers tagged best-practices

6

This feature is available directly in the acronym package and I assume this was not the case when your question and David Carlisle's answer were posted. As you use \newacro (as opposed to \acro and \acrodef; see your linked PDF for the differences), David's example can be changed to \documentclass{article} \usepackage{acronym} \newacro{RMS}[RMS]{Resource ...

3

For shortening bibliographies I recommend to generate a new bib file, where you specify only the fields you really need. (Leaving out middle names, employ common conference and journal abbreviations, etc.) As you see in the answer from Daniel, it is not easy to filter them out afterwards, and you will probably miss one or two. Keep in mind, that some ...

8

Another biblatex solution. As basis we take biblatex's numeric with maxnames=2 \usepackage[style=numeric,maxnames=2]{biblatex} We define our short bibliography driver std that prints only the author/editor, title and date \DeclareBibliographyDriver{std}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% ...

4

In the following, I use biblatex to: Restrict the number of author names to two by passing the maxnames=2, minnames=2 options to the biblatex package. Tailor the content of the bibliography via the \AtEveryitem hook. Inside this hook, I use \clearfield/name/list{<element>} to exclude certain fields from being printed. For many fields the latter is ...

3

This is more of an extended comment — If your reader or audience quickly glances at your article/slide, will they be able to tell an i (the imaginary unit) from an i (a running index)? I would contend not. They may be able to avoid getting confused by considering the context or paying close attention to the typeface, but ideally they shouldn't have to. ...

4

With this style file: http://comedy.dante.de/~herbert/BibTeX/plain-short.bst and \documentclass{article} \begin{document} \nocite{*} \bibliographystyle{plain-short} \bibliography{ref-antibiotics} \end{document} you'll get:

3

There is a difference. \textit and \textbf change independent font attributes, the shape and the series. If the font is changed in two steps, then the first step might cause a LaTeX Font Warning depending on the current font attributes, if the combination in this step is not available. Example: \documentclass{article} \makeatletter ...

3

I would suggest you do the following: For the first column, don't use S -- l (left-aligned text column) will do just fine. For columns 2 and 4, instead of just specifying S, maybe specify S[table-format=10.2]. Simplify the generation of landscape-oriented tables by using the sidewaystable environment (provided by the rotating package). Since you're ...

3

The visual separation is already provided by the vertical space before and after the environment. The fact it is a definition stands out also because of the missing indentation before “Definition” and the different weight/shape of the character used. This is a reason for not using spaced paragraphs, which make it difficult to distinguish between different ...

5

I guess I can provide a more-or-less 'official' answer: use the LaTeX2e commands. Mixing up the two interfaces is asking for trouble, and while we are working on several areas we've not got a 'user level' counter approach at yet. (Indeed, the entire question of how variables at the document-level should be handled is open.) The reason I'd use \setcounter ...

4

First I would avoid using internal commands if at all possible: particularly when there is already an interface provided. So for example, I would use \addtocounter{datenumber}{...} instead of working directly with \c@datenumber Also, I would use \addtocounter with counters provided at the LaTeX user-interface level. I would use \int_gadd:Nn only for ...

Top 50 recent answers are included