Skip to main content
3 votes
Accepted

How to make Tikz-cd diagram symmetric

Adapting the solution here: tikz-cd: draw commutative square as an actual square We can set fixed row and column sep parameters to make the diagram more symmetrical. \documentclass{standalone} \...
Alan Munn's user avatar
  • 220k
2 votes

Reducing the gap in the Lemma environment with enumerate

It's easiest to just set the first element manually, then start an enumerate from 2 (using the optional argument supplied by enumitem. \documentclass{article} \usepackage{amsthm} \newtheorem{lemma}{...
Werner's user avatar
  • 606k
1 vote

Missing vertical space at section end due to lstinputlisting

Problem solved by putting the \lstinputlisting between braces (or \bgroup \endgroup) \documentclass{article} \usepackage{listings} \usepackage{color} \begin{filecontents}{\jobname.txt} hi \end{...
NBur's user avatar
  • 4,896
1 vote

Reducing the gap in the Lemma environment with enumerate

I'd set the indentation to zero for all items, by loading the enumitem package and starting the enumerate environment with the option left=0pt. Optionally, I'd force the numerals to use upright digits ...
Mico's user avatar
  • 512k

Only top scored, non community-wiki answers of a minimum length are eligible