Linked Questions

125
votes
5answers
7k views

Put entire thesis on one A0 poster?

The question Is there any way to automatically scale and put an entire document on an A0 page? The thesis for which this is to be done is available as LaTeX code, as well as PDF output. Of course I ...
56
votes
8answers
13k views

Fit text into given box by adjusting the fontsize

I would like to fit text (potentially several paragraphs) into a box of given size. This should be done by adjusting the fontsize of the contained text. Clarification edit: The given dimensions are ...
10
votes
3answers
5k views

Fitting and centering text (both!) in a constrained area

Is there a way to make text size and alignment automatically "best fit" on a page? So that a large amount of text will be constrained on the page in a small font, but a small amount of text can be of ...
10
votes
3answers
4k views

Insert text into a fixed size box

Is there a way to create a box which has fixed width and height? I tried \parbox and some similar things, but sometimes the text overflows. If the text inserted would overflow: it should be resized ...
16
votes
1answer
727 views

Optimal arrangement of pictures/boxes in a page

Does anybody come up with a way to automatically arrange a few figures or boxes in a larger rectangle or page? Here it is a real world example: One is producing a beamer presentation. One has 4 or 5 ...
4
votes
2answers
2k views

How to make a box with fixed size?

\parbox[pos][height][contentpos]{width}{text} gives me a box where height is actually "minimal height", while width= exact width. I would like height to also be "exact height". How can I do this? Text ...
5
votes
1answer
562 views

Equally distribute text among a given amount of lines; automatically adjusting the width

Given some text, I want to centrally align this text on a given amount of lines. For example, \documentclass{article} \begin{document} Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, ...
6
votes
1answer
831 views

Fitting text to exact specific size

I would like to make my text fit a certain size "box" at a specific location. The two problems I am encountering are as follows: This long string should wrap when it hits the 4.5 inch limit but it ...
2
votes
2answers
550 views

Fit text within a frame with fixed dimension (shrink only if needed)

My problem I want to define a frame with fixed dimensions (i.e. minimal size = maximal size = defined size), in which there is rich text (with potentially linebreaks, itemization, etc.). Moreover, I ...
2
votes
2answers
182 views

Adjust font size to fit long words in vbox

Goal: Typesetting minimalist book covers in ConTeXt, with the title in the largest font size possible while remaining in the box. Problem: Long words or lines don't respect the right side of the box ...
5
votes
1answer
141 views

Paragraph with a given aspect ratio?

I using tikz together with package varwidth, I find myself playing out with different values for paragraph width, so as to achieve an "optimal" aspect ratio. Ideally, I would have liked to have an ...
3
votes
1answer
261 views

Rescale paragraph to fit margins or detect used width of paragraph

I want to write a command or similar that allows me to rescale a given paragraph to fit a given frame, keeping the aspect ratio. The problem is that the paragraph is usually manually set and not ...
3
votes
0answers
378 views

How to resize font into box automatically?

I need to fit the size of the text automatically within a box with predefined sizes. I have a minimum font size for little text and I want to reduce the size for large texts, as can be seen in the ...
3
votes
1answer
145 views

Fitting text of unknown length into a box through font scaling

In a scenario where TeX documents are generated by a script the challenge is to nicely fit text of variable length into boxes of fixed size. There's a default font size suited for 80% of the cases ...
1
vote
1answer
236 views

Center, Scale, and Wrap Text atop an Image

Which LaTeX packages can I use to center, scale, and wrap text such that the following conditions are met: If the text isn't a wide as the container, scale the up text to fit. If the text is wider ...

15 30 50 per page