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
2 votes
1 answer
67 views

DeclareMathOperator with auto scaling parentheses

Using the "physics" package, there's a nice behavior where if you write \usepackage{physics} \begin{document} \[ \arctan(\frac{1}{\sqrt{3}}) \] \end{document} The parentheses will ...
Justin Murante's user avatar
3 votes
3 answers
62 views

Fontspec: separately scale uppercase and lowercase so `tt` has same cap-to-x-height ratio as main font

TL/DR I understand this is a perverse question, but—is it possible, in fontspec/XeLaTeX|LuaLaTeX, to separately scale uppercase and lowercase letters of a monospace typewriter font to achieve the ...
Timtro's user avatar
  • 1,314
3 votes
1 answer
43 views

How to reduce size of my equation to fit properly in my beamer presentation slide?

I am preparing slides using beamer. However, my equation has exceeded the page margin. I have tried several solutions given on this website, but with those solutions, my .tex file is not compiling. ...
Drimitive Watson's user avatar
0 votes
0 answers
37 views

Scaling up a math symbol messes up toc

I am trying to scale up a greek letter inside a math formula. To do this, i follow this answer and use \scaleobj from the package scalerel However, when I try to use an expression that includes my ...
pusteblume's user avatar
0 votes
2 answers
62 views

Automatically resizes text to fit perfectly within its bounds

I am looking for the same functionality as simc/auto_size_text, a flutter widget that automatically resizes text to fit perfectly within its bounds. However, I want to achieve this for physically ...
user95184's user avatar
2 votes
1 answer
67 views

Ticks scaling - How to change the common factor multiplier to an offset value?

I am plotting the following figure using Python and I obtain this render: Here, Python is automatically adding an constant value offset (+9.192682e9) on the y axis to read more easily the data. Now, ...
Clement's user avatar
  • 21
0 votes
1 answer
37 views

Table with tabular goes outside of page and is not centered when minipage is added to adjustbox

I am trying to have my table fit the text width and be centered in the middle. Without minipage it works as intended but when I add a minipage to the adjustbox (since I need the caption and potential ...
jk5b's user avatar
  • 1
1 vote
1 answer
65 views

On Scaling Horizontal Spacing Commands

Many horizontal spacing commands are of course, found in What commands are there for horizontal spacing?. I would like to inquire if, say, invoking the \enspace command, which produces a space of .5em,...
mlchristians's user avatar
  • 7,724
1 vote
0 answers
21 views

Adjusting the Vertical Spacing Between Consecutive Lines with a Scaled Typewriter Font [duplicate]

Consider the code \documentclass[12pt]{book} \usepackage{scalefnt} \begin{document} \thispagestyle{empty} \begin{description} \item {\fontfamily{lmvtt}\selectfont{No one should be ashamed to admit ...
mlchristians's user avatar
  • 7,724
1 vote
1 answer
104 views

Why Does Latex Consider My Overlaid Accented Title to be in Math Mode?

Consider the code: \documentclass[a5paper,12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0.7in,vmargin=0.75in]{geometry} \usepackage{pstricks,psvectorian} \usepackage{color} \usepackage{...
mlchristians's user avatar
  • 7,724
0 votes
1 answer
108 views

Automatically scaling pseudocodeblock to fit in the page

I have an environment (pseudocodeblock from the cryptocode package) that goes into the margin if the content is too large: For now, I can manually resize it using \scalebox and minipage, but I need ...
tobiasBora's user avatar
  • 7,417
0 votes
0 answers
42 views

Scalebox as tikzstyle

I would like to use some tikzpicture environments from a paper on a A0 poster. As the font size is changed from 10pt to 25pt, the tikzpictures should be scaled accordingly. Using just [scale=2.5] ...
Andi Bauer's user avatar
1 vote
2 answers
45 views

How to fit references number into a single table

I am working on overleaf and preparing a report. I am working on a review paper in which I surveyed over a hundred papers. Thus, I need to put them as references. However, I am unable to fit the ...
As if's user avatar
  • 23
1 vote
1 answer
180 views

Scaling an \includepdf onto a Page with a Different Geometry

UPDATED Consider the code (which I compile with xelatex) \documentclass[12pt,onecolumn,openany,final]{book} \usepackage[hmargin=0in,vmargin=0in,paperwidth=5.625in,paperheight=8.5in]{geometry} \...
mlchristians's user avatar
  • 7,724
1 vote
1 answer
129 views

On Scaling the Contents of a Minipage

Consider the code \documentclass[12pt]{book} \usepackage{scalerel,scalefnt} \usepackage[showframe,paperwidth=5.5in,paperheight=8.25in]{geometry} \textwidth=4in \textheight=6.40in \voffset -7pt \...
mlchristians's user avatar
  • 7,724
-1 votes
1 answer
55 views

How to have corectly scaled intervals on the same line with some text? [closed]

I want the (-infty, -b/2a] interval to be scaled as the big one, but, at the same time, to came in line after the text. The one that's with the text is smaller. How can I remediate this?
Emilian Popa's user avatar
1 vote
1 answer
73 views

On a Comment of Percusse: "Shrink Paper Size, Print Big!"

In the post Should I use \documentclass[12pt]{article} with \Large or \documentclass{article} with \LARGE?, Percusse made the following comment: PDF is vector. Shrink paper size, print big! QUESTION: ...
mlchristians's user avatar
  • 7,724
1 vote
1 answer
85 views

arrow with triangle tail

I'd like to have an arrow shape with a triangle tail, which goes along well with\rightarrowtriangle from the stmaryrd package. Using \smalltriangleright\!\!\!\to with \smalltriangleright from MnSymbol ...
user313032's user avatar
1 vote
1 answer
95 views

Tikz Question: Scaling text inside nodes

I'm still new to Latex and I am especially new to drawing/coding logic gates in Latex. I am having a problem scaling the text inside a logic gate and none of the solutions I've found online so far ...
VinStr's user avatar
  • 11
1 vote
1 answer
156 views

scale & view at 3d plot

I want to have the graph of this function: Here how it looks like from geogebra: I wanted to draw it with tikz, so I wrote this code: \documentclass[a4paper, 12pt]{article} \usepackage{pgfplots} \...
Kώστας Κούδας's user avatar
0 votes
1 answer
73 views

How to create a custom font size like \tiny that horizontally squishes font?

The appearance of double sub/superscripts is extremely horizontally squished. For example, x^{2^{k^\alpha+1}} yields I would like to create a custom font that "squishes" the k^\alpha+1 ...
btshepard's user avatar
  • 670
1 vote
1 answer
84 views

Minimizing table, insert and fit within a single page [duplicate]

\documentclass[12pt]{elsarticle} %% for removing the footer \makeatletter \def\ps@pprintTitle{% \let\@oddhead\@empty \let\@evenhead\@empty %\let\@oddfoot\@empty \let\@evenfoot\@oddfoot } \...
As if's user avatar
  • 23
3 votes
1 answer
194 views

Can I scale text horizontally with TikZ?

I'm trying to draw circles in TikZ with 1-3 digit numbers inscribed into them. The numbers should all have the same height and should be squashed horizontally to fit into the circle. The height should ...
mdm's user avatar
  • 229
0 votes
1 answer
72 views

Right aligned text in the same line

\documentclass[12pt] {article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{enumerate} \begin{document} \begin{enumerate}[1.] \item Qustion no 1. \begin{flushright} [Ans:\;...
Manjoy Das's user avatar
0 votes
0 answers
41 views

Update "How to scale a tikzpicture to \textwidth" for expl3/xparse

I am probably the thousandth person who wants to scale a tikzpicture to the size of \textwidth. There is a solution for this problem given in https://tex.stackexchange.com/a/6391/193625 however it ...
Franz's user avatar
  • 165
1 vote
2 answers
25 views

tikzpicture cannot be centered after scaling axis

Using This MWE I get the plot I want, however it is not correctly centered above the caption. I think the problem is the scaling, but this is necessary since without it the figure would be too small. ...
lorenzo's user avatar
  • 72
2 votes
2 answers
147 views

How to fit a table with a very long column into a 2 column format?

New to latex so apologies if this has been asked, I haven't found this specific question on SO. I have a table that I'm trying to fit into a 2 column page format. The actual link for the full packages ...
Penguin's user avatar
  • 295
3 votes
1 answer
92 views

How may I reduce the size of a symbol to match some other symbol?

How may I reduce the size of $\Sigma$ so that it aligns with, e.g., the lowercase letter a?
Sapiens's user avatar
  • 4,549
2 votes
1 answer
138 views

Chemfig - Scaling benzene rings

Usually, when I work with chemfig, I scale down all structures to 80% their default size by putting \setchemfig{atom style={scale=0.8}} into the preamble, which usually works great. Now I just started ...
Cedric Schwering's user avatar
2 votes
2 answers
195 views

ConTeXt: Set up external figure for particular image type

Background A document has a mix of SVG and PNG images. Problem Changing the parameters for \setupexternalfigure affects both SVG and PNG images. Code Consider the following code: \setupexternalfigures[...
Dave Jarvis's user avatar
  • 11.4k
0 votes
2 answers
90 views

Rescaling a picture from Geogebra

This is the code of the picture from Geogebra. But it seems that the picture is a bit large and I was wondering how to rescale it? \begin{figure}[!h] \definecolor{ududff}{rgb}{0.30196078431372547,0....
RFZ's user avatar
  • 323
0 votes
1 answer
117 views

Under- and Overfull Tikzpicture

Im trying for DAYS now to correctly format my two Diagrams. I tried plenty of solutions on this Page, but nothing worked (Adjustbox, environ, scale,...) The first one is this: \begin{figure}[H] \...
Schesam's user avatar
  • 103
0 votes
0 answers
35 views

A error about \scalebox{h-scale}{text} code

I want to shrink the table below with \scalebox code, but I am getting an error. What could be the reason? \documentclass{article} \usepackage{makeidx} \usepackage{amsmath, amssymb} \usepackage{...
Mehmet Onat's user avatar
1 vote
1 answer
120 views

Loading a graphics image in Tikz given the position of the bottom side?

Is it possible to write a Latex macro based on \includegraphics so that given two points A and B this will become the lower side of the image (i.e., the image will be translated, scaled, and rotated ...
bandi's user avatar
  • 171
1 vote
0 answers
45 views

Putting figures over other figures/images

I want to put 4 diagrams on top of a map, so that the fontsize of the text in the diagram can be the same as in the rest of the text. The entire page is size A4. Currently, I'm implementing the ...
AnInterestingName's user avatar
0 votes
1 answer
102 views

How to scale a big graph

\begin{figure}[H] \begin{tikzpicture}[->, node distance = 2cm] \node[initial,state](A) {enter}; \node[state] (B) [below of=A]{1}; \node[state] (C) [below of=B]{2}; \node[state] (D) [right of=C] {i}...
user267662's user avatar
3 votes
2 answers
204 views

How to change the size of labels in a commutative diagram with tikz-cd

I have made a commutative diagram using the tikz-cd package and cannot figure out how to increase the size of the labels for the arrows. I used [sep=2cm] to space out the rows and columns more, but ...
Very Forgetful Functor's user avatar
1 vote
1 answer
88 views

How to Proportionately Adjust Vertical Spacing Between the Lines in a Scaled Minipage Environment

Consider the code \documentclass[openany]{book} \usepackage{scalefnt} \usepackage{lipsum} \usepackage{color} \begin{document} \thispagestyle{empty} \LARGE \lipsum[19] \vspace*{20pt} \begin{center} ...
mlchristians's user avatar
  • 7,724
2 votes
1 answer
57 views

Scaling nodes, grow sep, and coordinates while preserving text size

I have a drawing based on 1cm unit. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{graphs,positioning} \begin{document} \begin{tikzpicture}[ every node/.style = { circle, very ...
Atcold's user avatar
  • 1,675
6 votes
2 answers
2k views

Are \onehalfspacing and {spacing}{1.5} Supposed to Yield Different Results?

I am working on a document which requires for a very small portion of the text, that the spacing between the lines be increased. However, and I don't know why, the \begin{onehalfspacing} ... \end{...
mlchristians's user avatar
  • 7,724
1 vote
1 answer
52 views

Custom Node, change size

I've drawn a bag. How do I reduce the drawing by 30% before invoking it? I tried scale, I'm new, doesn't work. \documentclass[a4paper]{article} \usepackage[margin=10mm]{geometry} \usepackage {array, ...
Chau Tu's user avatar
  • 21
1 vote
0 answers
50 views

siunitx does not scale \percent for beamer [duplicate]

I recently started using siunitx and came across the following problem: In my beamer slides \percent ist not scaled according to the definition in the preamble. Other units are scaled correctly. ...
Sebastian's user avatar
2 votes
1 answer
57 views

Automatically scale text up as large as possible to fit within certain page count

Using relsize's \relscale{<scaling factor>}, is there a way to automatically set the scale so that text is as large as possible but producing a document no more than a specified number of pages?
Geremia's user avatar
  • 2,141
1 vote
1 answer
398 views

Positioning a pgfplot inside tikz (understand anchors, rotation and scale)

I'm trying to rotate the plotting of a parabola above a tikzpicture. (For a parabola, I can achieve what I want without using pgfplots, but I need the same for more complicated plots.) I can't seen to ...
B. Dors's user avatar
  • 129
0 votes
1 answer
87 views

Very long and large tables

as you might guess from the title I have a problem including two very big tables in my document. The first table is very long but short (MWE): \documentclass{article} \usepackage[utf8]{inputenc} \...
Lusian's user avatar
  • 203
3 votes
1 answer
43 views

includegraphics: option for downscaling only

in the scripts for my students, I have a lot of screenshots which I include into the paper via e. g. \includegraphics[width=0.7\linewidth]{"MyScreenshot"} do scale them down which works fine....
Bootes's user avatar
  • 33
4 votes
2 answers
161 views

Graph high degree polynomial using Tikz/pgfplot

I want to draw the area under the curve x(2-x²)¹², over the interval (0,1). It's a high degree polynomial and I have a lot of problems using pgfplot. Here's the format I need to use (and unfortunately ...
Ectobius Rex's user avatar
5 votes
1 answer
475 views

Scale down verbatim environment even further

I am using the fancyvrb package. Even though I set the font size to \tiny, it still doesn't properly fit in a single slide. I was wondering is there a way to scale it down even further. Thank you \...
Node.JS's user avatar
  • 675
2 votes
1 answer
95 views

How do I deal with these scaling and positioning issues in Tikzcd

I have been trying for a while with this one, but I can't get the 'a's to be further from the arrows and the dot for the $f$ to be bigger. I tried quiverapp, but the problem with the dot persists. ...
LatexEnjoyer's user avatar
2 votes
3 answers
409 views

Blacktriangleright too large with stix

I'd like to create a smaller \blacktriangleright using stix. I tried with \documentclass{article} \usepackage{stix} \usepackage{mathtools} \begin{document} \[\blacktriangleright,\Scale[0.75]{\...
Puck's user avatar
  • 1,119

1
2 3 4 5
14