Questions tagged [scalebox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
50 views

How to show table to avoid table cutting off from page?

I have this table, but I can not show all the table in the page, How can I scale the table to be shown within the page? \begin{table}[ht] \begin{tabular}{|cc|cccc|cccc|} \hline \multicolumn{1}{|c|}{\...
ayla's user avatar
  • 119
1 vote
1 answer
35 views

How to achive that subscripts/superscripts are scaled with the font size in a robust command?

I would like to use smaller fonts for the subscripts and superscripts in a user-defined LaTeX command. Do you have any ideas how to scale down the subscripts/superscripts proportionally? My MWE is the ...
TobiR's user avatar
  • 574
1 vote
1 answer
45 views

Help to make appendix look decent

enter image description here Hope someone can help me make these appensix´s look just a little bit better or has some tricks to make the image appear bigger :)
Mike Christiansen's user avatar
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
28 views

long equality symbol for DVI output

Continuing A better long ≝ (defining equals, equals to by definition) without bumps, feeding \documentclass{article} \pagestyle{empty} \usepackage{graphicx} \newcommand*{\longEquals}{\mathrel{\...
user avatar
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
64 views

The same brace thickness in scalebox

\documentclass[14pt]{extarticle} \usepackage{graphicx} \begin{document} \begin{equation} \scalebox{0.5}[1]{$\displaystyle \left\{\scalebox{2}[1]{$\displaystyle\begin{array}{ll} P=P(r_+,M)\\ T=T(r_+,P(...
misha.physics's user avatar
0 votes
1 answer
177 views

TikZ: Why is a scalebox-ed picture not exactly centered even with the centering option?

My figure is somehow centered, but not exactly centered. Why? A more general question would be: If I have a TikZ picture with already-computed coordinates, that I can't easily re-compute, how can I ...
Michaël's user avatar
  • 114
2 votes
1 answer
64 views

Scalebox method returns error while using binom

$\scalebox{2}{\binom{2}{3x+3}}$ The code works if I use mathlarger, but curious to know why scalebox doesn't work here and what's wrong with my code as I've been working on this for an hour but didn'...
user668687's user avatar
0 votes
1 answer
86 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
2 votes
1 answer
175 views

how to scale math in tex4ht?

I need to scale some math using tex4ht. I assume this will only work when compiling latex to HTML when telling tex4ht to use svg for math equations and not mathjax. ps. (if math can scale using ...
Nasser's user avatar
  • 20.1k
0 votes
0 answers
77 views

Enumerate environment inside scalebox

I want to reduce the text below to a scale 0.5: \lipsum[1-1] \begin{enumerate} \item \lipsum[1-2] \item \lipsum[2] \end{enumerate} However, When I use \scalebox{0.5}{ \lipsum[1-1] \begin{...
Angelo Aliano Filho's user avatar
2 votes
2 answers
299 views

Drawing arrow between subfigures in scaleboxes

I am trying to connect points inside separate tikz images with arrow. The overlay option works very well, but the images must be scaled to fit on the slide (I use them in beamer presentation). However,...
awarus's user avatar
  • 105
3 votes
2 answers
458 views

Using \scalebox from graphicx with double dollar math mode

I'm making a beamer presentation and I'd need to scale a specific equation. The slide is built using double dollars math environments which allows me to easily align the left and right columns. ...
Leonardo Lena's user avatar
3 votes
0 answers
197 views

\scalebox error on PDF images?

I'm not sure I understand what is happening, but it seems that if the magnification is a certain amount (x10) on a \scalebox of a certain PDF (example-image-a via \includegraphics), the content of the ...
Steven B. Segletes's user avatar
1 vote
1 answer
68 views

Using packages adjustbox and ltablex together

I am creating a long table spanning multiple pages using the ltablex package. I would like to accommodate more content in the same page using the adjustbox package to shrink it a bit and increasing ...
Latte for Life's user avatar
2 votes
3 answers
117 views

Vertically scale accent, but keep distance to symbol equal

I need a \tilde which is a little more noticeable, why I tried this answer in combination with scalebox. However, together with the vertical scaling, also the vertical distance between the symbol and ...
Robert Seifert's user avatar
2 votes
2 answers
717 views

`scalebox` scales the equation number in a multiline equation nested in `subequations`

I have a list of equations in a subequations environment. Some of the equations are too big, so I scale them down with scalebox. However the equation number gets scaled down with the rest. How can I ...
Pxx's user avatar
  • 179
0 votes
2 answers
206 views

How to use \scalebox on table to avoid table cutting off from page?

1 Suppose I load the following packages: \documentclass{article} \usepackage{calc} \setlength\textwidth{6.5in} \setlength\textheight{10in}\setlength\oddsidemargin{(\paperwidth-\textwidth)/2 - 1in} \...
Maestro's user avatar
  • 199
2 votes
1 answer
820 views

relsize in footnote leads to too-small font size

I use relsize to create a pretty version of the string "C++". This produces warnings when put into footnotes or small environments, because the result would be "too small". How can I prevent this ...
user188968's user avatar
2 votes
1 answer
256 views

Suggestions for neatly splitting or shrinking aligned very long equation with nested \left( \right)

I have an aligned set of very long equations that are difficult to split or shrink. I have tried three methods using \begin{split} inside \begin{align} with ={}& and & for alignment and ...
Alex Howard's user avatar
-1 votes
1 answer
93 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. ...
Big Bean's user avatar
3 votes
3 answers
812 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]{...
Ainar-G's user avatar
  • 237
3 votes
2 answers
253 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]{$\...
N3buchadnezzar's user avatar
1 vote
0 answers
137 views

Scale tikz down including lines and arrowheads [closed]

I want to scale down a tikzpicture, so it fits on one page. With [thick,scale=0.6, every node/.style={transform shape} that works pretty well, except for line thickness and arrowheads. So I was trying ...
Quastiat's user avatar
  • 285
1 vote
3 answers
842 views

scalebox issue something's wrong missing item

Something fundamental is missing from my understanding of scalebox. The following appears to me to conform to the instructions and examples I have found. Can someone please explain why it tosses up ...
Robert Bruner's user avatar
1 vote
1 answer
377 views

Is \scalebox guaranteed to fully expand its first two arguments?

In this answer, I've been conservative and used the following code: \expandafter\scalebox\expandafter{\my@scale}{\usebox{\my@box}} to make sure not to rely on undocumented (?) behavior of \scalebox ...
frougon's user avatar
  • 24k
3 votes
2 answers
643 views

\scalebox doesn't work inside a TikZ scope

I've two \scaleboxs each of which placed in a scope environment as follows: \documentclass[border=5cm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \usetikzlibrary{shapes} \newcommand{...
User's user avatar
  • 2,996
0 votes
1 answer
321 views

Scaling output from stable output

print(xtable(x, type = "latex"), floating = FALSE, tabular.environment = "longtable", file = "/Path/Filename.tex") I am using the above code to output a table directly from R. I am using ...
user3504322's user avatar
2 votes
1 answer
139 views

Customisation of longtable caption

I have to change the caption style of a longtable to obtain the same style of a normal table; i.e. to get: , instead of: . In addition, I'd like to reduce the size of the longtable without ...
Mi Ka El's user avatar
  • 131
0 votes
1 answer
67 views

Using `\scalebox` within drop cap

I am using lettrine for creating drop caps. If a use the \scalebox-command within the first argument of \lettrine an error occurs. Here is a minimal example: \documentclass{minimal} \usepackage{...
leviathan's user avatar
  • 485
2 votes
1 answer
3k views

Missing \endgroup inserted. <inserted text> \endgroup \end{tabular}} when using \scalebox

I have to reduce a table by using \scalebox. But When trying to compile, it's throwing me the following error message "Missing \endgroup inserted. \endgroup \end{tabular}}" on the ninety line of the ...
G-F.11's user avatar
  • 21
1 vote
0 answers
2k views

Undefined control sequence. l.569 \scalebox {0.55}{ [closed]

I have entered the following code:- \begin{table}[h] \centering \scalebox{0.55}{ However, I get the following error when I compile "Undefined control dequence. l.569 \scalebox {0.55}{ " I realize ...
N Balakrishnan's user avatar
4 votes
1 answer
259 views

MusiXTeX, two instruments with scalebox

I'm trying to write an extract of music with two instruments, and then resize it with a scalebox (I also tried with a resizebox and the problems are the sames). First I tried: \documentclass{...
Phantom's user avatar
  • 638
2 votes
1 answer
134 views

Scalebox not working properly inside hyperlinks when using ocgx2 package

I am using hyperlink text formatted with graphicx' \scalebox command with independent factors for horizontal and vertical scaling. When formatting is applied inside hyperref's hyperlinks, the text in ...
Peter's user avatar
  • 998
1 vote
2 answers
235 views

Problem with using glossaries-extra with ocgcolorlinks option of the ocgx2 package and scalebox-based glsabbrvsmfont/glsnamefont commands

The following example causes problem: \documentclass{article} \usepackage[colorlinks,linkcolor=blue]{hyperref} \usepackage[ocgcolorlinks]{ocgx2} \usepackage[record,acronym,shortcuts=ac]{glossaries-...
Peter's user avatar
  • 998
2 votes
0 answers
4k views

How to resize an algorithm to fit into one page

I am using algorithm2e for writing an algorithm. I have a long algorithm that exceeds one A4 page length. But I want to compress it to fit into one page (resize percentage). I tried \resizebox but ...
user9371654's user avatar
1 vote
1 answer
161 views

scalebox or new font switch to create specific font size?

I want to set a small portion of text in a font size not covered by the standard font switches and found two ways to do so: Define a new font switch: \newcommand\newfs{\fontsize{48}{60}\selectfont}, ...
Philipp's user avatar
  • 1,595
0 votes
3 answers
1k views

scale box problem in table

i was working on a table which is rotated by 90 degrees. I don't know what i might have deleted, and I don't get an output anymore. I have an extra } to put somewhere, but wherever I put it, it does ...
Klodi Gj's user avatar
3 votes
3 answers
416 views

Infinitely shrinking continued fraction - how to improve design?

To create a continued fraction that truly symbolizes the endless, ever-ongoing nature of an infinite continued fraction, I have taken up this following "notation," where the font size shrinks with ...
gz839918's user avatar
  • 1,689
3 votes
2 answers
410 views

center label/text over xrightarrow with scaled stackrel

I frequently use the following sort of construct within tabular, to create an ordinal left to right sequnce separated by right arrows -- I use a combination of stackrel and longrightarrow to ...
Johnny Canuck's user avatar
1 vote
1 answer
162 views

scalebox distorts output of fraction and subscripts

(This question is close to scalebox / resizebox shifts fraction component, but the answer there provided did not fixed my issue) When using scalebox, in a subscript, inside a fraction, it seems to ...
pancho's user avatar
  • 217
3 votes
2 answers
894 views

font size in math mode (for an exponentiated matrix)

Note: While I am interested in typesetting the Euler constant raised to the power of a matrix, I am more interested in understanding why the second version inserts a square dot, and why the third ...
Bryan H-M's user avatar
  • 387
2 votes
1 answer
1k views

Scalebox, Parbox, and Page Break

I have a long equation inside the scalebox. However, I can not force it to break between the pages. The code looks like this: \scalebox{.95}{\parbox{\textwidth}{ \begin{align} bla1 & bla2 \\ bla3 ...
QGravity's user avatar
  • 217
2 votes
1 answer
2k views

Table not centering in page

\documentclass[12pt]{article} % \linespread{1.5} % one-and-a-half spacing; 1.6 for double spacing \usepackage{times} \usepackage{lmodern} \usepackage[margin=3cm]{geometry} % Ajusta margen hoja \...
Uruguayo's user avatar
  • 147
0 votes
1 answer
640 views

How to make a new environment be verbatim inside \scalebox with listings package?

After @JPi answer on How to use \scalebox around my environment? and comment pointing to the question Verbatim in environ’s \BODY I tried: Writing the contents to a file Print it on verbatim mode, ...
user's user avatar
  • 4,655
3 votes
2 answers
528 views

PGFplots: loglogaxis: Shrink the exponent's minus sign

I do have a lot of loglogaxis plots in my document. Often the y-values pass through 1, i.e. from 0.5 to 2. Hence, the y-ticklabels are of the form . The minus sign adds a lot of extra space to the ...
somehow.different's user avatar
2 votes
2 answers
289 views

Scale equation in NewEnviron

I write my long equations through a created environment nr that allows vertical alignment and manual breaking of the equations: \documentclass{article} \DeclareMathSizes{10}{18}{12}{8} % this ...
user46581's user avatar
  • 575
0 votes
1 answer
432 views

How to know percentage or increase/decrease using \scalebox command

In my document, one of the image is coded as \scalebox{0.25}{\includegraphics{map.eps}}, please confirm what is the percentage they enlarged or reduced
MadyYuvi's user avatar
  • 13.2k