Questions tagged [scale]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19
votes
3answers
7k views

How to scale and then trim an image?

I am trying to create a document that requires the inclusion of images at a precise size (h x w inches). I would like to reuse the document template, so I would like to create a command that would ...
12
votes
2answers
450 views

Non scalable unit in tikz

Is there a non scalable unit in tikz? I have the following picture, \documentclass{report} \usepackage{tikz} \begin{document} \begin{tikzpicture}[>=latex, scale=2] \draw[->]...
9
votes
3answers
6k views

Very short arrow symbol

Is there a way to make very short arrows? I have: \documentclass{article} \usepackage{stmaryrd} \begin{document} $x_{i\shortrightarrow j}$ \end{document} I want: Thank's for all ideas and ...
6
votes
2answers
760 views

How to make a picture taking the maximum space?

To expand a picture imported with \includegraphics that is wider than heigh to the width of the text block, you just do this: \includegraphics[width=\textwidth]{ ... } When they are heigher than ...
5
votes
2answers
423 views

How to properly scale up fonts from newtxtext and mtpro2?

Motivation For my CJK documents, I’m mixing TeX Gyre Termes (a Times clone) with Source Han Serif and TeX Gyre Heros (a Helvetica clone) with Source Han Sans. I’m also using the MathTime Professional ...
4
votes
4answers
611 views

\includegraphics: get the “scale” value of a figure whose size is expressed by “width”

Lets take this string: \boxed{\includegraphics[width=0.4\textwidth]{FIGURE.pdf}} that generates this figure: Now lets say that I need to crop the blank margins of the figure keeping the figure's ...
4
votes
2answers
165 views

frcursive package scaling

I recently found this package frcursive which I think gives beautiful caligraphic letters. The only problem is when I try to use it, the capital calligraphic letters are too big compared to normal ...
4
votes
1answer
933 views

How to scale a TikZ matrix?

I have the following matrix: which is obtained from the following code: \usetikzlibrary{patterns} \usetikzlibrary{matrix,decorations.pathreplacing,calc} %opening \title{} \author{} \pgfkeys{tikz/...
4
votes
1answer
694 views

Scale three symbols to the same size

I would like to use 3 different symbols, "circle", "cross" and "circle with cross" I have found the following symbols $\times$, $\otimes$, $\circ$, $\bigcirc$. The cross (\times) and the circle with ...
4
votes
2answers
2k views

Scale Standalone tikzpicture but retain text font size

I have a standalone standalone_tikzpicture.tex file, \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta,shapes,arrows,positioning,calc} \begin{document} \begin{tikzpicture}[ sum/...
3
votes
3answers
299 views

How to scale a verbatim environment on a minipage?

I have a plain vebatim environment. Questions 1, 2 are too complex to understand. I would simply like to align in the center and rescale the ascii art logo. MWE: \documentclass{article} \usepackage{...
3
votes
2answers
3k views

How to scale text (or font) in tikzpicture without scaling entire node?

I've used scale=0.5 for some of the nodes to make text smaller but a change that code has undergone lately leaves me no choice but to look for a way to keep the node's original size (it is a fixed-...
3
votes
2answers
574 views

Resize an eqnarray environment

I am writing a mathematical model using eqnarray environment in beamer, the problem is that I need it to be smaller, so I tried to use resize it using \scalebox or resizebox but I got error (not ...
3
votes
1answer
227 views

How to scale data text with diagram in tikz-timing?

I'm trying to generate timing diagrams of different sizes in a document with tikz-timing. I have managed to scale the whole diagram using options like timing/unit or timing/wscale. I can also change ...
3
votes
1answer
94 views

How to scale multiple elements to maximum width while keeping their relative size fixed?

I have multiple elements in different places of my document. These could be images, TikZ drawings, etc. I want to set the maximum width for each of the elements. Importantly, I also want the elements ...
3
votes
1answer
677 views

Resizing TikZ figure created in R that contains legend

I've shifted through several similar questions (such as this and this), but couldn't find an answer. I'm trying to rescale a plot produced in R, using the tikzDevice library, but I'm having trouble ...
2
votes
3answers
896 views

How to display image in jpg format in Beamer?

I'm using Beamer as follows: \documentclass[10pt]{beamer} \usetheme[progressbar=frametitle]{metropolis} \usepackage{appendixnumberbeamer} \usepackage[numbers,sort&compress]{natbib} \...
2
votes
1answer
165 views

How to scale MetaPost drawings with consistent line width and label text size in ConTeXt?

I am using MetaPost to create some simple drawings in a ConTeXt document. In this example, I have a row of 14 boxes: \startMPcode draw (0,0)--(100,0)--(100,100)--(0,100)--(0,0); draw (100,0)--...
2
votes
1answer
80 views

tikz scale everything: paths and text

I feel like this should be really simple, but I cannot figure out how to do it. I want to scale a tikz figure entirely, paths and text. I tried both of these, but neither causes the font to scale. ...
2
votes
1answer
229 views

scale entire document

Is there a simple way to scale the dimensions of my entire document? I'm trying to make a A0 sized poster, but I'm finding it is much easier to work with an A4 size document, since that way I don't ...
2
votes
2answers
250 views

colorbar problem when scaling every node

I'm trying to illustrate a confusion matrix, and when I scale every node and it seems to mess up the colorbar. Notice that the colorbar is not completely filled in. And here's an MWE: \documentclass{...
1
vote
2answers
116 views

Get outermost coordinates/length in a Tikz-picture

From my previous question/answer Tikz image within a defined box (& the textpos package), @frougon provided a great solution. And now, I'm seeking to have a standard scaling for all of my Tikz-...
1
vote
2answers
210 views

Centering something that is scaled to fit an empty beamer slide

I am trying to fit something in a beamer slide so that it covers the entire frame width, but what I get seems to be offset to the right by \hoffset. Here is a MWE: \documentclass{beamer} \usepackage{...
1
vote
1answer
75 views

Adjusting line spacing to original format with symbols with underset

I have set the line spacing of my Latex document to 1.5. In some part of my text, I use mathematical symbols with "underset". This has increased the line spacing compared to the original defined ...
1
vote
1answer
56 views

Scale tikz arrow length relative to its starting point

How can I scale an arrow so that the scaling is based on its starting point? In my example you see my problem. The black arrow should be scaled down by fifty percent to give the red arrow (as if (0,2) ...
1
vote
1answer
30 views

Scale own math symbol / image appropriately

In this thread we learned how to create our own math symbol. Now the question is how we force it to scale appropriately when used in sub- or superscript: See the following example: \documentclass[12pt]...
1
vote
2answers
180 views

Adjust/scale landscape table to fit in a4

I'm trying to adjust my landscape table to fit in the A4 paper margin but as you can see it doesn't seem to work. Even by scaling the table to text width doesn't work as the table will just become ...
1
vote
1answer
154 views

Scale ticklabels

How can I scale the ticklabels in Tikz to replicate the Matlab command set(gca, 'XTick', xt, 'XTickLabel', xt.^3) As an example, the xtick labels should be converted to the following xtick={10,15,...
1
vote
1answer
58 views

Scaling a PDF page to fit a logic puzzle

I am trying to create a big logic puzzle using the logicpuzzle package. I want the resulting PDF page to fit the whole logic puzzle. I have tried using the standalone document class, but the puzzle is ...
1
vote
0answers
33 views

Scaling a figure in twocolumn environment [duplicate]

I am trying to rescale a figure while in twocolumn environment, but all attempts result in error. Here is what doesn't give an error: I want to, however resize the picture, and when I try I get this ...
1
vote
0answers
120 views

How to fit a table of 25x25 in one page?

I have tried many options that are presented here, adjust box resizing etc. Either the table is hard (almost impossible to read) or it is out of the page and unreadable. What i want to happen is ...
0
votes
1answer
32 views

Scaling of frame creates a little point

I am trying to figure out why latex puts a little point after at the beginning of align environment I am scaling to fit the pagewidth. As an example: \documentclass{article} \usepackage{amsmath} \...
0
votes
1answer
46 views

Get value of global scale in in TikZ-picture [duplicate]

I calculate some lengths of a path (without the use of the let operator!). To achieve that I use the \pgfgetlastxy{}{}; command (which works fine so far) but if I scale the picture, the calculations ...
0
votes
1answer
249 views

tikz pic scaling with line width

How can I scale also the values of line width in this MWE? \documentclass[tikz,border=5mm]{standalone} \begin{document} \tikzset{ mytest/.pic = { \draw[blue, line width=0.5cm](0,0)--(90:1....
0
votes
1answer
282 views

Metapost: scale a picture

If I define a picture, how can I scale the picture by a scale factor? For example, if the scale factor is 5, then the target will be as 5 times as the size of the defined picture. The scale factor ...
0
votes
1answer
2k views

includepdf landscape with scaling

I have a bunch of pdfs in a folder, some landscape, some portrait (so far none that are a mix, but it's possible) I have a script to add the required \includepdf statements for each pdf file. This ...
0
votes
1answer
117 views

Creating \simrightarrow with ooalign [duplicate]

I would like to have a command \simrightarrow, that is, a \rightarrow with a \sim over it. Stealing code from @egreg, I got: \documentclass{article} \usepackage{unicode-math} \newcommand{\...
0
votes
3answers
668 views

How can I scale a font in fontspec without changing the font?

I am trying to change the default font size in my document. I am using the fontspec package in XeLaTeX. This seems achievable using \defaultfontfeatures{Scale=2.5}, but this only takes effect after I ...
0
votes
2answers
39 views

Scalation problem in flowchart

Im getting a problem with the background when the tikz figure is scaled. This is my MWE: \documentclass[14pt,a4paper]{extarticle} %,twoside Usado en latex-ssau-gost-style-master %\usepackage{mutavel} ...
0
votes
1answer
38 views

istgame error on correct code

Code: \documentclass[12pt]{article} \usepackage{istgame} \usepackage{tikz} \usetikzlibrary{shapes,arrows.meta, positioning} \usepackage{enumitem} \usepackage{float} \usepackage[margin=1in]{geometry} \...
0
votes
1answer
28 views

Cannot Scale Integral Symbol using scaleobj [closed]

Hi I'm try to reduce the size of my integral sign so it fits within the same line as the rest of my equation. I tried using scaleobj to reduce the size, but I cannot figure out why I'm getting an "...
0
votes
0answers
53 views

Image disappears when using \textwidth or \columnwidth

I am trying to insert an image in my document using one of the relative scales, such as \columnwidth or \textwidth. When I use one of them, the image disappears, but the label is present on the text: ...
0
votes
1answer
122 views

Scale to different paper sizes?

I used "Forth Version" of from Question Polar histograms for building my diagram. Exported PDF Document is fitting on a4 paper. How can I scale this to bigger paper formats? a3, a2, a1 a0 paper? ...
0
votes
0answers
49 views

Setting the size of math font to correspond with text size globally (in the whole document)

I have an important question that has been bugging me for a while. I recently got the request that I must write a report in 12pt (Word standards). Thins is my code before accommodation (just an ...
-1
votes
1answer
63 views

How can I narrow a text using a command instead of scalebox{0.5}[1.0]{}?

For short, I got this \usepackage{tocloft} {\renewcommand{\cftsecfont}{\rmfamily}} which sets the section family font in TOC, and I need a scalebox-like command to narrow the section font on TOC. ...