4 votes
Accepted

How are the command names on the side in CTAN docs typeset

The alignment is messed up because marginpar is being invoked in vertical mode. A \leavevmode remedies the issue. As to \ttfamily, it can just be added to the marginpar. \documentclass{article} \...
user avatar
3 votes

How are the command names on the side in CTAN docs typeset

To answer the question in the title, use DescribeMacro. (see the documentation source code for any package to see how it's done. While it doesn't start with a backslash, it appears to work here.) %! ...
user avatar
  • 2,243
3 votes
Accepted

How to place tikz elements within a custom paper geometry to reach all four corners, with margins

A couple of things: You can use the nodes current page.north wast ... current page.south west to draw the rectangles with TikZ. These are exactly at the corners, so if you want to respect the margins ...
user avatar
2 votes
Accepted

Centering a text while using wrapfigure

There is an optional parameter to wrapfigure to indicate the number of narrow lines. With \begin{wrapfigure}[4]{L}{0.35\textwidth} you get
user avatar
1 vote
Accepted

Remove far left bleed on geometry and TikZ (overlay)

This simply happens because of the indentation. Compare Lorem ipsum \noindent Lorem ipsum Thus, the solution is simply to add \noindent before your tikz \documentclass{article} \usepackage{tikz} \...
user avatar
  • 2,080
1 vote

Center text when in oneside but add binding offset in twoside

In a oneside document all pages are treated the same but in a twoside document the margins can be different between even and odd pages. I suggest that you have two geometry specifications, one for ...
user avatar
  • 25.5k
1 vote
Accepted

Give "hitbox" to overlay tikzpicture

You could patch the \@makechapterhead. And patch the \@makeschapterhead as well, if you want the star version \chapter*{} have a banner too (e.g. \tableofcontents). By default, the floats won't appear ...
user avatar
  • 4,373
1 vote

How to place tikz elements within a custom paper geometry to reach all four corners, with margins

Oh, almost the same answer as of Juan Castaño ... Edit: but I wasn't aware that I was late for 13 minutes (apparently was my internet congesting, since i didn't see answer before my loading ...). Now ...
user avatar
  • 255k

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