Linked Questions

3
votes
0answers
48 views

How can I create block of text that ignores the surrounding glue? [duplicate]

After developing a custom environment that has both table-like data and paragraph data, I noticed some interesting effects. The glue (I think) is messing with the alignment of the text around each ...
157
votes
12answers
26k views

Contest: Show Off Your Skillz in TeX & Friends [TeX.sx birthday]

Submission Deadline and Voting are over, thank you for participating! Results Academic Gonzalo Medina – 31 Andy – 19 cmhughes – 11 mbork – 6 Other Yiannis Lazarides – 38 szantaii – 20 Ant – 15 ...
99
votes
9answers
162k views

Indenting a whole paragraph

How do I indent a whole paragraph at the same distance from my left margin, with the simplest command or environment?
19
votes
2answers
869 views

Why is \baselineskip not inserted before an \unvbox?

It seems that \setbox0=\vbox{\hbox{abc}}\unvbox0 is not equivalent to \hbox{abc}: the former does not insert a \baselineskip in the following situation. \vbox{% \hbox{XY}% \hbox{abc}% \hbox{...
11
votes
3answers
2k views

Two column table, enumerate first column but not second

I need to have a two column table, where the first column contains enumerations and the second take plain text. For example, Column 1 Column 2 1. Step 1 Reason 1 2. Step 2 ...
8
votes
3answers
5k views

Vertical space after minipage (EDIT : in an environment)

How to get proper vertical white space on linebreak after a minipage? I.e.: How to fix my \alphabet command below so that the green and red marked spaces (in the figure below) are equal? (Is that \...
9
votes
3answers
7k views

Increase spacing after minipage

Hello i am using a line of code to draw 2 equations next to eachother using \minipage{}: \begin{minipage}{0.5\textwidth} \small \begin{equation}\label{e3} \begin{split} \frac{\mathrm d x'}{\mathrm d ...
9
votes
4answers
2k views

Why is `\strut` working in these scenarios?

\strut seems to be a powerful command to get the interlinear spacing correct; particularly, when working with text in \parboxs or minipages. But it's also nice in contexts in which LaTeX is setting ...
6
votes
3answers
2k views

Can't I put a list inside an \lrbox?

I want to have a list in my saved box. Why doesn't the following work? \documentclass{article} \usepackage{setspace} \newsavebox{\mybox} \newenvironment{myenv}{% \begin{lrbox}{\mybox}% \begin{...
7
votes
2answers
29k views

\vfill and vertical space

In a two-column document, I would like some text to be positioned at the bottom right of the right column. The text is inside tabular and flushright. An MWE is: \documentclass[twocolumn]{article} \...
4
votes
1answer
16k views

Force a block of text to be impervious to page breaks [duplicate]

Possible Duplicate: Unbreakable block I have a block of text (possibly comprising many paragraphs) near the end of a page. The page break is being inserted in the middle of this block--how do I ...
11
votes
2answers
1k views

How to get headings to be an integral number of lines high (using the memoir class)?

I use the memoir class and the \checkandfixthelayout command to calculate the \textheight so that an integral number of lines will fit. This works very well: But now I want to add a few section ...
4
votes
3answers
2k views

How do I break a line without breaking a column?

I would like to have a forced line break without having a break in a column, similar to how the //* gives a line break while preventing the page from breaking. Specifically, I would like to be able to ...
6
votes
3answers
2k views

Vertical spacing around a parbox

Given this: \documentclass{article} \usepackage{lipsum} \usepackage{setspace} \setstretch{1.5} \setlength{\parindent}{0pt} \newlength{\len} \newcommand{\arrowed}[1]{% % draw an arrow, then a ...
8
votes
2answers
955 views

Ensuring a paragraph uses at least a given height?

I'm making a custom document class based on memoir, and I don't know how to implement the chapter precis so that it does what I want (the chapter precis is a small optional paragraph that follows ...

15 30 50 per page