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

learn more… | top users | synonyms

4
votes
1answer
140 views

Modify the \textwidth of all subsubsections compatible with adjustbox

I have a very simple document which is a succession of tables within subsubsections of the document. \usepackage{geometry} \geometry{verbose,landscape,a4paper,lmargin=1cm,rmargin=1cm} This is my ...
7
votes
2answers
238 views

Why is my tabular wider than the sum of its columns’ widths?

It's simple to create the tabular with columns of fix width, e.g. \begin{tabular}{|p{95mm}|p{95mm}|} \hline a & b \\ \hline b & b \\ \hline c & b \\ \hline \end{tabular} However, the ...
9
votes
1answer
337 views

Determine width of verbatim characters

I would like to determine how many characters of the verbatim font that fits on a text line. Consider: \documentclass{article} \usepackage{fancyvrb} \begin{document} \noindent\hrulefill ...
3
votes
1answer
296 views

LyX: Removing indentation from a table

I want to make a table that has terms on the left side with .25\textwidth and descriptions on the right side with .75\textwidth Like Name: asdjoia Position: ...
2
votes
1answer
1k views

LaTeX prevent oversized table from getting cut off

I have a LaTeX file with a very wide table with many many columns. When I compile this and convert to pdf, the right part of the table is cut off because it is too big to fit on a page. Is there a ...
3
votes
1answer
220 views

How can I make the document as wide as possible in LaTeX

I am new to LaTeX and don't know much about it. I am generating PDF from the LaTeX source files. My column are very wide and I want that PDF should expand to fit the data. Does not matter how long ...
6
votes
1answer
4k views

pgfplots: changing line axis and plotting lines width

I have some problems with the width of the lines in my graph. When I try to change the width of the plot lines, straight lines remain in the default width whereas the non-straight lines are shown in ...
6
votes
3answers
4k views

Set longtable to fit the page-width

I would like to set a longtable to fit correctly the page-witdh. From now, I've this situation: and the related tex code is: \usepackage{array} \usepackage{multirow} \usepackage{longtable} ...
4
votes
2answers
555 views

Adjusting the width of the matrix

I am typing a matrix in a document class but its size is too large to fit on the width the page. I have also used TeX code \tiny but it is making font of matrix entries too small. I am not able to ...
4
votes
1answer
272 views

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here?

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabulary} ...
1
vote
1answer
2k views

Left Align with Column Width {p{cm}} [duplicate]

I am trying to create a table something like: Idioms Definition A dime Anything that is common, inexpensive, a dozen and easy to get or available any ...
6
votes
1answer
25k views

LaTeX split long table in multiple pages and resize the width

I am trying to find a way to fix the width of my table to the margin of a portrait page (not landscape) while continuing the table in another page since it is very long. I can adjust the width by ...
4
votes
1answer
82 views

Tabu: factors of cell width

When I use factors of a variable in tabu's cell description, the result is not what I intended. For example in the following code, the middle cell is not half the width of the others. ...
4
votes
1answer
351 views

Figure width problem

I have a problem in a figure which i draw, the figure doesn't fit in one column of two column paper as shown in the fig below, any help? \begin{figure}{H} \centering \begin{tikzpicture}[ ...
1
vote
2answers
6k views

fit table on page width

I am having problems trying to fit a table on page width. Here is a part of my code. \begin{landscape} \begin{table}[H] \scriptsize \setkeys{Gin}{keepaspectratio} ...
6
votes
2answers
2k views

Table width equal line width

I generated this table but it's width exceeds the line width as i am working in two column paper And i need it to fit only in one column, Any help ? \begin{table}[t] \centering ...
4
votes
2answers
134 views

How to set the width of \cancel

I have 2 TikZ nodes with fixed text width: \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{cancel} \begin{document} \begin{tikzpicture} \node[text width = 3cm] ...
2
votes
2answers
744 views

(Framed) Boxes are too long / Textwidth doesn't work

I want to create a box/frame (in math mode) with its content centered horizontally and vertically such that I can adjust the height of the box and such the width of the box automatically (!) is the ...
1
vote
3answers
502 views

Change linewidth for the whole document, while keeping fancyhdr wide?

Somebody noticed that \abstract changes the linewidth for the whole document (here). The problem was the syntax: with correct syntax as below this is avoided. \begin{abstract} This is an abstract. ...
5
votes
1answer
424 views

How can I express \begin{minipage}{\linewidth-2ex}?

I am working on a poster template with a not so easy to reproduce style with nested blocks. To that end, I have to create a minipage whose width depends on \linewidth minus some fixed value. In a ...
1
vote
1answer
49 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.
4
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
1k 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
188 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
324 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
6k 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
255 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
1k 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
378 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
1k 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
499 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
252 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 ...
9
votes
1answer
9k 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
800 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
692 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
174 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
2k 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
593 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
557 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
1k 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
148 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
97 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
227 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
1k 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 ...