Questions tagged [lengths]

{lengths} is for questions dealing with measurements in TeX. If your question is about the spacing between document elements, use {spacing} instead.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
53 views

Alignment of an un-numbered multicolumn tcolorbox listing

Consider the following code: % Preamble \documentclass[letterpaper, 10pt]{article} \usepackage{calc} \usepackage{xcolor} \usepackage{listings} \usepackage{multicol} \usepackage[most]{tcolorbox} \...
3
votes
0answers
182 views

Can one use the Potrzebie unit system in (La)TeX?

Inspired by a comment to this answer (and some wasted but entertaining time on the internet), I was wondering if somebody has implemented the use of the Potrzebie unit system in (La)TeX, as a tribute ...
2
votes
0answers
26 views

Measuring maximum height of row within align

Is there a way to extract the maximum height of a row within an align environment? For example, given \begin{align} a &= \frac{1}{2}\\ b &= 0.25 \end{align} I would like to extract the height ...
2
votes
0answers
371 views

pgfplots, lengths in axis coordinates

Sorry if it's a FAQ, probably looking for the wrong keywords but couldn't find anything. I have a macro that takes a length parameter to draw a shape. I'd like to call this macro inside a pgfplots ...
1
vote
0answers
48 views

calculate the title height and if the title height is above some number then add some space

calculate the title height and if the title height is above some number then add some space. when I use the code get the title, but when I use code like this \settoheight{\heightoftitle}{\vbox{\...
1
vote
0answers
54 views

showframe package exceeds few points in right side

My tags are follows: \documentclass{book} \usepackage{lipsum} \usepackage{showframe} \makeatletter \renewcommand\normalsize{% \@setfontsize\normalsize{10.9}{14}% \abovedisplayskip 7\p@ plus2\...
1
vote
0answers
65 views

Adjust longtable length to caption length and vice versa

Is there any way to adjust the longtable length to the caption length and vice versa?
1
vote
0answers
166 views

Exact spacing between lines

Is there a way to get the exact spacing between different parts of a document? I know the question may sound a bit vague, so here's the context in which the question arose. Here there is a code ...
1
vote
0answers
499 views

geometry's bindingoffset seems to be ignored

The geometry's documentation tells: page 9: "bindingoffset removes a specified space from the lefthand-side of the page for oneside or the inner-side for twoside.", page 10 (caption of Figure 6): "...
1
vote
0answers
360 views

Geometry package: Lengths saved by default. Options for save/load/restore

The geometry package: Package lengths are not saved as lengths. Examples: layoutheight, tmargin The following only affect the complete layout: \savegeometry \loadgeometry \restoregeometry ...
0
votes
0answers
23 views

Measure the remainder of a page if it has a title and inserting that into a dynamic command

Okay, so I'm currently writing a report (in the article class) which has a section full of chemical spectra. I figured that two spectra per page is a good number, so I write \RequirePackage{calc} \...
0
votes
0answers
62 views

How to set white space under figure to specific figure?

I don't want to do this in the preamble to set it for all figures. I want to have this for one specific image / figure. Is this possible? If so, how can I do this? \setlength{\belowcaptionskip}{2ex} ...