{scaling} is about scaling document elements. Use this tag in addition to other tags specifying what should be scaled.

learn more… | top users | synonyms

4
votes
1answer
36 views

Best way to scale a tikzpicture with matrices

I had the following figure in a document that I am looking to put in some beamer slides. The figure in question is to wide to fit in the slides, so I am looking to scale everything, by say, a factor ...
2
votes
2answers
44 views

Side-by-side figures with caption, specify height but use whole textwidth

I found this answer which does exactly what I want except the fact that I can't use a caption for my figures: Forcing subfigures to have same height and take overall X% of linewidth in LaTeX I want ...
4
votes
1answer
2k views

\scalebox doesn't 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}{ ...
3
votes
2answers
46 views

How do I scale mathbbol symbols?

I have need of blackboard bold Greek symbols so am using the mathbbol package. I would prefer to have the symbols at 1.1 design size, say. How do I arrange to scale all the bbol symbols by this ...
2
votes
2answers
49 views

overlappings when texgyrepagella is used with stmaryrd

Consider running xelatex or lualatex on the following code: \documentclass[compsoc]{IEEEtran} \usepackage{unicode-math} \setmathfont[Extension=.otf]{texgyrepagella-math} %\usepackage{mleftright} % no ...
0
votes
1answer
35 views

How to fit a table to one page in LYX?

I have created a floating (sideways) table in LyX, which is too large to fit one 'pdflatex' page ... Can anyone help me scale it down so it can fit?
3
votes
1answer
36 views

How to attach properly spaced subscripts to a rotated symbol?

I'd like to attach letters to my rotated symbol and then shrink it down. However, when I do this, the spacing is very much different than when I do the same exact thing to the original symbol. Is ...
3
votes
1answer
76 views

How to scale a tikz graph

I would like to enlarge a diagram made with the \graph command, because the arrows at the current scale look too short to me. The options I have tried, however, seem to have no effect. I have tried ...
2
votes
1answer
38 views

Dashed or dotted scalable right brace in math mode wanted

How to to typeset a right brace which scales similarly to the left one in the "cases" environment and is dashed or dotted at the same time? The code below is almost ok---except that the curly bracket ...
1
vote
0answers
25 views

Fixing horizontal axis in pgfplots [duplicate]

I have the following plot and I would like to have the horizental axis fixed, but it scales and therefore I cannot see the details of the values between 0-50. To be more specific, in the horizental ...
11
votes
4answers
1k views

Sloped Tikz node with rotation and scale

There should be an easy way to place a sloped node along a path. Using sloped works great (as in the black text). However, if there is a rotate= applied then the text is no longer along the path (as ...
3
votes
2answers
38 views

pdfsavepos and scalebox

For aligning the notes in a beamer presentation (using PGFPages to put the notes page directly next to the presentation slides) at the same vertical position where the text was outputted, I use ...
69
votes
6answers
10k views

How to scale a tikzpicture to \textwidth

I would like to scale my tikzpicture to exactly (or a proportion of) the \textwidth Of course I could play with the [scale=0.5] option until I found the right value, but I assume there must be an ...
129
votes
10answers
35k views

Compile a LaTeX document into a PNG image that's as short as possible

I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
8
votes
2answers
212 views

How do I draw on images embedded with \includeimage in TikZ with pixel accuracy?

I want to draw on an image which I embedded using \includeimage: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \node[anchor=south west,inner sep=0] (image) at (0,0) ...
8
votes
2answers
4k views

\hat and \widehat look terrible: fixing width and better positioning?

I want to make the use of quantum mechanical operators explicit in my text using \hat{A} or \widehat{A}. The problem is that depending on the symbol under the accent it looks either misplaced or too ...
17
votes
4answers
33k views

How to align two images side by side and to scale them automatically to use whole slide?

I have two images. How do I align them side by side and scale them so that both of them together occupy the whole horizontal space in a beamer presentation? \begin{frame} \frametitle{Inconsistency} ...
2
votes
2answers
51 views

Automatically make three brackets the same size

I would like to do something like left[ and right], but with an additional | in between which automatically has the same size as the left/right. This comes from the way I denote conditional ...
1
vote
1answer
72 views

How to scale figures and table to text width?

I'm inserted figures and tables in my document in the following way: \begin{figure}[!htbp] \centering \includegraphics[width=110mm]{figure.jpg} \caption{The caption.} \label{fig:label} \end{figure} ...
4
votes
2answers
57 views

How to autoscale and autoalign a TikZ picture to the surrounding text?

I'm designing some icons with TikZ to be used in my text. As a working example for this question let's a take a simple arrow: \tikz[->]{\draw[>=stealth] (0,0)--(1,0);} How can I treat this ...
11
votes
4answers
4k views

How to scale all fonts (in the whole document) by certain factor or percentage?

Is there a way to scale the font size of all text in a LaTeX document by a certain factor, something like \scalealltext{factor=0.95}? Edit: Text should reflow, so as to fit (a bit) more text on a ...
23
votes
3answers
21k views

Make two figures aligned at top

I am inserting two graphs (of different size) in the following way: \begin{figure}[H] \begin{center} \includegraphics[scale=0.5]{graph1.eps} \includegraphics[scale=0.3]{graph2.eps} ...
3
votes
2answers
89 views

Tikz: Creating narrow arrow heads / disproportionate scaling

I want to use arrow heads that look like the triangle 45, but due to my technical background I would like to get the opening angle smaller (and overally smaller in relation to the line width). My MWE ...
0
votes
0answers
40 views

What's the right way of making my table of contents fit on the title page?

I'm writing a document with the article class. I have a not-so-short but not-so-long table of contents, which I would like to place on the title page, under the \maketitle. My problem: It spills over ...
1
vote
1answer
45 views

How can I use resizebox within a custom environment (or is there a better way to scale an environment's contents)?

I'd like to create a custom environment that automatically expands my syntactic trees to a specific width. I am using the xparse LaTeX3 syntax for my environments. Relevant Snippet: I would like to ...
1
vote
1answer
44 views

Why are minumum width and minimum height options not affected by scale?

I have noticed that when I use the scale option in a TikZ picture, the values of minimum width and minimum height are not scaled. A MWE (both pictures are exactly the same, only the scale parameter ...
1
vote
1answer
43 views

Cache math content in savebox and account for math style

I am using Create a \savebox in a Group and have it available outside of group to cache some math content. However, I realized that there may be a case where the same math content needs to be cached ...
14
votes
1answer
175 views

Why does pdfTeX use character expansion instead of line scaling?

In order to achieve better spacing and line breaking, pdfTeX can expand fonts. The user decides how much stretching and shrinking is allowed for each desired font, and in what increments. However, ...
2
votes
1answer
28 views

Bigger headline numbers without changing the height of the headline

I have made the section numbers in the headlines appear in the margin with this code \newlength\mylen \setlength\mylen{\dimexpr\oddsidemargin+7mm+\hoffset\relax} \titleformat{\section} ...
4
votes
1answer
1k views

How to scale algorithm to fit in one frame and centered in the frame at same time?

Originally, the algorithm is too long to fit in the frame. If I use the \scalebox{0.8}{}, it can fit in the frame but doesn't look like to be centered in the frame. Here is the code and output. First ...
1
vote
1answer
80 views

Scaling issues with Tikz

I have two Tikz block code one after the other in my document in an enumerated list, Why does the following code scale the two Tikz figure differently? I am using the tkz-euclide package. ...
2
votes
1answer
91 views

tikzpicture[ ] and axis[ ] do not align

I would like to combine figures drawn outside of the scope of axis but inside the scope of \tikzpicture with figures inside the \axis environment. However they seem to leave in a different reference ...
6
votes
3answers
71 views

How to make a page bigger without affecting the text inside? (Useful for drafts with notes)

I have a document such as the following: \documentclass{article} \usepackage{geometry} \usepackage{lipsum} \usepackage{todonotes} \usepackage[english]{babel} \usepackage{showframe} \begin{document} ...
3
votes
1answer
72 views

how to scale each dimension of an image with different ratio

I would like to scale an image file for each dimension differently for example 50% of the x dimension or 25% of the y dimension. Thank you very much.
2
votes
2answers
101 views

Fit table to page

I am new to latex and struggling a bit to fit a regression table onto one page (portrait). At the moment I am using \resizebox but cannot quite get it work. I found a similar thread which relies on ...
3
votes
1answer
92 views

PgfPlots: Scale X-Axis Non-linearly

I want to scale x-axis in a non-linear way. That is, for example, I want to have ticks 1,2,45,100,400 with equal distance between each of them. The scale between 1 and 2 , 2 and 45, etc., should be ...
6
votes
1answer
110 views

Excluding commands from TikZ scale

I am looking for a solution to exclude some TikZ commands from the scale influence. The scale option consolidates the tikzpicture and scales it as a whole, I am looking for a way to remove certain ...
4
votes
1answer
59 views

paracol and scaled fonts misaligned

I am using pararcol with english and arabic. The arabic font is scaled up in size and this causes a misalignment of lines, not just within paragraphs, cumulatively, but also of the first paragraph ...
3
votes
2answers
571 views

Scale Figure with subfigure

I have figure that made of two subfigures, the problem is the figure is larger than my page I want to scale the whole figure to fit into my page (with caption and everything how can I do it) ...
1
vote
0answers
58 views

Error `tikzscale` package when scaling a figure, containing two axis environments next to each other, to the text width

I have a figure environment with which I depict two pgfplots axis environments next to each other. I want to scale the figure such that it uses the full \textwidth. I attempt to do so by means of the ...
1
vote
1answer
616 views

Error while scaling a table

I'm trying to scale this too wide table, but I'm getting an error and unable to solve this problem at all. Here is the error: "! You can't use `\hrule' here except with leaders" on the caption line". ...
2
votes
2answers
69 views

Arrows of arbitrary length

Sometimes I need to type an arrow between nouns in my text, e.g.: Foo $\rightarrow$ Bar $\rightarrow$ Baz Is there any way to adjust the length of the arrow? I have tried with \scalebox but it also ...
3
votes
2answers
125 views

How to reduce font size in equation for text

I have a slide in my beamer presentation that looks like: \documentclass{beamer} \begin{document} \begin{frame} $$ y= 1/x \qquad \scriptscriptstyle {\mbox{For}~ x>0} $$ $$ y= 1/x \qquad ...
6
votes
1answer
31k views

PNG: importing it with latex | pdflatex | xelatex

I never understood how (pdf)latex determines the size of imported bitmaps, but many years ago I experimentally elaborated simple rule that allowed me to get same output by running either latex or ...
4
votes
2answers
113 views

Scale chemfig molecule in beamer with tikz

I want to show three different molecules on a beamer slide. The slide contains a tikzpicture (for positioning and uncovering together with the other elements), three nodes contain one molecule each. ...
2
votes
1answer
70 views

Change TikZ Scale for One Path

I would like the orange dot to be a circle. How do I make that happen while keeping otherwise intuitive/straightforward numbers in the code? Or is there no easy way to do that? This code ...
6
votes
2answers
1k views

resizebox doesn't respect linebreaks?

I'm trying to scale some text up. It seems like \resizebox (from graphicx?) and \adjustbox (from the adjustbox package) ignore line breaks: \resizebox{5cm}{!}{Hello\\ world} Is there a way to scale ...
2
votes
1answer
68 views

Log scale, ticks scaling and natural numbers

I want to reproduce this logaritmic scale with this kind of scaling and these ticks, how can I do? Here it is the code: \begin{tikzpicture} ...
5
votes
1answer
474 views

Automatically fit the graphics in the remaining space of a Beamer slide

I want to put a figure in some part of the presentation (beginning, middle or end of the slide). I want the figure to be adjusted to the height of the available space while keeping the aspect ratio ...
0
votes
1answer
105 views

Problem with scaling multiple tikz picture in one line

This is one of the first figures I drew with latex. \documentclass[a4paper,10pt]{scrbook} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{calc} \usetikzlibrary{intersections} ...