Linked Questions

1
vote
0answers
101 views

Reduce font size to fit container [duplicate]

I would like to create a series of containers in the same size but with different contents, making such that the contained text reduces its font size if it would not fit the container otherwise. Is ...
92
votes
5answers
355k views

How to put a long piece of text in a box?

I want to put a long piece of text in a box, for example The quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over the lazy dog. the quick brown fox jumps right over ...
127
votes
5answers
8k 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 ...
15
votes
2answers
4k views

Fitting text into a box over-a-pic

I am trying to fit a text into a box within an overpic environment. kongo09 had a similar question fit-text-into-given-box-by-adjusting-the-fontsize, and a highly workable solution was provided by ...
9
votes
3answers
796 views

“BigText” formating: how to adapt the fontsize to make all lines have the same width?

As in this question on stackoverflow, I want to replicate the so-called 'big text' formatting: Functioning: You give as input: the line (column) width for each line, and the content of each line. ...
10
votes
3answers
5k 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 ...
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 ...
11
votes
2answers
3k views

Adjust font size on-the-fly

In my document I want to emphasize some key points by placing them in a box with rounded corners. This I do using the following code: \documentclass{report} \usepackage{fancybox} \begin{document} \...
10
votes
1answer
18k views

Forcing a Document into a Single page

I've been using TeX for a while, so when I suggested my company compile its daily newsletter using LaTex, rather than an hour and a half of someone's time, I got tasked with actual implementation. I'...
9
votes
2answers
3k views

Making the text fit in a specific space in Latex

I'm trying to fit my text in a specific space, as it's a Graph explanation. I would like to make something like the graph below: Is it possible to make the text fit in that space? LaTex does it by ...
12
votes
1answer
2k views

Trapping LaTeX error/warning

Is there a way to trap an error/warning in LaTeX during compile time? I'm thinking of something similar to the VB script On Error Goto <blah>, but this time for LaTeX in something like \...
3
votes
3answers
4k views

Make Table of Contents fit in one page

My Table of Contents does not fit on one page, two chapters go to a new page and the rest of the page is empty is it somehow possible to fix this?
2
votes
2answers
604 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 ...
0
votes
1answer
2k views

Fill pixel size area with text, adjust point size automatically

Can Latex fill an area of a certain aspect ratio (e.g. 3:1) with centered text using a ttf font so that it can be export to a specific pixel size image (600x200, probably using convert)? Word- or ...
3
votes
1answer
657 views

How to shrink in 16:9 beamer mode?

I am using the 16:9 mode when preparing beamer slides In the MWE below, in the second frame, the text is only compressed vertically, leaving a lot of empty space on the right side; which could be used ...

15 30 50 per page