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

learn more… | top users | synonyms

2
votes
1answer
71 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
66 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
18 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
84 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
55 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
55 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
51 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
45 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
2answers
32 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 ...
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} ...
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
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
56 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 ...
3
votes
1answer
92 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
84 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 ...
0
votes
0answers
15 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?
2
votes
1answer
76 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 ...
3
votes
0answers
57 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 ...
0
votes
0answers
99 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 ...
5
votes
1answer
83 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
70 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
116 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 ...
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
99 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
139 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
181 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} ...
3
votes
2answers
124 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}
1
vote
1answer
68 views

unwanted white space when combining surface plot with a vector plot

I am trying to produce a surface plot of a scalar field with a vector plot imposed on top using pgfplot/tikz. I am nearly there except that depending on the scale of the arrows white space is added ...
7
votes
1answer
175 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 ...
1
vote
1answer
103 views

Why is “width=\textwidth” setting not properly scaling graphic?

I'm including a jpg figure in my LaTeX document like this: \begin{figure}[htbp]\centering % fbox here only for illustrative purposes ...
3
votes
1answer
74 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 ...
3
votes
1answer
78 views

Scaling numbers taken from a different font?

I wonder if i can re-scale numbers from different font. For example i took times numbers using txr. Can i re-scale these numbers. \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} ...
6
votes
1answer
71 views

Define \shearbox with \rotatebox and \scalebox

Similar to this problem, I want to define \shearbox with \rotatebox and \scalebox using singular value decomposition: The latex code is as follows: \documentclass[12pt]{article} ...
3
votes
0answers
134 views

Error using fontspec v2.4a and unicode-math [closed]

Compiling the following example with XeLaTeX or LuaLaTeX \documentclass[11pt]{article} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \small \begin{tabular}{c} Foo ...
7
votes
1answer
250 views

Fontspec 2.4 and Scale=MatchLowercase causes error

I just updated to TeXLive 2014 and when compiling the following code using either XeLaTeX or LuaLaTeX I get an error: \documentclass{article} \usepackage{fontspec} \setsansfont{Latin Modern ...
2
votes
0answers
347 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 ...
2
votes
1answer
148 views

Decoration marking arrow style ignored in custom node shape?

I have this dimension line macro which I've put together from examples here; and as it should be visible from the MWE (below) output: ... it works just dandy fine when called from "regular" \draw ...
1
vote
1answer
91 views

Scale only upright font in superscript math mode

Is there a way to scale only the upright font (used in operators like sin, log) in superscript math mode? I'm using Baskerville MT Pro as text font, with XeTeX and mathspec, and MathTime Pro 2 as ...
9
votes
3answers
389 views

Sloped Tikz node with rotation and scale

There should be an easy way to place a sloped node along a path. Using sloped works great (as in the black text). However, if there is a rotate= applied then the text is no longer along the path (as ...
6
votes
2answers
181 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} ...
1
vote
1answer
38 views

How to reescale a pstricks image with subcaption?

I have an image and a code, that works well. When I try to scale the PSTRickis image, I have problems-errors How can I resize an image using subcption package?? I put at the end of the code ...
2
votes
0answers
63 views

Cannot align or resize graphics [closed]

I've search for a solution but cannot determine the problem. I neither resize nor align a graphic. In the preamble I'm including: \documentclass[a4paper,12pt]{scrreprt} ...
4
votes
1answer
42 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) ...
0
votes
0answers
36 views

inserted graphics appears out of the page!

This is my code: \begin{figure} \begin{center} \includegraphics[scale=1]{C:/Users/Prathmesh/Desktop/research papers/runoff water harvesting/LaTex/waterpan.png} \caption{SILT TRAP} \end{center} ...
2
votes
1answer
112 views

How to change linewidth for symbols from plotstyle=dots in pstricks?

With the help of plotstyle and dotstyle one can realize scatterplots in pstricks. In the case one selects plotstlye=dots and dotstyle as +, o, otimes or similar one obtains little symbols drawed at ...
2
votes
1answer
204 views

The scale option of \includegraphics does not work after changing the document class [duplicate]

After .cls file changes, \includegraphics[scale=0.5]{img/GoalHierarchyMetaModel.png} command gives the following error. ! Package keyval Error: scale=0.5 undefined. See the keyval package ...
3
votes
1answer
126 views

Custom Tikz node with background graphics that scale to node size?

I have an SVG shape, which I'd like to use as a sort of a TikZ node border. The shape is basically a path with stroke effects - but the effects have been "baked in", so now I just have a non-stroked ...