Questions tagged [scalebox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 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 ...
user avatar
  • 114
1 vote
1 answer
40 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'...
user avatar
0 votes
1 answer
49 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} \...
user avatar
2 votes
1 answer
72 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 ...
user avatar
  • 18.3k
0 votes
0 answers
31 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{...
user avatar
2 votes
2 answers
120 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,...
user avatar
  • 105
2 votes
2 answers
169 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. ...
user avatar
3 votes
0 answers
104 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 ...
user avatar
1 vote
1 answer
42 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 ...
user avatar
2 votes
3 answers
58 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 ...
user avatar
2 votes
2 answers
311 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 ...
user avatar
  • 169
0 votes
2 answers
79 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} \...
user avatar
1 vote
1 answer
446 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 ...
user avatar
  • 173
2 votes
1 answer
167 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 ...
user avatar
-1 votes
1 answer
82 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. ...
user avatar
3 votes
3 answers
463 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]{...
user avatar
  • 237
3 votes
2 answers
195 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]{$\...
user avatar
1 vote
0 answers
112 views

Scale tikz down including lines and arrowheads

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 ...
user avatar
  • 275
1 vote
3 answers
583 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 ...
user avatar
1 vote
1 answer
223 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 ...
user avatar
  • 23k
4 votes
2 answers
489 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 avatar
  • 3,419
0 votes
1 answer
214 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 ...
user avatar
2 votes
1 answer
128 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 ...
user avatar
  • 121
0 votes
1 answer
64 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{...
user avatar
  • 485
2 votes
1 answer
2k 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 ...
user avatar
  • 21
1 vote
0 answers
1k 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 ...
user avatar
4 votes
1 answer
216 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{...
user avatar
  • 608
2 votes
1 answer
119 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 ...
user avatar
  • 988
1 vote
2 answers
183 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-...
user avatar
  • 988
1 vote
0 answers
3k 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 ...
user avatar
1 vote
1 answer
118 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}, ...
user avatar
  • 1,503
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 ...
user avatar
3 votes
3 answers
361 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 ...
user avatar
3 votes
2 answers
299 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 ...
user avatar
1 vote
1 answer
122 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 ...
user avatar
  • 197
3 votes
2 answers
756 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 ...
user avatar
  • 367
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 ...
user avatar
  • 195
2 votes
1 answer
1k 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 \...
user avatar
  • 147
0 votes
1 answer
593 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 avatar
  • 4,365
3 votes
2 answers
456 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 ...
user avatar
2 votes
2 answers
263 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 ...
user avatar
  • 575
0 votes
1 answer
371 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
user avatar
  • 11.2k