Questions tagged [scaling]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
49 views

scaling a text within a rectangle

I draw a rectangle r which is 4 time the size of some word w; I would like the word w to be 3 time its initial size (and drawn in r). I don't know how to get my multiplication factor, 3 in this ...
2
votes
3answers
106 views

Adjusting leaf sizes in forest

I'm trying to draw some trees using the forest package. For some reason, the leaf sizes are scaled differently depending on how many leaves the tree has (see picture). I want every leaf to be of ...
1
vote
2answers
40 views

How can I use the current value of a foreach loop to alter the width of the drawn object?

I'd like to create a Tikz plot where a vector of numbers is used to include a picture. I want the picture to be scaled using the current value, so that the pictures higher on the y-axis are larger ...
1
vote
1answer
56 views

Medium sized fraction macro, instead of using the nccmath package

We could get good looking medium sized fractions using the nccmath package. However, there may be some incompatibilities with other packages and I would prefer to get rid of that package, since I ...
1
vote
1answer
88 views

Simplest way to place cropped image on other image (Tikz)

(I'm sure lots of ppl have had this exact same problem before, but I could not find it anywhere.) I have two PNG files, A & B. Image A is like a frame, so it has an empty area in the middle. In ...
2
votes
3answers
202 views

Scale text (\scalebox) in Plain TeX/XeTeX to make it narrower

I've been looking up stuff and searching through the Internet for a few hours now. Basically, I need to do something like this, which I can do in LaTeX with the graphicx package: \scalebox{.7}[1.0]{...
0
votes
1answer
42 views

How to resize a box or a character exactly to 1ex (in width and height) without relying on \resizebox or on non-LaTeX Team packages?

There's \resizebox, but is there any other way to resize a box? Anything that resizes a character (not a box) to an arbitrary width AND height is also appreciated. One condition is that no packages ...
1
vote
1answer
34 views

How can I insert an icon in a section header that scales with font size depending on where it appears in the document?

I found this question which lays out how to correctly insert an icon into a section header. However, it does so at a fixed size and appears in the TOC, which has a different font size, which looks a ...
4
votes
1answer
194 views

Can I scale all line widths in a tikzpicture?

I have some tikzpictures that were designed for a4 paper and that should now be used on an a0 poster. All the coordinates in the picture can be scaled up with the option scale=4, but this leaves the ...
0
votes
0answers
62 views

liabilities of web fonts for tex printing

The below expands on the themes briefly represented in a question from several years ago. Historically, TeX and its descendants have distinguished themselves as being accessible to non-commercial ...
0
votes
0answers
27 views

Page scaling at print

I am writing my thesis with the Latex template provided by the university, and they are complaining that the margins are not right. The .cls file I am using is provided by them and has the correct ...
2
votes
1answer
61 views

Making \big/ scalable

I would like to have a bigger slash symbol. How can I make it scalable? Minimal example: % arara: pdflatex \documentclass{article} \usepackage{amsmath} \newcommand{\modslash}{\big/} \begin{document}...
0
votes
1answer
56 views

Text auto resize to fit a node

I need to autoscale a text to fit inside a static node which can't change its size. The code I'm actually using is \node[text width=3.75cm] at (0.5*\width,\titley) { \begin{center} ...
3
votes
2answers
121 views

Better way to obtain a smaller vertical line | scaled to math?

I am trying to write the following line as can be seen below \documentclass[border=1mm]{standalone} \usepackage{graphicx} \begin{document} \Huge $\cup \ \cap \ \raisebox{0.30 ex}{\scalebox{1}[0.62]{$\...
1
vote
1answer
62 views

How can I resize a poster image in Latex (media9 package) while keeping the original media size?

I would like to use LaTeX with the Media9 package to make a pdf with embedded u3d files where each has a poster image that is scalable independently of the size of the media. I have already tried to ...
3
votes
1answer
52 views

Scale multiple tables by the same factor to fit widest table

This might be asking a lot, but I would love to have a way to automatically scale multiple tables with similar content by the same factor such that the widest table fits to a particular width (e.g., ...
0
votes
1answer
24 views

How to get input pdf_text to scale text in the same way that include svg does?

I would like to get \scalebox{.5}{\input{file.pdf_latex}} to scale text in the same way that \includesvg[scale = .5]{file.svg} does. Here is the minimum working example. For those who don't want to ...
1
vote
1answer
89 views

Bar chart vertical alignment and scaling

I'm having problems with the vertical alignment of my bar chart. I started using a single xbar chart for my data, but it looked terrible, since one item is very large and the other very small. So, i ...
1
vote
1answer
60 views

How to reduce the equation font size in math mode in Latex?

I am trying to resize the equation font size in math mode: As This answer suggested : \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \newcommand*{\Scale}[2][4]{\scalebox{#1}{$#2$...
0
votes
0answers
36 views

Scaling Box for Exercises

I've been using the following code to include numbered exercises in a book I'm writing using the amsbook class: \newcounter{exercise} \newsavebox{\mybox} \newenvironment{exercise} {\...
0
votes
0answers
17 views

Resizing a table by textheight reduces the width [duplicate]

I have a large table (height does not fit in page) and I use this code in order to fit it in height. \begin{table}[] \resizebox{!}{0.65\textheight}{ \begin{tabular}{lllll} ... \end{tabular}} \end{...
0
votes
1answer
64 views

PGFPlots logarithmic scaling of x axis and ticks base 2

I'm trying to create a plot, where my x axis is scaled to base 2 and the ticks should be at the exact height of the coordinates. I have the logarithmic x axis, but i just can't get the ticks to be at ...
0
votes
1answer
59 views

Math-mode font size increase for document global font size above 14pt

I'm writing a memoir with a \documentclass[b4paper,14pt,english,twoside]{memoir} and was very surprised that math formulas are so small. Then my goal is to increase math-mode font size but keep a ...
1
vote
1answer
126 views

minuscule text in a standalone environment

The {memoir} document class allows for text smaller than \tiny, with the \miniscule command, which can be useful, but I never find myself needing to write an actual memoir. I tend to use either {...
0
votes
1answer
81 views

Recreate textlogo

I am trying to recreate the logo beneath to the best of my abilities So far my best results have produced the following image There are a few problems with my solution though Is there a way to make ...
1
vote
1answer
57 views

`evaluate at` delimiters

I am using the \DeclarePairedDelimiterXPP command from the mathtools package to declare some new delimiters, for which scaling can be turned on and off easily. Specifically, I want to declare the ...
3
votes
1answer
62 views

CircuiTikZ: Create a command to resize a single component

As frequently asked, I want to resize a single component in a circuitikz environment, which is achieved by passing /tikz/circuitikz/bipoles/length=<length> to the component options. I have the ...
1
vote
1answer
40 views

Disable automatic scaling of graphics in Lyx

The following code in the master document preamble (book class) is used to scale graphics that are larger than the line width down to the line width, but leaving smaller ones alone. Currently I am ...
2
votes
1answer
56 views

Is there a way to dynamically scale a watermark?

I've done quite a bit of research of trying to scale a watermark based on the text given. The issue is that if I enter a longer string, the text runs off the page. I've tried various packages ...
0
votes
0answers
60 views

Matplotlib2tikz text size when scaling

I am using matplotlib with matplotlib2tikz to create my output. I am currently using the option to be flexible later on in TeX tikz_save('myfile.tikz', figureheight = '\\figureheight', figurewidth = '...
5
votes
1answer
91 views

How to make tikzpicture full screen in beamer whlie keeping aspect ratio

I have a tikzpicture which has an unpredictable aspect ratio (actually, due to clipping, the aspect ratio varies across overlays). I want to have the tikzpicture always scaled up in beamer to the ...
3
votes
1answer
90 views

How to fit content of minipage dynamically within a standalone?

I'm trying to create a standalone but the content won't fit inside. I think \minipage{\textwidth} causes the issue. I know I can set e.g. \minipage{21cm} but I want to keep this dynamic since the ...
1
vote
1answer
142 views

NFSS: Can I scale fonts using fractions (more accurate) instead of decimals?

I would like to be able to pass a fraction expression to s*[<number>] in a \DeclareFontShape. The ultimate goal is to instruct LaTeX2e’s New Font Selection Scheme (NFSS) to perform more ...
1
vote
1answer
126 views

How to make inductors larger?

I'm having a problem trying to make my cute inductors larger. I found a way of making them bigger with the /tikz/circuitikz/bipoles/length but that scales the entire inductor. I just want it to be ...
2
votes
1answer
40 views

Prevent brakets from resizing

I am using the physics package for braket (Dirac) notation. However, some expressions (such as the braket on the right) automatically rescale in the presence of, say, an operator (such as f hat), ...
1
vote
1answer
78 views

Can I stretch or expand an entire standalone document to fit the page?

If I create a standalone document, and it's approximately the shape of an A4 piece of paper, can I expand it to take up a full page; stretch it to fit the dimensions of the an A4 article? Just want to ...
2
votes
2answers
70 views

Tikzpicture Resizing when Using Axis Environment

Here is an example of two generic grids, one made using the axis environment in tikz, and the other without: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{figure} \...
0
votes
0answers
88 views

pgfplots: Is “scale only axis” only necessary for documents but not for standalone?

Assumed we have this kind of code: Minimum Working Example (MWE): \documentclass{article} \usepackage{showframe} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[height=\...
0
votes
0answers
39 views

Force two big images to fit a page

I have two big figures which I'd like to fit on a page, above each other and including their captions. Unfortunately the caption of the bottom figure sticks out. I have tried using the subfigure ...
2
votes
3answers
884 views

How to automatically scale subfigures to have same height? [duplicate]

I have a lot of figures to put side by side in a document, and they are all slightly different in size (i.e. not all 4:3 format or so). What I'm doing at the moment is tweak the width=0.XX\textwidth ...
3
votes
1answer
89 views

Failed to properly set size of tikzpicture in beamerposter

I tried to insert a TikZ picture provided below into a beamerposter document. It is generated by the following code (except the arrow in the middle of the "incident beam", it's an excessive detail): ...
2
votes
2answers
49 views

Put a vector image on the right of a table and adjust its height to the table height

I have a table \begin{tabularx}{\textwidth}{ X p{70pt} \toprule stuff1&stuff2\\ \midrule stuff3&stuff4\\ \bottomrule \end{tabularx} and i would like to insert on its right a vector image ...
1
vote
1answer
72 views

Defining a scaling postfix operator

I would like to find a way to scale a one-place defined (postfix) operator to match its surroundings. I would like it if this behavior imitated what can be accomplished using \left and \right. An ...
2
votes
1answer
66 views

Showing small area between curves

I have attempted drawing the hyperbola y=\dfrac{1}{x+1} and the parabola y=x^2-x+1 on the same set of axes as shown below. Currently, the graphs are not clearly indicating the area between curve for -\...
0
votes
1answer
95 views

Tikzscale - Unscalable Picture

I would like to use the package tikzscale to scale my picture. I use the following code \usepackage{graphicx} \usepackage{ifthen} \usepackage{tikz-cd} \usepackage{tikz} \usepackage{tikzscale} \...
3
votes
3answers
143 views

Part of the standalone tikzpicture gets scaled when pasting it in a document

I created this nice Polygon using the following code \documentclass[margin=0pt]{standalone} %---------------------------- Tikz Libraries ------------------------------% \usepackage{ifthen} \...
2
votes
1answer
100 views

Adding spacing in mathtools' `set` command

In the mathtools documentation, page 27, a command \Set* (along with \Set) is defined to stretch according to the large input inside: \providecommand\given{} \newcommand\SetSymbol[1][]{ \...
2
votes
0answers
97 views

How to scale horizontally every character in listings code?

I want to scale horizuntally every character in listings code, making it narrower. The basewidth option is not what I want, since it doesn't scale characters. Any way to achieve this? \documentclass{...
4
votes
1answer
236 views

LaTeX - how to detect scale of \includegraphics

I have a general question, so without any example code. I'm implementing part of document containing gallery of images. Generally, I have two types of images: 1) document, typically scanned A4, ...
2
votes
1answer
113 views

How to log scaling applied by \includegraphics?

I'm currently working on a large-ish document that contains a lot of screenshots. These range from relatively small dialog boxes or details of the screen to some very large overview pictures. I ...

1 2 3 4 5 12