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

learn more… | top users | synonyms

4
votes
2answers
278 views

Automate width determination for included graphics

For including graphics such as Matlab plots, I use \includegraphics from the graphicx package. Every time, I have to decide on some width and pass e.g. [width=180mm] to the inclusion command. This ...
4
votes
1answer
128 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} \usepackage[margin=10pt,...
4
votes
2answers
5k views

Resize large images that exceed page margin whilst respecting existing scale

The solution posted here Scale (resize) large images (graphics) that exceed page margins works great. Just to summarise, Dave Jarvis suggested \usepackage{graphicx} % Determine if the image is too ...
4
votes
1answer
159 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: \newcommand{\...
4
votes
2answers
229 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 ...
4
votes
2answers
112 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? \begin{...
4
votes
1answer
232 views

Fit the height of the chapter number to n-times the height of the chapter name

I would to get the chapter number tall n-times the chapter name in order to have a better proportion between the two elements. Why I get errors and how can I fix that behaviour? I thought something ...
4
votes
1answer
100 views

How to use EB Garamont Font with KOMA Script Font Size 16pt

I am using the ebgaramond package in my scrbook document. As a base font size I want to use 16pt but when I compile the document I get warnings like the following: LaTeX Font Warning: Font shape `...
4
votes
1answer
61 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 \documentclass[12pt,USenglish,letterpaper,final]{...
4
votes
2answers
410 views

Scaling tikz-cd labels

I'd like to scale a custom symbol drawn in tikz, such that it's the same size as surrounding text in a tikz-cd diagram. For example, in the following code I'd like the box to the left of A_2 to be ...
4
votes
1answer
1k views

Flipping Transistors with Circuiktikz

I was wondering if there was any way to flip a transistor or similar node component around in the circuitikz package? For the bipoles it's fairly simple as you just reverse the start and end, but for ...
4
votes
1answer
374 views

Scaling problem with fontspec package and \footnote.

footnote does not scale properly with using fontspec. Any idea how to solve this problem? Already tried realscripts and xltxtra but no luck. Thanks, \documentclass[12pt]{article} \usepackage[english]...
4
votes
2answers
291 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 ...
4
votes
1answer
57 views

How can I resize the and & or gates or FF in pst-circ package?

\documentclass{exam} \usepackage{pst-circ} \usepackage{multicol} \begin{document} \begin{latin} \begin{pspicture}(-1,-1)(5,4) \logicff[inputalabel=$J$,outputb=false,inputblabel=$K$](-3,0)...
4
votes
1answer
152 views

Scaling text in pictures

I create pictures with pstricks, that contain rectangles and text within the rectangles. When I need to scale the picture, I use "psset unit=...", and all rectangles in my picture are scaled ...
4
votes
1answer
2k views

\left\langle bigger then \Biggl\langle

I am putting a graphics inside \left\langle .. \right\rangle, as \left\langle \vcenter{\hbox{\includegraphics[scale=0.05]{images/lhs.pdf}}}\right\rangle_{av} The problem is, as it seems, for ...
4
votes
1answer
1k views

Adjustbox on a landscape page makes a table too small

I am trying to use adjustbox to scale down a table that is too large for a landscape page, but when I use it, the scaled table is much smaller than it needs to be relative to the size of the page. Any ...
4
votes
1answer
585 views

Figures not obeying margins

I have a few figures in my document not obeying the margin constraints: \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} Most do. But these one's don't... they are defined as the ...
4
votes
1answer
421 views

Automatically scale an XY-Matrix in the Index of a math symbol

Consider the following code: \documentclass[a4paper,12pt]{article} \usepackage[all,2cell]{xy} \UseAllTwocells \newcommand{\partinto}[3][]{% \xymatrix@C=.85em@1{% *+{#2\,} \ar@{|-}[r]_-*-{\...
4
votes
1answer
272 views

Is it OK to scale image by changing its resolution?

Assume I have an image fruit240.jpg of 800 pixels by 600 pixels at resolution of 240 dpi. Normally I can scale it by half using the following way. \documentclass{article} \usepackage{xcolor,...
4
votes
2answers
71 views

How to autoscale and autoalign a TikZ picture to the surrounding text?

I'm designing some icons with TikZ to be used in my text. As a working example for this question let's a take a simple arrow: \tikz[->]{\draw[>=stealth] (0,0)--(1,0);} How can I treat this ...
4
votes
1answer
2k 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 &...
4
votes
1answer
3k views

\scalebox doesn't compile

I want to scale down an equation and after trying lots of examples found on the internet I still cannot compile or see what is wrong. My code looks like: \usepackage{graphicx} .... \scalebox{0.7}{ \...
4
votes
1answer
363 views

Symbols of height intermediate between \big and \Big needed

I consistently find that math symbols scaled with \big/\bigl/\bigr are too small and those scaled with \Big/\Bigl/\Bigr are too tall. Here is an example: \documentclass{article} \usepackage{amsmath}...
4
votes
2answers
434 views

Shrinking verbatim text

Heiko Oberdiek helped me a lot by finding a solution for shrinking text when needed. I want to apply this method to verbatim text as in the example below, but this is somehow forbidden (Something's ...
4
votes
1answer
62 views

Best way to scale a tikzpicture with matrices

I had the following figure in a document that I am looking to put in some beamer slides. The figure in question is to wide to fit in the slides, so I am looking to scale everything, by say, a factor ...
4
votes
1answer
2k 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 ...
4
votes
1answer
2k 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 message:...
4
votes
2answers
213 views

Multiple lines in equation environment

I have to put an two equations inside one equation environment. I could do it with this piece o code: \begin{equation} \begin{array}{ccl} \nabla \cdot F & = & \left(\frac{\partial}{\partial ...
4
votes
1answer
527 views

Scale Axis in PGFPlots without changing orientation

I'm trying to plot a data matrix using pgfplots and a surface plot. The method described in this question worked well for me: Using pgfplots, how do I arrange my data matrix for a surface plot so ...
4
votes
1answer
658 views

How do I rescale cropped material with pdfcrop

I'm running pdfcrop (version 1.31) on Mac OSX. From what I read on pdfcrop page I should be able to rescale the size of the final document. The suggested approach is pdfcrop infile.pdf letter ...
4
votes
1answer
68 views

paracol and scaled fonts misaligned

I am using pararcol with english and arabic. The arabic font is scaled up in size and this causes a misalignment of lines, not just within paragraphs, cumulatively, but also of the first paragraph ...
4
votes
2answers
131 views

Scale chemfig molecule in beamer with tikz

I want to show three different molecules on a beamer slide. The slide contains a tikzpicture (for positioning and uncovering together with the other elements), three nodes contain one molecule each. ...
4
votes
1answer
175 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
1answer
169 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 ...
4
votes
1answer
1k views

Problem with scaling used in \includegraphics

I have a question on scaling a graph when the graph is included using \includegraphics. A code snippet is below. \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{...
4
votes
1answer
582 views

Scale Feynman Diagrams to Poster Size

I am creating a poster using beamerposter, and I would like to include Feynman diagrams generated using feynmp. However, the native scaling of feynmp is indented for letter-size documents, and is far ...
4
votes
1answer
900 views

Scaling a (beamer)poster output

I use beamerposter with pdfLateX. I normally make the poster for A0 page size but need to reduce the size of (scale) the poster to a specific width to fit a smaller size frame used for showing posters ...
4
votes
1answer
100 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. \...
4
votes
1answer
209 views

Automatic command insertion for successive capital letters

I work in a field with heavy use of acronyms. To make my documents visually more appealing, I like to use a moderate downscaling of the capital letters. \documentclass{article} \usepackage[T1]{...
4
votes
0answers
670 views

TikZ: scaling the tikz picture environment

If I scale the TikZ picture environment, everything should scale by a factor of x correct? If that is the case, why would some code not scale or scale incorrectly when it is in the environment? For ...
4
votes
0answers
3k views

Changing the title height in a beamer [closed]

How can I change the height of the title in the beamer? Height of the title block is big and I want to make it smaller and similarly the width of the left block is big and I want to make it smaller ...
3
votes
2answers
43k views

How to adjust a table to fit on page [duplicate]

I have the following latex table: \begin{table}[ht] \centering \begin{tabular}{rlrrrrrrr} \hline & X & MASHvstRap & MASHvsBEEML & tRapvsBEEML & frequency & Mash\_mean & ...
3
votes
2answers
369 views

How to create a larger symbol?

How can I insert a larger symbol of textreferencemark. Exactly how can I use a larger font for the the output of the command \textbf{\textreferencemark}
3
votes
2answers
304 views

PSTricks : Power plant and Energy transfer schematic not scalable

Consider the following example by Thomas Söll at Manuel Luque's PSTricks blog: % latex filename.tex % dvips filename.dvi % ps2pdf filename.ps \documentclass[ a4paper, landscape, 12pt ]{article}...
3
votes
2answers
4k views

Scale down a array contained in an equation - beamer

I have an array inside an equation in a beamer presentation. I tried scaling it down using resizebox but it gives me error : \begin{equation} \label{eq:recursive} \resizebox{\linewidth}{!}{ R_{k+1}(...
3
votes
1answer
340 views

Wrong frame size in animation

Consider the following code (more or less this): \documentclass{article} \usepackage{lmodern} \usepackage[ hmargin=2.4cm, vmargin=3cm ]{geometry} \usepackage{tikz} \usetikzlibrary{calc} \...
3
votes
2answers
225 views

Resizing image and losing quality

I want to create a pdf document from images of different size and I fit each image to the text dimensions to include them in the document, with \includegraphics[width=\textwidth, height=\textheight, ...
3
votes
1answer
6k views

How to deal with PDF figures

I can insert JPEG figures in publications, but when it comes the time to include PDF figures (I prefer them for graphics because of its vectorial nature) I cannot scale them properly. I am using ...
3
votes
2answers
65 views

Scaling tikz figures in beamer latex

I have the following example: \documentclass{beamer} \mode<presentation> { \usetheme{Madrid} \usecolortheme[RGB={0,0,0}]{structure} } \usepackage{amsmath,amsfonts,graphicx} \usepackage{...