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
0
votes
0answers
22 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
16 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
31 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
31 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
28 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
73 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
28 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
52 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
33 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
38 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
32 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
55 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
62 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 ...
0
votes
1answer
87 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
54 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
32 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
59 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
54 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
47 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
34 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
296 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
57 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): ...
0
votes
0answers
26 views

How to scale text in a graph of text nodes

This should be the simplest question ever. I want to be able to change every letter in the graph below by a text box very similar to the one on the left of J. Now, the problem is that if I scale J and ...
2
votes
2answers
46 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
39 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
61 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
59 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
140 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
58 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
77 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
202 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
94 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 ...
2
votes
1answer
36 views

Insert image so that it fills the rest of the page while not fall below a minimum size

I'm trying to make a command that adds images to page in a way that fill the rest of the page. I'm using code from How to define a figure size so that it consumes the rest of a page? and it works. But ...
1
vote
1answer
246 views

Is it possible to go directly from LaTeX to SVG?

I have a situation where I'm calling latex.exe in the background and then dvipng on it and then loading the file into a QGraphicsScene using QGraphicsImageItem and the result is horrible upon zooming ...
5
votes
2answers
225 views

How do you resize the box of a symbol, while vertically centering it?

Consider the following MWE: \documentclass[margin=2mm]{standalone} \usepackage{amsmath,amssymb} \usepackage{graphics} \def\myboxmin{\mathop{\raisebox{.15em}{\scalebox{.5}{$\boxminus$}}}} \begin{...
1
vote
1answer
103 views

Scaling the x-Axis in a more logarithmic way

While I have found some answers for equidistant scaling, I did not find an answer which I was able to transfer directly to my problem. I have one interval going from 10^-8 to 3*10^-8 , one from 3*10^-...
6
votes
1answer
46 views

Scaling symbol when used in subscript

I'm using this symbol (defined by Steven B. Segletes here) to denote a special type of function definition: \newcommand*\diamondarrow{% \stackengine{0pt}{\hspace{.83ex}$\rightarrow$}{$\diamond$}{O}{...
1
vote
0answers
30 views

SVG image renders incorrectly when scaled

I have exported a chemical structure as a SVG using MarvinSketch, and included it like so: \documentclass{article} \usepackage{svg} \begin{document} \includesvg[width=0.5\linewidth]{test.svg} \end{...
4
votes
1answer
156 views

Can I resize a TikZ picture to have certain dimensions (width, height)?

Suppose that I have made aTikZ picture using the standalone class, is there an easy way to determine some fixed output dimension of this picture, say width=16cm, height=12cm? This could be useful in ...
0
votes
1answer
42 views

How to rescale the whole chart?

Here is my code of the chart. I would like to rescale the whole chart so as to properly put it into my presentation slide. I don't know how to rescale it. \documentclass{article} \usepackage{amsmath} ...
1
vote
1answer
49 views

How to change the scale of main text without affecting math text or viceversa?

I'm using libertine package for the main text of my work and I load fourier package before libertine in orther to get the math text with the Utopia font just because I like it. Typing \documentclass{...
1
vote
1answer
51 views

How to globally stretch text height, keeping the margin limits?

I am working with a designer that requires the height of the font type we are using to be stretched by a factor of 1.2. I have succeeded doing so using the adjustbox package, as described in the post ...
1
vote
1answer
165 views

Creating a Tikz-Picture with respect to paper width

Till now I just create a desired picture for example with QTikz or Tikz-EDT and pass the code afterwards to my document. To fit the picture to the width of the paper I use \resizebox. However, if the ...
4
votes
2answers
251 views

tikz : Arrow heads does not scale with the rest of the picture

I'm trying to include a scaled graph into another picture (yes I need to use nested tikz pictures, but I can't find any better way), and the problem is that the arrow heads are not scaled properly, so ...
3
votes
1answer
212 views

How TeX / LaTeX proportionally scales \frac, \sum super/subscripts, etc

Wondering what the scaling proportion is when you do above/below on \sum, nested fractions, or super/subscripts on something. Wondering if it's the same in all of these different situations. It looks ...
3
votes
2answers
296 views

How to scale inline mathmode font

I would like to know how to scale the size of the text on the integral limits and also the powers in the code given below: I used the command \DeclareMathSizes{10.95}{10}{7}{7} given here but there ...
1
vote
1answer
412 views

big double square brackets

I'm trying to get the double square brackets from the stmaryrd package printed big, following this post with no success. \documentclass[xcolor={dvipsnames,table}, fleqn]{beamer} \usefonttheme{...
2
votes
2answers
147 views

Store result of \ratio calculation for repeated use

I am using pdflatex with the beamer package to create a presentation template that is similar to the PowerPoint template provided by my company. I want the company logo to have the same size in my ...
0
votes
1answer
59 views

How to set a global scale factor for all figures (for consistent sizing) with manual override?

In my PhD thesis in engineering, I expect to have approximately hundred plots which are vector graphics (in PDF format) created close to the final size (but not exactly). I'd like to declare a global ...
4
votes
2answers
79 views

Block of text that surrounded by vertically spanning parentheses

For my beamer slides, I like to have a command that centers a block of text and surrounds it by parentheses whose vertical size grows as the number of lines in the text grows. I currently have the ...