Tagged Questions
3
votes
2answers
74 views
Changing line spacing within a new command
I have a command written as follows:
\documentclass[12pt]{book}
\usepackage{setspace}
\newcommand{\statshyp}[2]{\noindent \hangindent=1cm \hangafter=0
\begin{singlespace*}
\textbf{#1}: \emph{#2}
...
11
votes
1answer
315 views
Defining variants of \small and \large that use \normalsize's line spacing
As a partial workaround for grid typesetting, I'd like to define variants of \small and \large that behave like their standard counterparts except that they use the line spacing of \normalsize. I know ...
6
votes
3answers
1k views
How to redefine the caption command with optional arguments
I'm writing a thesis that has double spacing on by default throughout the document. However, captions on figures need to be singlepaced. I can do that like this
\normalsize \singlespace \caption{ ...
2
votes
1answer
409 views
Context-sensitive newline macro
I'd like to write a new command putOnNewLine such that \putOnNewLine{ABC} puts ABC on a new line, with exactly one line's vertical space separating it from what has gone before.
It must also ...