Questions tagged [scalebox]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
94 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]{$\...
1
vote
0answers
39 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 ...
1
vote
1answer
64 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 ...
1
vote
3answers
32 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 ...
4
votes
2answers
175 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{...
0
votes
1answer
41 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 ...
2
votes
1answer
62 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 ...
0
votes
0answers
25 views

How to use `renewenvironment` and `scalebox` to make `align` block fit within `\textwidth`?

So I have a lot of align environments. However, half of the equations do not fit within the \textwidth. I know that I can use renewenvironment to modify the align environment in such a way that the ...
0
votes
1answer
34 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{...
2
votes
1answer
466 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 ...
1
vote
0answers
305 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 ...
2
votes
1answer
73 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 ...
1
vote
2answers
82 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-...
4
votes
1answer
96 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{...
0
votes
0answers
718 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 ...
1
vote
0answers
53 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}, ...
0
votes
3answers
269 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 ...
3
votes
3answers
182 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 ...
3
votes
2answers
79 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 ...
1
vote
1answer
66 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 ...
3
votes
2answers
371 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 ...
2
votes
1answer
331 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 ...
2
votes
1answer
482 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 \...
2
votes
2answers
222 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 ...
2
votes
2answers
169 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 ...
0
votes
1answer
351 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, ...
0
votes
1answer
131 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