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

learn more… | top users | synonyms

1
vote
1answer
23 views

Latex longtable coulumn width [on hold]

I have started learning Latex and writing my thesis. I want to typeset a long table. \begin{centering} \begin{longtable}{p{3.5cm}p{10cm}} ...
2
votes
1answer
16 views

Centered columns with fixed width using tabularx

How do I center the last seven columns in the attached text without dropping the fixed table width or the fixed column width? \documentclass[a4paper,12pt,oneside]{article} ...
2
votes
1answer
43 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: ...
2
votes
2answers
88 views

Make a column of a table take up all remaining width without other columns wrapping to the next line

I want to make a table with 3 columns. The table will fit the width of the container. The left column will be right aligned and take up as little width space as possible. The center column will be ...
1
vote
1answer
58 views

Table Column Width Error

I'm trying to produce a table in LaTeX and I almost succeed. The table is this one: My question is: why the fourth column of "Gennaio", "Febbraio" and "Maggio" isn't as the same width as the rest? ...
0
votes
0answers
22 views

Expand table columns proportionally to textwidth

I have a simple table: \begin{table}[h] \begin{tabular}{|l|l|l|l|l|} \hline First entry & 2nd & 3rd little longer & Forth & Fifth\\ \hline\hline 4.7\% & 11.7\% & 2.5\% ...
4
votes
4answers
131 views

Make uppercase letter have same width as number in math mode?

I want to have \[ \begin{array}{c} \phantom{+} \, 39A_{12} \\ \underline{+ \, 488_{12}} \\ \phantom{+} \, 866_{12} \end{array} \] but the spacing looks awkward with the "A". Is there a way to get ...
7
votes
1answer
84 views

How can I make the width of the caption match that of the listing?

How can I fix the captions width to match the listing? As in the picture below: Code is here: \documentclass{article} \usepackage{xcolor} \usepackage{listings} ...
2
votes
1answer
43 views

Adaptative column width

I am currently automating a report generation and I am now trying to obtain a consistent look on my arrays. I am currently working on a part where the pages need to be set in landscape mode, so I am ...
3
votes
1answer
59 views

Why the background of a pgf fitting node with minimum width equal to another (backgrounded) fitting node's width is shifted?

I have two pgf fitting nodes: one below the other, left aligned, with different (unpredictable) widths, and I'd like them be backgrounded, with backgrounds of the same width. For this, I got help ...
1
vote
3answers
97 views

How to specify the multicolumn width in table header? [closed]

I want to read/input the body of a table from a separate file. I have mostly solved this problem using this question. But when I try to read a table with multicolumn from a separate file, it failed. ...
2
votes
1answer
53 views

Set column width to point

I currently have a tabularx table with four columns. I initialize the environment like this: \begin{tabularx}{\linewidth}{l p{0.4\linewidth} | l X l X} How could I change this so that the second ...
4
votes
1answer
70 views

Tabularx: columns with different widths

My code can be found below. \documentclass[fleqn,10pt]{SelfArx} % Document font size and equations flushed left \usepackage[font=small]{caption} % New commands ...
2
votes
1answer
104 views

Lilypond generated with MuseScore does not fit the width of the page in XeTeX doc

I am using MuseScore 1.3 on Ubuntu 14.04 to write my scores. Then I save them as LilyPond files, and include them in my tex document using \lilypondfile, like this: \documentclass[a4paper]{article} ...
1
vote
2answers
19 views

How can i change a table column's size and its text justification at the same time in Latex?

I am a newbie in Latex but I know that this command {|>{\small} l | p{2.8cm} | p{2.93cm} | p{2.85 cm} | p{2.58 cm} | } will change first column justification to left and set the size for other ...
5
votes
2answers
63 views

Width of the caption of a figure

I am having trouble making the caption beneath a figure to be of same width of the figure (less than the width of the paragraphs in the same page). How can I force the caption width to be the same as ...
1
vote
1answer
50 views

column width for text without space

how is it possible to control the column width in a table having a very long text without space. \begin{table} \begin{tabular}{l p{2cm}} datapath & ...
0
votes
0answers
44 views

Can someone help me please? it is about width of the table [duplicate]

My table is too wide and too long to fit one page. i want to seperate it to 2 pages. i used longtable package to seperate it two pages bu i cant fix the wideness. her is my table code, (it look a ...
1
vote
1answer
26 views

Solid heading for onecolumn and twocolumn document

I need advice on creating a consistent solid heading style for a document that has both one column and two column pages. In one column mode, the heading should fill the entire page, but in two column ...
2
votes
2answers
68 views

fine-tuning of makebox width

I'm writing a slideshow with beamer, with various slides containing trees (in the graph-theoretic sense). The talk I'm going to be using this slideshow for discusses how changing the label of a ...
1
vote
1answer
51 views

Longtable new column widths on each page

Let's assume that I have a longtable of two pages. On the first page there are only short cells but on the second page there are some longer ones. Here's an example: \begin{longtable}{|l|l|l|l|} ...
3
votes
1answer
40 views

How to set the same width for number in enumerate

I have this code, to make a blue ball with white numbers inside, but the numbers have different width and I want to make them even, all with the same width, the largest want. \usepackage{wboiboites} ...
2
votes
2answers
91 views

sidebar logo width

I would like to place the institution logo at the bottom of the sidebar as wide as the whole sidebar. I was wondering if there is a command that return the width of the sidebar, somthing similar to ...
4
votes
2answers
94 views

Tabular cells with exact same width and multicolumn

I tried to design a table with some very specific preferences: The table should span across the whole width Each cell can have a different alignment Each cell has exactly the same width Some cells ...
2
votes
1answer
86 views

Available width inside algorithm2e

I wanted to use an environment inside an algorithm2e and it turned out, that it is too wide. I tried to draw some boxes to see the width, and it turned out that \textwidth is too large inside the ...
4
votes
2answers
166 views

Error when specifying width of column in table

\documentclass{beamer} \begin{document} \begin{frame} \begin{table} \begin{tabular}{c{15mm} | c | c | c | c} Television & Radio & Washer & Dryer & Computer \\ \end{tabular} ...
2
votes
1answer
93 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 ...
5
votes
2answers
96 views

Problem with subcaptions in subtables

I am trying to implement a table with several subtables, but working with subcaption does not work neither when I try tabularx. This subtables have different number of columns. with the following code ...
1
vote
1answer
26 views

Image does not crop

When I do the following: \includegraphics[width=1.0\textwidth]{image.jpg} The space where the image should be, is correctly scaled to the size of the scaled image, but the image itself doesn't ...
5
votes
1answer
80 views

Tabbing environment in tabular environment cancels set table width

I have a table with a tabbing environment in it. I don't want the table to exceed a certain width, but the tabbing environment seems to ignore this. So while inserting a lot of 'blas' in row 5 results ...
4
votes
2answers
77 views

How I can create a command that can be treated as a number?

I need to put a symbol over some text, I want to use \hspace{#1} where #1 is the width of the #1 text used. For example, write \mycommand{p}{b} and the result to be shown like the b over the p, just ...
1
vote
1answer
64 views

Table with width assignment

I am trying to create a matrix in texmaker when using the wizard-->quick tabular i get a table, but I want to have equal spacing between the columns , so at the option i choose fixed column width when ...
2
votes
1answer
97 views

tabu to textwidth yields a table wider than textwidth

I have a code for a table that should fit to textwidth, but for some reason it doesn't. Any ideas why? \documentclass {article} \usepackage [T2A] {fontenc} \usepackage [utf8] {inputenc} \usepackage ...
4
votes
1answer
54 views

Minimum width for beamer frame number

In certain beamer themes, the frame number is displayed as No./tot in the bottom right corner, following the date. Since the frame number is not constant in width, this makes the date “move” from ...
3
votes
3answers
75 views

Columns are not the same width in a table

I have the following code for a table, but I can't figure out why 2 columns are wider: \newcolumntype{C}{>{\centering\arraybackslash}p{2em}} \begin{table}[h] \centering ...
5
votes
1answer
83 views

How to obtain a fixed gap between columns in a table?

How can I center a column of a table which is raggedleft/raggedright at a specified position? Basically the length between W and X, X and Y and Y and Z should be the same, W should be raggedright, Z ...
3
votes
2answers
70 views

Problem with 'longtable' and the width of the table

I'm using the package longtable to define a table in two pages but it has too much width when I write long text in a cell that fills until the border of the page and doesn´t have room for all the ...
2
votes
0answers
40 views

How to calculate exactly the proper textwidth to get a pregiven wrapping?

I have a text written with 12pt letters. I would like to use 10pt letters with shorter textwidth but the same wrapping. How to calculate the width? It is possible to force LaTeX to do the same ...
4
votes
2answers
108 views

How to set fit height and width for tcbox according to the text inside?

I want to place a word into a \tcbox, but the box has too much space around the word. For example, the word "EQUAL".
2
votes
2answers
165 views

Display a breve over several letters

I'm writting with a very dumb question, buy I haven't been able to find anything regarding this topic, nor think of a more general topic to look into. I'm trying to have a \breve which scales ...
7
votes
3answers
363 views

Make box with minimum width (in math mode)

How can I give a box a minimal width, in math mode? That is, I would like a command something like \minwidth{exp}{width}, which will always typeset exp, but additionally, if the natural length of exp ...
3
votes
2answers
166 views

How can I improve the look of my table? (no white space, nice font size, and not going off the end of page)

I just want a nice plot but I try different things and sometimes it goes of the page, or there is white space (like now). I would like adequate spacing between lines and varying font heights. Here ...
1
vote
1answer
85 views

Set linewidth of listings inside animation?

How can I set the linewidth of a listings if this is inside animateinline? So far it seems that this setting is ignored in this situation. But it works outside the animate. This seems to be another ...
2
votes
1answer
55 views

Table width with ctable

i'm having a problem with the width of a table in my thesis. Its my first document with Latex. I have two tables. First table: \ctable[ caption = {Comparison between $K_D$ values in \citet{SPM_1977} ...
0
votes
1answer
91 views

Table with different widths and rows

I am using the following code to write the table \documentclass[11pt, fullscreen=true, bookmarks=false]{beamer} \usepackage[utf8x]{inputenc} %\usepackage[T2A]{fontenc} ...
4
votes
2answers
97 views

How to measure the width of items in itemize environment?

I want the output of the code below to be like this image. How to do this? Please keep in mind that the width of [Foo Bar Foo]'s is variable. So it should be calculated automatically. ...
1
vote
1answer
67 views

How many pixels, inches or centi meters is a linewidth in a two columned article?

I'm writing an article. The article consists of two columns and is created using: \documentclass[10pt, aps, prb, twocolumn]{revtex4-1} How long is a 1.\linewidth in pixels, inches or centi meters?
2
votes
1answer
61 views

\widthof text in a def'd subroutine inside a tikzpicture? [duplicate]

I have already seen \widthof within tikzpicture, but this is slightly different. I have a rather complex Tikz image, which I'd like to eventually include in a Latex document; as such, I'd like this ...
5
votes
2answers
162 views

In a table: Problem equalling the width of only three columns

I am writing a thesis in a large .tex file in Vim. As I show in this image, the first, second and third column have different spacing (width): This is the code for the table: \begin{table}[h] ...
6
votes
2answers
108 views

Do I really have to specify the width of my wrapfigure twice?

I'm trying to add a figure to my document. Because I want text to wrap around it, I use the wrapfigure environment: \begin{wrapfigure}{r}{1cm} \begin{center} \includegraphics[width=1cm]{"My ...