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

learn more… | top users | synonyms

2
votes
1answer
38 views

Resize or scale displaymath environment

I would like to resize the two schemes I made with the displaymath environment. However, I cannot find anything helpful. I'd like to fit both schemes into one page. My code is the following: ...
3
votes
0answers
11 views

Store and reproduce effective graphics scaling

When an image's length is scaled to a variable length, say \textwidth, how can I determine the effective scaling factor? \includegraphics[width=\textwidth]{image.pdf} I would like to use it to ...
2
votes
0answers
37 views

Downseizing of Din-A4 manuscript to special format

I've created my manuscript with the following document class and options: \documentclass [fontsize=12pt,paper=a4,headsepline,plainheadsepline,headinclude,twoside,open=right,DIV=14,BCOR=10mm] ...
4
votes
1answer
95 views

How to use EB Garamont Font with KOMA Script Font Size 16pt

I am using the ebgaramond package in my scrbook document. As a base font size I want to use 16pt but when I compile the document I get warnings like the following: LaTeX Font Warning: Font shape ...
1
vote
1answer
50 views

Enlarging the table

How to enlarge this table? Thank you in advance \begin{table}[ht] \large \centering \begin{tabular}{c|c||*{8}{c|}} \multicolumn{2}{c}{} & ...
0
votes
2answers
77 views

How do you scale image to fit size of the paper?

I am making a presentation on beamer and I am struggling with image I don't understand: scale;line width;text height on positioning the image. Especially when I add caption it gets messed up. How do ...
2
votes
1answer
83 views

Tikz node centers with scaling

Can you explain why TikZ places the node center incorrectly in this MWE? I expect the red node to overlap the black one entirely, but it does not. If I remove the scaling, the problem goes away. ...
98
votes
4answers
159k views

Scale image to page width?

I use \inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos.
0
votes
0answers
18 views

Using TexStudio on external monitor

I am trying to use TexStudio on an external monitor which resulted in scaling issues. I found the following solution: "Instead of specifying the commandline argument, you may alternatively place a ...
3
votes
1answer
3k views

TikZ: the scale option changes font size

When I use \begin{tikzpicture}[scale=X] with X<1/X>1 then font size of text in the picture is also changed. I need to use [scale=2] or [scale=0.5] and to preserve font size (e.g. normalsize). ...
6
votes
2answers
4k views

Scaling in CircuiTikZ

When scaling a circuit with the scale option: \begin{circuitikz}[scale = 'some_scale_factor'] all the coordinates are well scaled but not the components. How to correctly scale the whole scheme?
3
votes
1answer
297 views

Can't scale x-Axis to textwidth

I want to plot some measured values. The y-axis contains the the voltage and the x-axis time stamps. I used matlab2tikz to create this plot: If I want to plot the graph, the x-axis is not scaled to ...
0
votes
1answer
38 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?
5
votes
3answers
94 views

Automatically resize tabular to avoid it being pushed to next page

Context My document has one title phrase and one table containing texts. I would like to have them both on one page. The table's content may change (sometimes more or less 2-or-3-lines-texts ...
4
votes
1answer
56 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
53 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
3k 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
48 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
50 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 ...
3
votes
1answer
37 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
82 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
40 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
43 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 ...
72
votes
6answers
11k 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 ...
130
votes
10answers
37k 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
230 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
34k 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
54 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
87 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
63 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
22k 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
96 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
46 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
48 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
45 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
46 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
177 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
2k 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
81 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
99 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
75 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
104 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
99 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
115 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 ...