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

learn more… | top users | synonyms

2
votes
1answer
33 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
54 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
77 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
40 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
50 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
77 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} ...
5
votes
2answers
46 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
47 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
23 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
52 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
49 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
37 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
82 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
85 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
57 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
111 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
88 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
80 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
21 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
69 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
55 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
81 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
44 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
65 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
69 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
64 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
38 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
96 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".
7
votes
3answers
302 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
160 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
68 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
50 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
83 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
88 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
54 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
54 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
155 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
99 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 ...
7
votes
2answers
98 views

How to achieve same table width with different column numbers

I have to print several tables with distinct number of columns. I'm using lingtable because sometimes these tables contains over 300 rows each. Here's the problem. Even defining a fixed width in cm, ...
4
votes
2answers
113 views

How to fit the width of a tcolorbox to a long title (single line)?

Using "clip title=false" enables a tcolorbox long title to sit on a single line. However, the width of the tcolorbox itself remains fitted to the content. How can the tcolorbox width be fitted to the ...
3
votes
1answer
47 views

How can I get a slimmer \textbar?

I use \textbar in my headers in order to separate the page number from the section. \thepage\hspace{0.5ex}\textbar\hspace{1ex}\thesection\sectiontitle But I want to slim the thickness of the ...
1
vote
0answers
22 views

Wrong width in pstool

I try to set up a report with the assistance of matlabfrag and pstool. I have an issue to define the correct width of such an diagram. Especially in combination with includegraphics, the problem ...
5
votes
2answers
238 views

How to calculate the width for placing 2 big images side by side?

I'm trying to put 2 images in a row with this code, and runs well, but... don't adapt the size of the last 2 images in a row. \documentclass[12pt,a4paper]{article} \usepackage{graphicx} ...
4
votes
2answers
119 views

Can I change the overall width of the invoice package's table?

I'm using \usepackage{invoice}, and I'm wondering if I can adjust the width of the table? \documentclass{article} \usepackage{invoice} \date{September 1994} \begin{document} \begin{invoice}{USD}{0} ...
4
votes
1answer
80 views

Shouldn't this table span the whole page width?

I have this table definition as part of a invoice \begin{tabularx}{\textwidth}[ht]{lXrr}% It worked fine for years until I have a very short word in the X column for the first time. Now my table is ...
5
votes
1answer
88 views

Stretching an \fbox horizontally to fit the page

I have a frame box next to some text (Komentar:), and I would like to stretch it so it fills up the page. I've done this using the calc package by subtracting \widthof{Komentar: } from \hsize (or ...
4
votes
3answers
117 views

Set default width of \shadowbox to line, not column, width

When I insert a shadowbox using Lyx (Insert>Box>Drop Shadow) the width is specified as 100% of column width (1\columnwidth). This is the source code it generates: ...
5
votes
1answer
228 views

tikz: how to define a flowchart (hexagon) loop shape that keep its width fixed but adapts its height to the text inside it?

I am using following (hexagon) loop definition I found in Stackexchange in my flowchart. When the number of text lines in it increases, the width of the whole shape also increases. I want the width of ...