20 questions linked to/from Please tutor the usage of patchcmd and xpatch
718 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 ...
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 ...
75 views

### How to keep my default floating environment spacing before them, while reducing my figures spacing after they?

I am using \setlength{\belowcaptionskip}{-10pt} from How can I reduce padding after figure? to reduce the spacing after my figures. And it is working fine. But it is also affecting my new floats ...
177 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 \...
301 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 ...
704 views

1k 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) ...
815 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 ...
109 views

### Automatically return list of all uses of a command, without repeats e.g. \compound using chemstyle

I'd like to automatically generate a comma separated list of all occurrences in my .tex file of a particular command. Specifically, I want to ensure the correct numbering of chemical structures using ...
1k 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} \...
38 views

### How do i make a document where \part is twosided but \chapter is not

I want to make a document where \part only starts on left-sided pages when using \documentclass[twoside]{memoir}. However, \chapter should start on either left or right-sided pages. I have not been ...
65 views

### How can I use a conditional into the ganttchart?

I've been trying use a conditional inside my Gantt chart in order to become the process of change color automatically. In this case, I just wanna color red the bars that have progress minor them 100%. ...
442 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 ...
35 views

### Testing package modifications

How can I add an option to a certain package through the preamble without modifying the *.sty file itself. I need to propose an additional option to the varioref package, I need to test such ...
32 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 ...

15 30 50 per page