Linked Questions

0
votes
0answers
31 views

How to append to definition of a macro which has arguments? [duplicate]

I’ve been using \let\oldsomething\something\renewcommand*something{\oldsomething ...} in a couple places, but it’s tedious and I guess prone to errors if I were to try to redefine again with the same ...
12
votes
4answers
17k views

Remove comma from moderncv's \cventry

This image shows the excerpt of a CV produced with the moderncv document class: Notice that after the bold text there is a comma. This seems to be produced automatically. How can I stop this?
12
votes
3answers
2k views

Are commands defined by \newcommand[.][.]{.} robust?

This question is from the comments at the foot of Abbreviations for AM, PM (small caps) for use within \textbf. Readers will get the remaining gist from there. With \newcommand\cmd[2][0]{\def\y{#1}...
2
votes
3answers
366 views

How to disable paragraphs inside my environment with \let\par\relax?

I would like to disable the automatic paragraph inside my thesis abstract which is called resumo. On the question How to disable new paragraph at empty line? they said I could use \let\par\relax to ...
1
vote
2answers
2k views

\hspace before \section?

I would like to add a space before a section heading. I have tried: \hspace[*]{5pt}\setkomafont{section}{\fontsize{45}{40}\selectfont \fontspec{Mathilde}} unsuccessfully. I realise that Latex ...
2
votes
2answers
763 views

Place a footnote in an environment in the bottom of the page

I have this code: \documentclass[11pt]{book} %---------------------------------------------------------------------------------------- % VARIOUS REQUIRED PACKAGES AND CONFIGURATIONS %--------------...
3
votes
1answer
997 views

Patch \insertshorttitle in beamer

In this answer @cfr showed me how to preserve short title color in beamer while allowing hyperlinks to work. His solution was to modify the \insertshorttitle command (defined in beamerbasetitle.sty) ...
1
vote
1answer
821 views

Table caption not left aligned in revtex

I am currently writing an APS article and use: \documentclass[% reprint, amsmath,amssymb, aps,nofootinbib, ]{revtex4-1} % \usepackage{graphicx} \usepackage{dcolumn} \usepackage{bm} \...
1
vote
2answers
634 views

no page number on appendix divider page

I have found some links on here (for example No page number on \appendixpage) that explain how to remove the pagenumber from the divider appendix page, but how can I use this when using the appendices ...
3
votes
1answer
458 views

A question about using a \renewcommand to adapt a package

This article is a sub-question of: Cross-referencing on 2 kinds of end-footnotes (separated and with different coloured numbers) Hi, I am trying to adapt a package called parnotes (which can be ...
2
votes
1answer
495 views

One paragraph style bibliography with numbers

I am writing a document that has a two page limit. I am trying to find a way to make it so that each citation in the bibliography does not start on a new line. This would be sufficient to fit into my ...
0
votes
1answer
293 views

Why \PackageWarning is giving me LaTeX Error: Missing \begin{document} while patching standard latex list environment?

I wrote this code I started doing after on How to set \topsep=0pt on the latex standard list implementation inside an environment? I find out I could not change the standard latex \list{} environment ...
6
votes
1answer
264 views

How to patch a command from leipzig.sty

As shown in Issues with leipzig and glossaries used together, there is a problem when using the package leipzig with the glossaries package since the leipzig package relies on deprecated commands from ...
3
votes
2answers
102 views

How to determine if a macro is used inside the argument of a sectioning command?

In order to further automatize a macro I have written, I would like to know if there is a possibility to determine if this macro is used inside the argument of a sectioning command or inside the text. ...
0
votes
2answers
95 views

Problem patching by appending to \footnote command. “Missing \endcsname inserted”

I want to test whether a macro is (a) outside or (b) inside a \footnote command, similar to what's asked in (i) How to test if I'm currently in a footnote or not, (ii) Detect whether I'm in a \...

15 30 50 per page