The tag has no wiki summary.

learn more… | top users | synonyms

27
votes
1answer
4k views

What are the possible dimensions / sizes / units LaTeX understands?

I know there are different ways of expressing sizes or dimensions in LaTeX such as points (pt), inches (in) and ex. As some commands, such as \hspace understand all of them, I would like to have a ...
9
votes
1answer
9k views

Image from \includegraphics showing in wrong image size

When I use the following to embed an image: \begin{figure}[htb] \centering \includegraphics{my_image} \caption{blaaa} \label{fig:blaaa} \end{figure} whereas my_image is a JPG file, the ...
18
votes
4answers
3k views

Bounding box is larger than expected when drawing a curved path

I have been working on logo for my department and I have the following code. The problem is that whenever I compile the diagram seems to be larger than the actual logo. I do not know what is the ...
37
votes
3answers
124k views

Big Parenthesis in an Equation

I have an equation contained inside \[...\], which automatically makes a \sum with sub- and superscripts turn big--so that the summation sign looks awkward inside parenthesis. Any idea how to make ...
34
votes
2answers
27k views

How to change the size of nodes?

How is it possible to change the size of a node, for example: \begin{tikzpicture} \draw node[fill,circle]{} (0,0);% \end{tikzpicture} How to make the circle smaller or larger?
8
votes
3answers
24k 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} ...
6
votes
1answer
7k 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 ...
13
votes
2answers
298 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
1answer
2k views

How to make a textbox with this TikZ code ?

I made this with TikZ : \usetikzlibrary{calc} \def\banlen{3} \xdefinecolor{mycolor}{RGB}{62,96,111} % Neutral Blue \def\bancolor{mycolor} \begin{tikzpicture} \draw (0.25,0.25) rectangle (5,-2); % ...
9
votes
1answer
3k views

Size of TikZ ellipse node

When I set the minimum size of an ellipse in a tikzpicture environment, it expands into a circle if the inner content does not grow as large as the ellipse shape itself. Is there any way around it? ...
8
votes
2answers
2k views

How do I make one minipage the same size as another?

I'm writing a LaTeX document into which I want to put two boxes, in a row next to each other, which will contain varying length content. I want each box to be the same height, and that height needs ...
7
votes
2answers
160 views

Create a resizable symbol?

Some symbols can be resized automatically with \middle when placed between a \left. and a \right. They can usually also be resized using \big or \bigg. Examples of such symbols are |and / and pretty ...
5
votes
1answer
795 views

Multiple different meta for marker color and marker size

How do I set the color of a marker with one meta column in a table AND its size with another meta column? So in this minimal working example, how can I set the marker size with 'w1' and the color ...
5
votes
1answer
2k views

Big table with rotated column labels using booktabs

I'm trying to get a big table to fit into my document using the booktabs package, but it is too wide. An example of a couple of rows of the table is given below. I'm using the ...
2
votes
2answers
91 views

Wrong placement (and/or size) of picture / plot with groupplot of table (… and discontinuity)?

Consider this MWE: \documentclass{article} % \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.5.1} \usetikzlibrary{pgfplots.groupplots} \usepackage{pgfplotstable} ...
2
votes
1answer
298 views

label in subcaption and customize cell size of an array

Using the following code \documentclass[11pt]{article} \usepackage{caption} \usepackage{subcaption} \DeclareCaptionSubType*[arabic]{table} \captionsetup[subtable]{labelformat=simple,labelsep=space} ...
12
votes
1answer
2k views

Tikz - move/reposition arrow decorations (arrowhead length/size)

I'm trying to build a 'dimension line' macro for Tikz: \documentclass{article} % note: with \documentclass{minimal}, this example fails with: % ! Undefined control sequence. % ...
10
votes
2answers
655 views

How can I force \left, \right delimiters to automatically (!) have the same size despite line breaks?

This code \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \begin{split} z = \left( a + b + c \right. \\ \left. + \frac{d}{e} \right) \end{split} ...
13
votes
4answers
1k views

Creating stackoverflow like tags

I'm trying to create stackoverflow like tags. Currently I'm using an \fbox{text} to create the tags, which works, but not all boxes have the same height (it seems that letters like 'p' make a box take ...
14
votes
2answers
1k views

divides, not divides and cardinalities

In group theory it happens very often that you want to say: "The order of $H$ divides / does not divide the order of $G$." But the length of | is then always the same: $ |H| | |G| $ produces |H|||G| ...
5
votes
1answer
172 views

Best practice regarding graphics size

Whenever I make graphs from R to be included in Latex, I find myself scuttling back and forth between R to specify the size of the output and Latex to play with the \includegraphics[scale=??]. It ...
3
votes
2answers
1k views

Remove “white parts” of tikz picture

I have a tikz picture, which consists of a visible part on the left side and a white part on the right side (for some constructive reasons). Now I would like to redefine the size so that the new ...
3
votes
1answer
15k views

Package pdftex.def error PDF mode expected

Took me 6 hours today and still doesn't work, the error is : Package pdftex.def error PDF mode expected mf-texlive/tex/latex/pdftex-def/pdftex.def Example document: \documentclass{article} ...
2
votes
1answer
457 views

How to put part of a TikZ graphic into a box to measure its size

After adding support for tooltips today in pdfcomment (\pdftooltip) I wanted to make a TikZ example with tooltip annotations. Within \pdftooltip the annotated element is set into a box to measure the ...
8
votes
2answers
1k views

In exponents, parenthesis too small, \big too big

When something big (a fraction, a sum, an integral...) appears within a pair of parenthesis, one can typically use \left(...\right) to get delimiters large enough to surround the contents. The ...
7
votes
1answer
127 views

Why is my prime symbol too low? And: Why are my subscripts not scaled accordingly when I use \scriptsize?

I have two (maybe simple) questions concerning the following LaTeX document \documentclass{scrartcl} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
5
votes
2answers
266 views

Typesetting digraph with weighted edges, varying vertex size, multiple lines in vertex

I would like to draw the graph displayed in the following picture with TikZ and also do some modifications: Firstly I want to carry the labels of the nodes to the inside as a second line. For ...
5
votes
2answers
2k views

How to set equal size of cells in tabular environment when \multicolumn extend the size of above cell?

The code example is shown as follows: \documentclass{article} \usepackage{latexsym} \usepackage{bm} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \begin{document} \begin{center} ...
3
votes
3answers
104 views

Size of circle path vs. circle node in \pgfdeclareshape?

I'm trying to "overload" a rectangle node as a custom shape, such that it has a circle on its south west corner. In the MWE below, I use \circsize to set the size of the circle - and for testing ...
2
votes
1answer
450 views

Setting image size in html output of tex4ht

I have a complex document which I'm trying to convert to html with tex4ht and TeXLive under Ubuntu, but I'm not able to coherently control the image size of jpg and eps images. In html output, jpg ...
2
votes
1answer
573 views

PDF printer decreases filesize of pdflatex output considerably. Why?

This is probably not exactly a TeX question, but I assume many people concerned with TeX might also have ideas about this issue. If I compile the following "minimum" example with pdflatex on Windows, ...