2
votes
1answer
76 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 ...
6
votes
1answer
49 views

Define \shearbox with \rotatebox and \scalebox

Similar to this problem, I want to define \shearbox with \rotatebox and \scalebox using singular value decomposition: The latex code is as follows: \documentclass[12pt]{article} ...
3
votes
1answer
118 views

\scalebox doesnt compile

I want to scale down an equation and after trying lots of examples found on the internet I still cannot compile or see what is wrong. My code looks like: \usepackage{graphicx} .... \scalebox{0.7}{ ...
2
votes
1answer
310 views

How to scale a dirtree inside a figure?

I drew a tree structure with \dirtree. This tree is located in a {figure} environment. It is possible to adjust the size of the figure? With \includegraphics one can do it with scale. Is there a ...
3
votes
2answers
138 views

Set picture size to size of a given box

I would like to use the picture mode in latex, but need to set the size of the drawing region to the size of some other box. I would normally do \begin{picture}(max_hor, max_ver)(ll_hor, ll_ver) ...
5
votes
1answer
601 views

\resizebox shifts tikzpicture up when in a subfloat environment

Why when I try to re-scale a tikz figure using \resizebox the baseline is shifted up (regardless of how small the scale factor is), and two horizontal floats are not aligned properly. ...
5
votes
1answer
2k views

Problem resizing an itemize environment with a \scalebox: “Something's wrong”

I have a \block containing a \itemize: \begin{block}{title} % \scalebox{0.8}{ \begin{itemize} \item 1... \item 2... \end{itemize} % } \end{block} I try to use \scaleboxand ...
2
votes
1answer
491 views

Text boxes with scalable image as background

Is it possible to define text boxes with modifiable with and height which use a background image which should scale when you modify the width or height of the box. More complicated, it should be ...
6
votes
1answer
389 views

Include another pdf in a box (and other details)

Some time ago I read a paper that was tightly based on another one. It was from the same authors so they included the previous papers as appendixes. I noticed (and liked) that these appendixes were ...
7
votes
4answers
4k views

How to fit text in a box of given size?

Say I want to typeset small piece of text as a logo/motto/slogan or whatever. The text is not much longer than "Lorem Ipsum Dolor". I want this to fit tightly in a box of certain size (e.g. 7x2cm). ...