{width} is the measurement of the extent of something from side to side.

learn more… | top users | synonyms

1
vote
1answer
47 views

how to customize size of the image through arguments?

Relating from this link, Create command to inline an image in a question? is there a way so the image can be modified? Example \Image[20][10] where 20 is the height and 10 is the width.
3
votes
1answer
4k views

algorithm2e and Beamer - How to make algorithms wider with smaller font?

I would like to make the algorithm2e environments wider in a beamer document. Indeed I must you a \scalebox to see all of my algorithm. Is there a way to have wider algorithms with smaller size font ...
2
votes
1answer
861 views

how to get the size of a \pgfdeclareimage

Basically I want to use a TikZ node to frame a pgfimage, so later on, I will add more and connect them as I see fit. I have this: \pgfdeclareimage[width=10em]{image1}{images/image1} ...
1
vote
0answers
163 views

How to specify the the column width but also keep the cell content center horizontally? [duplicate]

I want to specify the width of the column but also keep the content centered. How can I do that? Here is my code \begin{tabular}{p{6cm} c c p{2cm} p{3cm}} \Xhline{3\arrayrulewidth}\hline ...
6
votes
1answer
273 views

set width of table column to whatever's left in page width

I have some columns with a very short entries on the first column and a rather long entry on the second column. \begin{ctabular}{\textwidth}{ll} \toprule Name & Recipe\\ \midrule Freezing ...
14
votes
1answer
5k views

Different column widths using multicol

Is it possible to specify different column widths in a multicol environment? For example, in a two column layout, can the left column be set to twice the width of the right column?
8
votes
1answer
240 views

pgfplots: non uniform line width for interrupted plot

I draw a graph, but the red line does not appear to have the same width everywhere. For instance, between [a,b] it looks like it's thicker. \documentclass{beamer} \usetheme{CambridgeUS} ...
1
vote
1answer
84 views

Create command for a width

How can I put this code into command to be more organized and precise?
2
votes
0answers
79 views

Create a two column matching type question? [duplicate]

I am currently looking for some ways to create a command that would give two column. I have a similar problem to this link : Two column text and choices Two column questions and choices is also my ...
4
votes
1answer
922 views

Customizing \maketitle output with \minipage's inside \titlehead => Alignment problems

I am trying to customize the title of my scrreprt class document. The \titlehead looks like this (basically, three 'columns' created with three instances of \minipage): \titlehead{ \large ...
8
votes
2answers
347 views

minipage is wider than I wanted

Occasionally, the width of a minipage environment seems to be ignored. I've not kept accurate records of when this has happened. But below is purely illustrative code that shows the issue. ...
5
votes
1answer
943 views

Text not spanning full page after wraptable

I wonder why latex doesn't go back to full textwidth after a table that was added in a wraptable? The actual code where I experience this problem is here: http://pastebin.com/CRjHMZdT I would ...
5
votes
2answers
411 views

Text over the overbrace beyond “scope”

does anyone know how can I avoid the free space between the sum sign and the indicator function. I guess it's caused by the width of the upper block above the overbrace. So is there a way to allow ...
6
votes
2answers
2k views

Resize all images in Latex to a percentage width

I am auto-generating multiple tex files using pandoc (one tex file for each of my chapters). Pandoc generates this tex code for each image. \begin{figure}[htbp] \centering ...
9
votes
2answers
229 views

Multicolumn block is narrower than the surrounding text

I need to typeset blocks of text in a multicolumn environment, with a title above, and framed with full line width. I'm using the multicol package for that. The issue I face is that the block of text ...
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 ...
4
votes
1answer
747 views

Multicolumn width calculated for lX columns

I have the following table: \documentclass{article} \usepackage{tabu, longtable} \begin{document} \begin{longtabu} to \textwidth {|l|l|l|lX|} 1 & Column 2 & 3 & ...
2
votes
3answers
2k views

Control column width with left alignment in tabular

I want to make a table with a bigger than default column width for the first column. The text in this column should be left aligned. Here is my code. \begin{tabular}{llll|l} Address1 ...
6
votes
1answer
644 views

How do you get block dimensions in Beamer?

I'm using a block for emphasizing different pieces of information. I'd like those pieces to be constrained to the block dimensions and to use the columns environment, but I don't know how to get the ...
2
votes
2answers
163 views

Setting width of lines in tabular

Is it possible to increase the linewidth of tables like it's possible to set the linewidth in PSTricks? Maybe you could show me how to do it on this example: \begin{tabular}{c|c|c|c} \hline ...
2
votes
2answers
1k views

How can I use the full page width (\textwidth) while importing a table with \includegraphics?

I'm in a 2-column environment. I need to use the entire pagewidth (\textwidth) while importing a table with \includegraphics. \begin{table} \centering \includegraphics[width=\textwidth]{./myfile.pdf} ...
7
votes
2answers
585 views

Macro for the average width of a character

How can i made a macro similar to \averagecharwidth of ConTeX in LaTeX, that calculates the average width of a character based on the frequency of that character into my document ? that macro is show ...
2
votes
1answer
525 views

column width expands page after using landscape, minipage & twocolumn

I am writing a two column report: portrait oriented page. For certain pages I used landscape orientation. In this page a figure takes whole width of the page (29cm). Under this figure I put a two ...
4
votes
1answer
938 views

Calculate parbox width to make it meet the page border?

I'm using the program package to typeset my algorithms. I want my comments to have a light gray background, therefore I'm using colorbox with a parbox inside (for multi-line comments). Now the ...
8
votes
1answer
1k views

I need a customized verbatim environment

I would need a verbatim environment with the following behaviour: It is centered (left and right distance to the page edge should be equal). It can be much wider than the regular text, almost using ...
4
votes
1answer
143 views

In a 2-columned document, how do you get a table to stretch across the entire width?

I'm working on a document that runs two columns of text down the page, like many scientific conference proceedings. However, I'd like for a table to run across the entire width of the page, as it is ...
1
vote
2answers
3k views

longtable in LaTeX too wide?

I am having problems with a longtable, it goes off the side of the page and any attempt to limit the width only seems to work on the first page. Here is a cut down version of my table % Appendix B ...
3
votes
1answer
92 views

Setting width of RawCaption

I have posted a question Different width for caption and floatfoot with floatrow (which contains a MWE) regarding setting caption and \floatfoot width in the floatrow package, which was answered so ...
2
votes
1answer
214 views

How to obtain the width of a column within the APA document class?

I am using the APA document class. My document has some tables: \documentclass[jou]{apa} \usepackage{tabularx} \title{This is the title} \author{This is the author} \begin{document} \maketitle ...
5
votes
1answer
950 views

Different width for caption and floatfoot with floatrow

I am using the floatrow package. I would like to define a separate width for both the caption above and the \floatfoot below the floats. I want the caption to span the entire width of the page, but ...
10
votes
3answers
6k views

Tabular with p type columns to fill page width

I wish to be able to have a table (using tabular) that fills the page horizontally with each column using a fraction of that space, for now assume that they are equally sized. I wish to be able to ...
9
votes
2answers
497 views

Average width of popular TeX fonts

I know I have seen a table of average font widths. I am not sure whether this was for popular LaTeX fonts such as Computer Modern and I can not remember where it was. Does anyone know of such a ...
1
vote
0answers
42 views

Table fixed width [duplicate]

Possible Duplicate: How to obtain width of longtable? I have many tables that I create with longtable or ltablex. How can I make all tables the same width?
5
votes
1answer
4k views

Columns width of array environment

I'm using the array environment and have something like this: \begin{array}{|c|c|} \hline \textbf{x} & \textbf{y} \\ \hline \hline t_1 & lon_1 \\ \hline \end{array} I ...
6
votes
1answer
792 views

How to move dark rectangle in headline of PaloAlto theme after changing the sidebar width?

I'm currently using the beamer PaloAlto theme with a headline and sidebar on each slide. I used the command \setbeamersize{sidebar width left=1.7cm} to fit the table of contents in the sidebar. The ...
4
votes
1answer
740 views

How to put auto width to floatingfigure?

I'm trying to wrap an generated graphic with text. But I cannot find what I have to put instead of 6cm in \begin{floatingfigure}[l]{6cm} to let LaTeX designate correct width like it does with height. ...
2
votes
1answer
504 views

Problem with colortbl and supertable, color width of the row with leading “@{}”

I have a problem with colortbl \rowcolor that insists on making the color width of the rows longer than the actual row width. Snippet of the code: \documentclass[a5paper, 10pt, twoside]{article} ...
5
votes
1answer
367 views

Shrinking text in a node, such that the minimum width and minimum height are the actual width and height of the node

I want to shrink the text in a node such that the minimum height and width are the actual width and height of the node. I found this Shrinking text to the width of a node within a tikzpicture, but I ...
3
votes
1answer
498 views

pgfdeclareshape fillable background path with invisible parts

I want to make a new shape from rectangle, which has only its top and bottom line drawn, but which can be filled. The answer, thank's to Andrew Stacy and percusse look by now as follows: ...
3
votes
2answers
463 views

Measuring the width of a verbatiminput block

Is there any way of measuring the width of a VerbatimInput block? In other words, I would like something along the following lines, except that the verbatim data should be taken from an external file ...
5
votes
1answer
385 views

Modify width of main text block in tufte-handout

Is it possible to increase the size of the main text in the tufte-handout class to 80% of the paper width?
7
votes
3answers
8k views

matrices too big to fit the width of a page

When I type matrices in beamer class, they are often too big to fit the width of a page. What is the way to make the matrices smaller? I also want to make the font of the entries of these matrices ...
4
votes
6answers
3k views

How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?)

If I have a document like this: \documentclass[landscape, 12pt]{report} \usepackage[landscape]{geometry} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath, amssymb, ...
6
votes
3answers
191 views

How to conditionally control the width of a figure with minimal code duplication?

I am using \iftoggle to switch between a for-review (doublespaced, onecolumn) and photo-ready (singlespaced, twocolumn) layout. I want to change the width of figures to be optimal for both, depending ...
6
votes
4answers
2k views

Set width of text in list

I am attempting to produce a list that has a width of (say) 5cm, as opposed to going to the far right of the page. Any advice is appreciated.
5
votes
3answers
1k views

Table exceeds page

I'm new to tex and got a problem with a table that exceeds the page, because the content is too wide. I'd expect the table to wrap the text into a new line / new lines, if the text is too long for the ...
4
votes
2answers
441 views

How to measure the width of a longtable dynamically and use this width in footer?

I'm having trouble computing the width of a longtable and using it later in the table. This site offers several suggestions and I have implemented one of them. However, because of scope, or because ...
7
votes
1answer
6k views

Two-column list: different column widths

I wish to create a two-column list. One side of the list will contain relatively short items (1-2 short words) and the other side will have longer items (4-5 short-to-long words). For example: 1. ...
0
votes
1answer
487 views

Persistent change of caption width in memoir

How do you persistently change caption width in memoir? I know you can use \changecaptionwidth followed by a \captionwidth{...}, but that only works within a float and I don't want to have to specify ...
2
votes
1answer
864 views

Center subfloat above extended subcaption in subfig package

In the subfig package, the command \captionsetup[subfigure]{width=<length>} extends the width of a subcaption. Now how can the subfloats be centered above their enlarged subcaptions? The ...