{scaling} is about scaling document elements. Use this tag in addition to other tags specifying what should be scaled.

learn more… | top users | synonyms

0
votes
1answer
95 views

Keepaspectratio option for tikz picture

In my current document I have both pictures from file and tikz pictures. For the output I use both, landscape (for screen reading) and portrait (for print). For pictures loaded from file i use the ...
8
votes
1answer
549 views

Scale .pgf image but preserve font size

Using Matplotlib, I generated a .pgf image. import matplotlib matplotlib.rcParams.update({"pgf.texsystem": "pdflatex"}) from matplotlib.pyplot import subplots, show from numpy import linspace x = ...
2
votes
1answer
70 views

Passport photographs using resize

\documentclass{article} \usepackage{graphicx} \usepackage{calc} \usepackage{ifthen} \newlength{\oH} \newlength{\oW} \newlength{\rH} \newlength{\cH} \newcommand\PrintImage[3]{% width, height, image ...
2
votes
2answers
61 views

\textwidth within \resizebox

I want to the final row of a table to display the notes, spanning across all columns, using \multicolumn{#}{p{\textwidth}}{}. This does not work properly in connection with resize, because textwidth ...
2
votes
0answers
17 views

Trying to print to 11x17 as a book, but scale pages with booklet, margin problems

I'm trying to print a book to be bound in signatures for a finished size of 6x9 inches. My printer duplexes but only prints 11x17. I used the booklet package and set source to 6x9, but when the ...
4
votes
2answers
83 views

Two-lined brace in tikz node

I want to produce a timeline in the tikzpicture environment that looks like this: But my code, gives me the following: So I need the brace around both lines of my node! My code now looks as ...
2
votes
0answers
52 views

pgf plots, barplot, irregular spacing between bars/columns

I've created a (grouped) bar plot with three groups of bars/columns, but it would be great if the space between the first and the second group would be a bit larger than the space between the second ...
3
votes
3answers
54 views

Rescale tabular within math environment

I have made two tabulars, inside a pmatrix, inside a math environment (displaymath). The outcome doesn't fit on the page, does anybody know how I can scale my code, so that it fits? ...
4
votes
2answers
46 views

Calculate image sizing factor

How can I multiply a length e.g. \textwidth with two factors? Other way to express what I want to do is, How can I apply more than one mathematical expression within \includegraphics command? ...
2
votes
1answer
48 views

TikZ xscale \linewidth/width

I have a series of eps picture to be included in a LaTeX document. They need to be stretched to fit the linewidth, without mantaining their ratio. This solution works perfectly: ...
0
votes
0answers
40 views

Scale font sizes – match text font (Comfortaa) and math font

Before I start, I want to note that I don't know very much about (La)TeX's font system and find it to be very confusing and not very well-documented. I've read the "fntguide", but that only gives very ...
9
votes
1answer
1k views

Why has no one told me I can use rubber lengths for graphics? Is that bad?

I just had a thought. Quite commonly when I define a figure graphics I write something like: \begin{figure}[btp] \centering \includegraphics[width=0.95\textwidth] ...
2
votes
1answer
77 views

Horizontal character spacing using \resizebox

I have some LaTeX code that uses the \resizebox command to make some hipster text, but the compiled letters are not completely flush to each side. There is a slight space on each side of the line as ...
2
votes
2answers
29 views

MathJax won't render dynamically sized left/right braces (or parentheses, brackets, etc) [closed]

When I try something like: \left\{ x+y = z \\ 2x - 3y = yomamma , MathJax fails to render. At first I thought it was an issue with my website, but this problem also happens on the official MathJax ...
0
votes
1answer
50 views

Both scale and reduce height of graphics

This is how i add the graph in latexila \centerline{\includegraphics[scale=0.5]{e1.png}} Question is can I also reduce its height after I scale it? The reason I want to do this is because I don't ...
3
votes
1answer
1k views

Enlarge the integral sign proportional to its content

In LaTeX you have a command like \left(\right) to enlarge the brackets proportional to the content between the brackets. for instance \left(a\right) will produce smaller brackets than ...
2
votes
1answer
2k views

\includegraphics[width=40mm], reserves correct space, but includes full size image

I'm using the following code to include an image. The reserved space in the resulting .pdf document is correct and changes according to the width I set. Nevertheless, the .png is always embedded in ...
3
votes
0answers
97 views

Scalable node shape size

I can adjust the shape of nodes using commands such as minimum width or inner xsep, but these require explicit units. When I scale the entire figure (\begin{tikzpicture} [scale=0.5]) it does not scale ...
3
votes
1answer
73 views

Force page format with section title plus images

I have to add an appendix to my thesis where I have to put some graphs for many objects. The appendix is structured with a section for each object containing a series of graphs. What I want to do is ...
2
votes
0answers
342 views

LaTeX Table Generator

I'm new in Latex and I should deal with huge number of tables in different ways and limited time, for that I used LaTeX Table Generator website to make the process easier. Could you guys tell me what ...
0
votes
2answers
41 views

How to resize a matrix in beamer

Currently I am having problem in resizing the matrix. The following is the code: \begin{frame} \frametitle{XXX} $$\small\begin{pmatrix} I_{\frac{k}{2} \times \frac{k}{2}} & 0_{\frac{k}{2} ...
3
votes
1answer
87 views

Resizing table when using package {threeparttable}

I'm using the {threeparttable} package because I want to use table notes, but I'm having a problem resizing my tables. If I use {adjustbox} to enclose {tabular} (or {tabularx}), I get an error ...
2
votes
1answer
74 views

Beamer-Using resizebox changes the position of an item in itemize

I am creating a presentation using beamer. In an itemize environment, I am using resizebox in particular item. When I use it, the position of the bullet changes, as seen in the next image My code ...
6
votes
2answers
170 views

Reduce vertical size of tikz plot

The following code generates a color mapped plot. I would like to reduce the vertical size however, and cannot figure out how. Can anyone give me a hint? \documentclass[a4paper,twocolumn]{article} ...
6
votes
2answers
376 views

Automatic scaling of kiviat diagrams

\documentclass[twoside,a4paper,12pt]{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[upright]{fourier} \usepackage{tkz-kiviat,numprint,fullpage} \usetikzlibrary{arrows} ...
6
votes
3answers
3k views

TikZ: different x, y scales but so that shapes maintain their aspects

I have some old pstricks code which I'm re-doing with TikZ. In my current picture, the x and y scales are different: \begin{tikzpicture}[xscale=1.8,yscale=4] However, this has the problem that ...
8
votes
2answers
354 views

How to type a tall / symbol?

Say I want \documentclass{article} \begin{document} \[cl(V, q) =\left (\sum_{r=0}^{\infty} \bigotimes^r V\right)/\{v\otimes v = -q(v,v)\}\] \end{document} How to make the "/" symbol longer to ...
9
votes
1answer
10k views

Fitting tables into beamer

I have some tables in my presentations that are rather big. I found out how to use \resizebox to fit them into my page. Unfortunately this only works for tables that are wide. For long tables, my ...
7
votes
3answers
2k views

How do I change the aspect ratio of gnuplot output?

How do I change the aspect ratio of the canvas of a gnuplot plot in LaTeX using the gnuplottex package? The following changes the aspect ratio of the output but not the canvas size, thus leaving a ...
9
votes
3answers
29k views

How to make math symbols bigger?

Is there a way to make math symbols bigger? Reason: I've used \sfrac{q}{m}, and those symbols appear far to small, so I would like to make them a bit bigger. edit: I just thought that \sfrac{q}{m} ...
1
vote
0answers
23 views

Nested environments to scale tikzpicture [duplicate]

I found this nice solution to scale a TikZ picture to \textwidth and wanted to use it within an own defined environment. \documentclass{article} \usepackage{tikz} \usepackage{environ} \makeatletter ...
1
vote
0answers
190 views

How could I use scalebox to rescale a table such that it fits exactly in the usable page width (i.e., between the margins)?

How could I use scalebox to rescale a table such that it fits exactly in the usable page width (i.e., between the margins)? Is there some way in which something such as \hsize could be used as an ...
14
votes
2answers
353 views

Smaller membership symbol

To mean that x is an element of X, we can write x \in X. However, in the standard packages, the membership symbol that results is too big; it draws too much attention to itself. This is especially ...
5
votes
0answers
884 views

Fitting TikZ picture in beamer: Difference between using \resizebox and \adjustbox? [closed]

\documentclass[10pt]{beamer} \usepackage{amsmath} \usepackage{amssymb} \usepackage[english]{babel} \usepackage{color} \usepackage{float} \usepackage[T1]{fontenc} ...
1
vote
0answers
11 views

overfull \hbox ..with figures (like to do If scale>width, use max width) [duplicate]

Well, I'm having a problem with figure. I'm using figures like this: \begin{figure}[!ht] \centering \includegraphics[scale=1]{\importacaodedados importacaodearquivos.png} \caption{Importação de ...
4
votes
1answer
54 views

Is there an equivalent to fontspec's Scale=MatchUppercase for pdflatex? Or how to find out the best scale for two fonts?

I am using XCharter and tgheroes. Although I do not use the sans in running text, I'd like to scale it accordingly. Is there any other way than just to do some T&E with the settings? Fontspec's ...
0
votes
0answers
14 views

Change the size of algorithm enviroment

I used \algsetup{linenosize=\small} command to scale the size of algorithm environment, but it seems doesn't work! How can I do that?
3
votes
0answers
56 views

Using tikz arrow with scaleboxed tables

Following this post. I would like to use arrows with tables. Yet my tables are too big and I want to rescale them using scalebox. But went I use tikz with the scaleboxed tables I cannot point ...
1
vote
1answer
2k views

Why can't I scale my image?

I'm using the graphics package and I can insert my graphic into the document without any difficulty, apart from the fact that it's huge! I am using the following command: \documentclass{article} ...
0
votes
0answers
97 views

Writing arabic and english with different font scales under polyglossia

Writing a book of probability, I use in my text arabic and english characters in the same time (sometimes in the same line !). Because the english character is somewhat larger than the arabic one, the ...
12
votes
4answers
8k views

Scale (resize) large images (graphics) that exceed page margins

Background A large number of screen captures have been scaled 300% at 288dpi. They appear correctly when embedded in OpenOffice, but not LyX. Problem Images that do not extend beyond the margins ...
5
votes
1answer
78 views

font size in chemfig

I am using chemfig scaling and want to increase the font size, but not any other parameter of the molecule. So a MWE would be: \documentclass{article} \usepackge{chemfig} \begin{document} ...
1
vote
0answers
68 views

placing text using \widthof with tikz

I am new to using Tikz and I do have a question about writing a macro with allows me to use a parameter to scale a simple drawing and put text according to the size of the drawing. Here is what I ...
5
votes
2answers
115 views

Matrix is too small, how to make it bigger?

I am trying to make the following matrix bigger since the elements do not fit quite well inside of it. I don't know why.. \documentclass[11pt,a4paper,oneside]{report} % KOMA-Script book ...
51
votes
4answers
75k views

Scale image to page width?

I use \inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos.
4
votes
2answers
107 views

Rescaling many images which are scaled with \includegraphics

In a LaTeX document I have about 70 images which are scaled using the graphicx-package and \includegraphics[scale=0.8]{foo.pdf} where the scaling factor varies. Now I would like to rescale them all ...
2
votes
1answer
98 views

Rescale paragraph to fit margins or detect used width of paragraph

I want to write a command or similar that allows me to rescale a given paragraph to fit a given frame, keeping the aspect ratio. The problem is that the paragraph is usually manually set and not ...
3
votes
1answer
128 views

How to use scalebox in captions? [duplicate]

This code: \documentclass[a4paper,twoside,12pt]{scrreprt} \usepackage{fontspec} \begin{document} Test \scalebox{3.0}{$\int$} test. \begin{table} \centering \begin{tabular}{cc} A & B \\ C ...
3
votes
1answer
174 views

Why does \resizebox around tikzpicture gives me undefined control sequence }?

As indicated in Scale tikz figure to a percentage of \textwidth I was expecting this to work: \documentclass{memoir} \usepackage{tikz} \usetikzlibrary{matrix,positioning} \begin{document} ...
7
votes
1answer
173 views

Logarithmic scaling of picture in tikz

I'm looking for something along the lines of \begin{scope}[scaling=logarithmic] ... \end{scope} The reason is, that I'm trying to visualise whether the Minkowski sums of some specific sets in R^2 ...