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

learn more… | top users | synonyms

1
vote
0answers
49 views

Dynamic width table

I am generating Latex file which contains tables and now I am looking for best multi-page table enviroment. I found longtabu environment which looks good but I have a few problems with it. For ...
6
votes
1answer
76 views

Switching from one column to two columns on a frame

I am writing a presentation, and would like to use the following layout: On top, there is one big box spannign the whole page width, below, there are two boxes side by side. My problem is that the ...
0
votes
0answers
28 views

Column width not equal in table [duplicate]

I have the following problem. In a multi-column table, some of the columns are not equally width-sized with the rest ones. If someone could help, I would be grateful! Below my code: \...
1
vote
1answer
58 views

different column widths in a tabular [duplicate]

I would like that the width of the first column of an array to be 2cm and the second column to be 1cm. I have the following document but apparently the setting for the width of the second column is ...
1
vote
0answers
78 views

Linewidth of tabular with booktabs varies randomly

The Following MWE produces the output that I want to achieve: \documentclass[11pt, a4paper, twoside, %openright, toc=listof, BCOR=5mm, bibliography=totoc, parskip=half]{scrreprt} \usepackage{...
1
vote
2answers
43 views

How to create a -left and -right aligned table of a certain width?

I am trying to create a table that spans the width of the page, with two columns, aligned right-ragged and left-ragged respectively. However, this is proving weirdly difficult, as I cannot seem to get ...
4
votes
1answer
58 views

Change environment's width

I'm writing my homework and I would like to change the environment's dimensions of \documentclass[10pt,spanish]{article} % INICIO PAQUETES \usepackage{amsmath} \usepackage{graphicx} \usepackage[...
0
votes
1answer
224 views

Margin widths and positioning in “oneside” memoir document

In a "onesided" memoir-based document, two custom \newcommands use both the marginpar and the sidepar commands respectively. The marginpars go to the right side and the sidepars on the left side. Some ...
1
vote
1answer
163 views

Yet another table that won't fit on page

After about 3 hours of looking through related material and failing to find a solution, I've concluded that there isn't a pattern that can be followed to fit a generic table to a generic page. Every ...
2
votes
0answers
50 views

Creating a line that goes until the margin

I understand that I can use the command \underline{\textwdith}} to get a line that stretches from one side of the page to the other, but what if I want to have some text first and then have the line ...
1
vote
1answer
97 views

Extending side margins for Title section in IEEEtrans document class

How can one extend the side margins only for the title section of IEEEtrans (conference) document class? I need to have more words fitting in each line for the "title only". \documentclass[conference]...
10
votes
5answers
806 views

In LaTeX, make a box with the width of another text

I am looking for a command like \makebox{text to set width}[c]{new text} which would make a box with the width of text to set width containing ____new text____ centered.
0
votes
1answer
148 views

How to avoid text from overlapping adjacent columns using `longtable`

I need to use the same format (or pretty similar) at the start of the \begin{longtable}{...} and preferably the same \mylenght defined from the suggested fixes to my previous problem: First problem ...
0
votes
1answer
150 views

Longtabu still not able to shrink text to textwidth even after using X columns

My problem is very similar to this one: Longtabu not able to shrink text to textwidth where the table goes outside the page, even after I explicitly set the width to \textwidth. I also followed the ...
1
vote
1answer
43 views

Can't get table to correct width oder size

I'm aware that here lots of questions regarding table formatting, but I couldn't fight the fitting answer and meanwhile I think it is any global misconfiguration. My goal: fit table on page in ...
0
votes
1answer
45 views

Reducing the width of a prooftree without changing the font size

How can I change the width of the following prooftree without changing its font size? I would like to remove the big space between T1 and T5 \begin{prooftree} %T1 \AxiomC{$\langle {\tt y:=1}, ...
1
vote
1answer
139 views

Widening the width of blocks in beamer

Related to this question I would like to permanently widen the width of blocks in beamer. The effect should be that of block at the bottom of the picture, whereas the block at the top is the standard ...
3
votes
2answers
70 views

Tabu table is too wide though there is enough space to shrink

I'm trying to make this table to fit to \textwidth. The first column has column type X from tabu package which should make it work. But it does not. Adding the "to \textwidth" option dosen't have any ...
4
votes
1answer
535 views

Why is listings' frame width a little larger then \textwidth?

Here is the sample code: \documentclass[]{article} \usepackage{listings} \lstset{ basicstyle=\ttfamily\footnotesize, frame=single, % adds a frame around the code } \begin{document} \setlength{...
3
votes
1answer
112 views

Determine width of a milticolumn cell

I am attempting to draw a rectangle within a multicolumn, and would like it to span the width of the cell and be consistant with a similar rectangle drawn in a standard cell. I am struggling to ...
3
votes
1answer
381 views

longtable inside adjustbox

The following longtable (or longtabu) is too wide. Naive as I am, I have put the table into a adjustbox, but it does not compile. \documentclass{article} \usepackage{longtable} \usepackage{tabu} \...
2
votes
2answers
219 views

What's the problem with this code? Overfull \hbox

I want to create something like this in word by MathType 6.9 But I have MikTex 2.9 and texmaker installed on my computer. Just to try out the code and see what is wrong with that, I've created the ...
2
votes
1answer
79 views

Lyx / Knitr - R Code in chunck goes beyond set width

I use Lyx (2.1.4) with knitr (1.10.5). I have a lot of trouble having the code chunks respect the width that I tried setting through various ways: In the chunk options (width=50); options("width")=...
2
votes
1answer
105 views

pgfplots: How to adjust the width of the drawing area?

I want to produce plots that fit into the columns of a text document. My problem is that setting width=\linewidth seems to apply on the axis and labels only. When I put the legend outside it sticks ...
1
vote
1answer
111 views

Aligning three figures next to each other based on text width

Problem: I am trying to align three figures next to each other with text centered to each figure. This is going well until the box for the third box does not adjust after the text width. Minimal ...
12
votes
2answers
552 views

How to make underbrace label text wrap at brace width?

Is there a way to make underbrace label text automatically wrap at the underbraces width, preferably even with automatic syllabication? Example where brace label text exceeds underbrace width: $\...
5
votes
2answers
144 views

Changing width of table lines

We know that by adding \setlength\arrayrulewidth{xpt} changes the thickness of all the table lines. If I wanted to change specific table lines, how to do it? \documentclass[11pt]{article} \...
1
vote
1answer
369 views

Different column widths using multicol with pictures and text [closed]

Is it possible to specify different column widths in a multicol environment? For example, in a three column layout, can the left column be set to 0.16, the center column be set to 0.64 and the right ...
0
votes
2answers
114 views

Multicolumn table with different size

I have the following multicolumn table, but I would like to have these columns in different width. For example, columns "Cast name" should be wider that columns "percentage". Could someone kindly let ...
2
votes
3answers
192 views

Table exceeds text width

My table exceeds the text width... I have already tried lots of stuff (ex: tabularx, tabulary and others that I can't remember right now) to try to correct but none of them has solved my problem. I ...
2
votes
0answers
120 views

how to set sidebar color width

I encountered another problem. I am trying to set the hight of the header and the width of the sidebar. I am using: \makeatletter \setlength{\beamer@headheight}{1,2cm} \makeatother \newlength\...
1
vote
1answer
85 views

Multirow line width

I'm having an issue with this code \begin{table}[H] \begin{longtable}{| p{4cm} | p{2cm} | p{7cm} |} \hline \multicolumn{3}{| p{14cm} |}{\cellcolor{lightgray} \centering \textbf{Iniciar ...
2
votes
1answer
147 views

How to fit image inside box

I know that I can scale an image to text width with \textwidth, however, the template I am using requires a surrounding box and my image gets out of it. I am using: \begin{figure}[h!] \...
3
votes
2answers
229 views

Fix column width of table

I have two tables in this code: \documentclass[a4paper,11pt]{article} \begin{document} \title{} \author{} \date{\today} \maketitle \section{Header} \begin{table}[!htbp] \centering \footnotesize \...
1
vote
2answers
302 views

Aligned Equation Resizing? (Above or Below \textwidth)

My input: \begin{equation} \begin{aligned}[t] & \min\limits_{\bm{\Delta(P,Q),u}} & & \sum\limits_i u_i, \\ & \text{s.t.} & & (P_{min_k},Q_{min_k}) \leq (P_k,Q_k) \leq (P_{...
2
votes
1answer
156 views

Shrink equations in align to fit page width

I read several similar questions, but none was on align environment. Here is my example. \documentclass{article} \usepackage{amsfonts} \usepackage{amsmath} \begin{document} \noindent where $B(a, b)...
2
votes
1answer
147 views

tex4ht: How to create fixed width table columns

I used tex4ht. I need to create longtable with fixed width of column. However specified width is ignored. Example: \documentclass[9pt,oneside,a4paper,english,notitlepage]{book} \usepackage{...
1
vote
0answers
48 views

Insert table with fixed width

I want to insert a table into my article. The following code can work. \begin{table} \centering \caption{Table 1 Normal function table} \begin{tabular}{|c|c|c|c|} \hline & $x<0$ & $...
2
votes
1answer
217 views

Math Formula is too long exceeds column width

I have a formula below which is expected to be in an column. After compiled, it is too long and covers two column. How can I constrain it into only one column width? Thanks \begin{equation} f'(u,v) ...
1
vote
1answer
53 views

measure width of multi-line math code

I would like to measure the width of multi-line math code. My approach below does not always succeed. In the second example an additional line break is inserted: I believe that it has to do with the ...
1
vote
1answer
69 views

Automatic Table Widths

This is probably a really simple question, but I don't know what keywords this question might have so I have trouble with searching it over the net. Anyway below is a code I wrote for a table. \...
2
votes
1answer
427 views

Adjusting column size in Latex table

I am using the code below to get a simple table but I need to adjust the width of each column. \begin{table}[H] \centerline{ \begin{tabular}{|c|c|} \hline \textbf{Group} & \textbf{Count} \\ \...
2
votes
1answer
74 views

dynamic title size using titlesec

Is there a way to dynamically size titles as part of a \titleformat (from the titlesec package) definition? I'd like to scale titles of different lengths to be the same width (relative to \textwidth) ...
2
votes
1answer
306 views

Minipages wider than frame

In my document I have placed two mini pages side by side: \documentclass{scrartcl} \usepackage[demo]{graphicx} \usepackage{showframe} \begin{document} \fbox{\begin{minipage}[b][6cm][t]{0.6\textwidth}...
2
votes
1answer
119 views

Modify main slide dimensions-Beamer

I'mm making a Beamer Presentation and I would like to use as much space as possible for my slides, because I want the images that will be included to be as visible as possible. More specifically I ...
3
votes
1answer
402 views

Footnote - larger than textwidth [duplicate]

I am having some issues with \footnote{...} . I have defined the margins of my document and the textwidth. However, everytime I include a footnote it streches until the margins of the document thus ...
1
vote
1answer
374 views

Setting table-width exactly to linewidth

I'm trying to create a table with exactly the same width as the surronding text. I would expect that the command \resizebox{\linewidth}{!}{..table..} should do the job. However, the tables width is ...
0
votes
0answers
155 views

Longtabu not able to shrink text to textwidth

I have a really long table with papers, their authors and some other info about the paper. I use longtabu to make it a long table, and as some papers have a lot of authors I would like to make sure ...
1
vote
1answer
187 views

How to change the size of the right/main column in the koma-moderncvclassic?

I am using the koma-moderncvclassic package to re-create my CV. How can I manipulate the size of the right side column using so the column width matches the page layout respectively the width of the ...
2
votes
1answer
74 views

Set width of tabular column to the width of tabular numerals

Take the following code: \documentclass{article} \usepackage[oldstyle, tabular]{libertine} \usepackage{array} \newlength{\period} \settowidth{\period}{9999--9999} \begin{document} \begin{tabular}...