Skip to main content

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
0 answers
29 views

Visualize Coordinate Scaling

I'd like to visualize a simple coordinate scaling using one axis. How do I get the basic structure? Could I use TikZ? EDIT: I added an example. What is missing are (the smaller (blue) ticks) and the ...
s28's user avatar
  • 107
1 vote
1 answer
77 views

Scale from A4 to A5 for documentclass book

Original question: I found the answer from Simon Dispa with the following proposal: % !TeX TS-program = pdflatex \mag=1414 % added <<<<< \PassOptionsToPackage{usegeometry, paper=a5, ...
Thomas J's user avatar
0 votes
0 answers
38 views

Creating a Multi-page, Auto-scaling Table with Repeating Headers in LaTeX for Multilingual Data

I need assistance in creating a LaTeX table in overleaf that can span multiple pages, automatically scale its columns to fit content when additional columns are added, and include repeating headers on ...
heavendew's user avatar
4 votes
1 answer
111 views

How to Transform a PSBall into Other Shapes

Consider the code which compiles with XeLaTeX: \documentclass[12pt]{book} %\usepackage{scalefnt,scalerel} \usepackage{xcolor} \usepackage{pst-slpe} \usepackage[english]{babel} \usepackage{tikz} \...
DDS's user avatar
  • 9,768
1 vote
0 answers
47 views

Increasing default font size?

I've been working on a book recently and I had to increase the paper size to fit the pdf cover page but now all of the text is super tiny. So sorry if this is a dumb question, but how can I scale up ...
Timotheum's user avatar
2 votes
2 answers
124 views

Rescaling Kp-fonts in plain tex

I am using Kp-fonts in a plain tex (not LaTeX) document. I invoke them with the line: \input kp-fonts They work fine at the default size. But in some cases I would like to rescale these. So I type, ...
WillO's user avatar
  • 301
1 vote
0 answers
57 views

How do I scale nodes in TikZ without scaling the text inside?

I want a node that is shaped like a hexagon, but slightly stretched on the x-axis. Currently, I achieve this, but it stretches the text inside as well. How do I do this without stretching the text? ...
OldTanoa's user avatar
3 votes
1 answer
86 views

How to increase accuracy when scaling data from table in pgfplots

I try to plot data with a small range but a large offset (my x data is a time in seconds, ranging from 26400 to 264480) and seem to reach accuracy limits of pgfplots when scaling this data after ...
Inor's user avatar
  • 33
0 votes
0 answers
19 views

How to scale log with zero and node to mark?

\pdfoutput=1 \documentclass[11pt]{standalone} % \usepackage[review]{EMNLP2023} \usepackage{times} \usepackage{latexsym} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{microtype} \...
O Y Jo's user avatar
  • 25
1 vote
2 answers
39 views

How to make x and y, which stand after the vertical line, have the same size as the small \psi and x, which stand in \partial

\begin{equation*} \psi(\omega) = \left.{\psi}\right|_{\omega=0} + \omega \cdot \underbrace {\left.\dfrac{d\psi}{d\omega}\right|_{\omega=0} }_{\left.\frac{\partial \psi}{\partial x}\right|_{\...
Шевченко Алексей's user avatar
1 vote
2 answers
78 views

Controlling the scaling of predefined x-ray of a head-top drawings using \def

This MWE is just a part of a document, containing many other drawings and text, added to this frame and other frames. I would like to control the scaling of the defined drawings (xraytube and headtop) ...
Hany's user avatar
  • 4,927
0 votes
0 answers
34 views

When using scalebox to fit my algorithm in one page a random number appears

Here's the code: \begin{algorithm}[h!] \scalebox{0.85}{ \begin{minipage}{1.1\linewidth} \caption{Inferir relação} \SetAlgoLined \DontPrintSemicolon \begin{algorithmic}[1] \Objetivo \Desc{Procura o ...
Scipio's user avatar
  • 209
2 votes
2 answers
91 views

Ellipse not properly scaling and rotating in pgfplot axis environment

I'm having trouble drawing an ellipse in a pgfplots axis environment based on the major axes, minor axes, and angle w.r.t. the x-axis. I've managed to draw such an ellipse using Tikz, however, the ...
Bart Wolleswinkel's user avatar
3 votes
1 answer
118 views

How to reduce the height of the capitals in the sans math font in newtx version ≥ 1.724?

Running pdflatex on \documentclass[ngerman]{article} \pagestyle{empty} \usepackage[T2A,T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[slantedGreek,subscriptcorrection,helvratio=.9]{newtx}% I ...
AlMa1r's user avatar
  • 541
2 votes
1 answer
94 views

How to automatically scale and align /tikzpicture with font size

I've created some symbols with TikZ (and for some of them used shapes.geometric) to use within text, e. g. this one: \newcommand{\kttriangle}{\tikz{\node[regular polygon, regular polygon sides=3, draw,...
seeplusn00b's user avatar
0 votes
1 answer
71 views

Scaling dsfont without scalerel (any alternatives?)

My problem is as follows: I would like to use the upright fourier package symbols together with dsfont. This produces: I therefore want to scale the dsfont symbols down to the same size as the ...
studying mathematics 's user avatar
0 votes
0 answers
26 views

Colorize column based on cell values, automatically detecting min and max, ignoring empty cells

Extending on the brilliant (!!!) solution provided by muzimuzhi Z here: https://tex.stackexchange.com/a/543860/305561,: could we have a capability to ignore empty/non-numeric cells in a column, and ...
user184238's user avatar
2 votes
1 answer
144 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
163 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,430
3 votes
1 answer
193 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
43 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
193 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
194 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
44 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
0 votes
1 answer
90 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,...
DDS's user avatar
  • 9,768
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 ...
DDS's user avatar
  • 9,768
1 vote
1 answer
105 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{...
DDS's user avatar
  • 9,768
0 votes
1 answer
231 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
  • 8,964
1 vote
2 answers
62 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
468 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} \...
DDS's user avatar
  • 9,768
1 vote
1 answer
438 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 \...
DDS's user avatar
  • 9,768
-1 votes
1 answer
63 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
86 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: ...
DDS's user avatar
  • 9,768
1 vote
1 answer
119 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
107 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
275 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
85 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
  • 680
1 vote
1 answer
88 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
217 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
89 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
48 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
  • 175
1 vote
2 answers
28 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
431 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
  • 315
3 votes
1 answer
110 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?
Frode Alfson Bjørdal's user avatar
2 votes
1 answer
251 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
241 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
0 votes
2 answers
183 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
  • 395
0 votes
1 answer
163 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
41 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
129 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
2 3 4 5
14