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

learn more… | top users | synonyms

1
vote
1answer
17 views

Error when including .tex file created with XCircuit in Latex mode

I've recently created an eps figure using XCircuit. Labels of the components written in "LaTeX Mode" to have the default LaTeX font. When i try to compile my .tex file i get the following error: ...
12
votes
3answers
17k views

Really wide hat symbol

Is there any way to get a hat wider than widehat? Why doesn't \widehat{abcdefghijklmnopqrstuvwxyz} really go over all of it?
3
votes
2answers
51 views

Side by side figures adjusted to have equal height

I have two graphics of different dimensions which I would like to put into my document side by side such that: The two figures are scaled to have the same height. The two figures take up the entire ...
1
vote
3answers
52 views

Align table horizontally - rescale

I would like to align horizontally two tables, if necessary rescaling them, to put them on the same line. Obviously even the caption must be scaled, remaining aligned with the center of the table. ...
2
votes
2answers
49 views

insert a scaled picture on the right side of the page on an existing picture in latex

I am new user of latex. Can I insert a scaled image on the right side of the page?While, I have already full size image on the same page. There is no text on this page. Thanks in advance. ...
2
votes
1answer
34 views

pgfplots: locally activating linear scale in a log scale plot

I have the following short example: \documentclass[tikz,10pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} ...
4
votes
3answers
485 views

TiKZ matrix of objects

I am drawing diagrams which consist of grids, some cells of which are filled with circles, like this: I created this picture with \begin{tikzpicture}[scale=0.6] \draw[shift={(0.5,0.5)}] (0,0) ...
4
votes
1answer
27 views

Scalable font does not actually scale? pdflatex

I imagined that a scalable font could be scaled to any number. Apparently not? MWE: % !TEX TS-program = pdflatex % !TEX encoding = UTF-8 Unicode ...
2
votes
1answer
39 views

Font scaling: Shrink all fontsizes locally

I have a section at the end of my document that contains various elements that do not trivially react to writing \small in front of the section (e.g. \printbibliography, but also some custom ...
2
votes
2answers
58 views

Horizontally and vertically center a figure and scale to fill the whole page in landspape orientation

I want to have an image that fills a landscape page. I have tried: \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{pdflscape} %Gives us landscape pages with ...
0
votes
1answer
35 views

Automatically adjust height of `\tikzpicture` to match height of `minipage` environment

Is there a way to scale the tikzpicture so that the two minipage environments have the same height? Code: \documentclass[8pt]{article} \usepackage{tikz} \begin{document} ...
3
votes
1answer
32 views

How to add a scaled option to arev package?

The arev package provides extended version of BitStream Vera Sans fonts but without scaled option. The bera package uses beraserif, berasans and beramono with scaled option (via t1fve.fd, t1fvm.fd ...
112
votes
10answers
25k views

Compile a LaTeX document into a PNG image that's as short as possible

I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
4
votes
1answer
126 views

Combine universal and existential quantfiers

I want to combine the existential and universal quantifiers so that the left part of the universal quantifier match the right of the existential. To do so I defined the command: ...
0
votes
1answer
51 views

Tikzpicture also scaling “dashed”, “dotted”, etc., patterns [duplicate]

I was wondering why predefined patterns like dashed, dotted, thick, etc., do not scaled when scaling the complete tikzpicture environment. Minimal Example: \documentclass{beamer} ...
0
votes
0answers
51 views

How to scale a figure including picture using tikzscale?

I'm having troubles with the tikzscale package. I'm trying to insert arrows above a picture. And, when I do so, I have the following error : "! Package tikzscale Error: Requested to scale unscalable ...
2
votes
1answer
41 views

Post process each entire page to move/resize contents

LaTeX beginner here. I am looking to physically print a rendered document on a size that is not 8.5 x 11. My printer can only handle that size, and does strange things to smaller pdf's. However. If I ...
4
votes
1answer
80 views

Crop an image in tikz using 2 points of reference and a height

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
4
votes
1answer
86 views

Asymptote: prevent label scaling in 3d perspective

Is there a simple way to prevent labels from scaling based on their distance to the camera in a perspective 3d view? (For example, see the first comment on this question or page 65 of this tutorial.) ...
4
votes
2answers
90 views

Using symbol “{” in big size

I want to use to symbol { in big size and I tested $\left\{$ but it is not functional. So, I need to help for writing this symbol.
42
votes
4answers
13k views

pgfplots: how can I scale to text width?

This question led to a new package: tikzscale When I try to scale a plot with: width=\textwidth there is some horizontal space between the start/end of the plot and the start/end of the ...
58
votes
5answers
5k views

How to scale a tikzpicture to \textwidth

I would like to scale my tikzpicture to exactly (or a proportion of) the \textwidth Of course I could play with the [scale=0.5] option until I found the right value, but I assume there must be an ...
0
votes
1answer
86 views

Longtable & scalebox

I have a very long table which i decided to make smaller using scalebox (successfully) and also split into two pages using longtable. However, no matter how hard I try, I cannot run those two things ...
1
vote
1answer
46 views

Setting table-width exactly to linewidth

I'm trying to create a table with exactly the same width as the surronding text. I would expect that the command \resizebox{\linewidth}{!}{..table..} should do the job. However, the tables width is ...
2
votes
1answer
58 views

Maximum figure width when using bmcart class

I am writing a paper for a journal and have to use the bmcart class of the BioMed Central template found here (direct link to ZIP file). I am using it with two columns: ...
2
votes
0answers
61 views

Tikz node centers with scaling

Can you explain why TikZ places the node center incorrectly in this MWE? I expect the red node to overlap the black one entirely, but it does not. If I remove the scaling, the problem goes away. ...
1
vote
0answers
26 views

Minimize size of a figure (tikz - pgf) in LaTeX [duplicate]

I'm using MikTeX and WinEdt for writing an IEEE conference paper. To create a neural network structure I used this code : \begin{figure} \begin{tikzpicture}[ init/.style={ draw, circle, inner ...
11
votes
2answers
15k 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 ...
74
votes
4answers
106k 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.
2
votes
1answer
188 views

Scaling (and annotating) images in a rotated matrix of tikz nodes, scaled to page size?

In the MWE below, which currently results with this output (click for full-res): ... I want to: Arrange four images in 2 rows, 2 columns, for which I've used a \matrix of \tikz nodes, Have them ...
2
votes
1answer
44 views

Scaling images when inputting a tex file

I am using Xcircuit to produce images which creates an eps picture and has latex symbol which is overlays on top of it. I would like to be able to scale the image as well as the symbols. i tried the ...
2
votes
1answer
520 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 ...
16
votes
2answers
2k views

High precision \includegraphics for LaTeX

\includegraphics produces boxes whose witdth and height are about 0.5pt off: \usepackage{graphicx} ... \setbox0\hbox{\includegraphics[width=\textwidth,height=\textheight]{mypic}} \showthe\textheight ...
20
votes
1answer
12k views

Best figure size adjustment when dealing with different image sizes

I have a script which automatically creates a beamer presentation with several .ps images, each one inserted in a distinct frame. Those images consist on graphs built using GraphViz. The script is ...
3
votes
1answer
225 views

How to align and scale pdf in the same way

I have a big image in PDF and I use software to split that PDF into 5 equal pieces. I am using pdflatex to insert each pdf in a separate page with \includegraphics by the same scale factor. I need to ...
1
vote
1answer
196 views

Latex: Figure is too large for PDF

I am a graduate student working on a research paper. I am using WinEdit 8.1. I am new to latex but I am almost finished with the paper. I am have issue inserting a picture into the document. ...
11
votes
2answers
22k views

Resize table and caption

I usually apply a \scalebox to resize things, but I always stumble upon the fact that I cannot simply include a \caption{...} in the \scalebox. As an alternative to \scalebox, I found I may use ...
1
vote
1answer
90 views

Importing .pdf image created by Inkscape UNSCALED [closed]

I created a simple drawing in Inkscape, which I exported as .pdf to include it into a LaTeX file. In the image I want to have a nice 5mm grid. (Created using Extensions->Render->Grids...) If I ...
1
vote
1answer
100 views

LaTeX figure labeling using overpic: rescaling problems

I am using the overpic package to lay over different pictures in LaTeX. I am also labeling the axes of the figure using \put. The problem is say I have labeled the figure correctly. Now, sometime ...
1
vote
1answer
133 views

\resizebox and page sizes

What is the exact operation and syntax for resizing an object? I am writing a macro package for printing on multiple paper sizes, including A4 2-column, eBook-size, portrait and 9inx6in WEB browsable ...
0
votes
0answers
143 views

Text scaling for beamerposter

I am making a poster for a conference using the beamerposter package. I have made my own style file. However, I am unable do decide what would be the right scaling for the poster to be seen well. I ...
0
votes
0answers
31 views

scaling position of a graphic image in a table

I am trying to scale an image of a circle in the left of the exercise , the exercise is written in form of a table made of 3 columns, one for the points, the second is for the question and I want the ...
5
votes
2answers
120 views

Preserving font size in scalebox

I'm using a scalebox around a picture. There's text inside it. I'd like the text size to keep constant even if I change the scale factor. \scalebox{0.5}{ \begin{picture}(360,255)(0,0)% ...
2
votes
1answer
255 views

How to scale algorithm to fit in one frame and centered in the frame at same time?

Originally, the algorithm is too long to fit in the frame. If I use the \scalebox{0.8}{}, it can fit in the frame but doesn't look like to be centered in the frame. Here is the code and output. First ...
6
votes
2answers
155 views

Why do these TikZ intersections scale incorrectly?

In the following MWE, the shaded region scales incorrectly. The problem seems to involve the intersection calculations. What's the problem here? Here's the MWE, without scaling: ...
36
votes
2answers
5k views

How to define a figure size so that it consumes the rest of a page?

Sometimes I don't need to have a specific picture size, but for layout reasons I would like to scale the image so that the rest of the page is filled. How can I achieve that?
1
vote
2answers
148 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 ...
9
votes
1answer
860 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
95 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
195 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 ...