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

learn more… | top users | synonyms

1
vote
1answer
36 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
26 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
32 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
54 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} ...
2
votes
1answer
30 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
33 views

Footnote - larger than textwidth

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
37 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
27 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
70 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
43 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} ...
6
votes
2answers
105 views

How to restrict width of tcolorbox according to the length of the text it contains

I have created a tcolorbox (as given in tcolorbox version 3.40 manual - page 155) LaTeX Code: \tcbset{ enhanced, colback=red!5!white, boxrule=0.1pt, ...
2
votes
1answer
35 views

bound width of a single lstlisting to one column inside a two column IEEE template

I use IEEE double column template and inside it I add a C++ code. I expect the code to be bounded within a single column however it infringes to the next column. How to fix this code? I would avoid ...
1
vote
1answer
26 views

Increasing table width and centering word within column using longtable package

Problems: Increasing table width to 100% Centering table header word (i.e. criteria) Repeating table captions on every page Questions: How do I increase table width to 100%? How do I center the ...
1
vote
2answers
81 views

Make table 100 percent in width and add solid vertical divider

Problem: Making the table 100% in width and adding vertical lines only for letters A-K. Minimal working example (MWE): \begin{table}[htp] \centering \footnotesize\setlength{\tabcolsep}{2.5pt} ...
1
vote
1answer
46 views

specified column width

I'm using the following code for the table. Currently it is set up so that I can change the width of all column (except the first one) to the same width. Can someone help me tweet it so that I can ...
0
votes
0answers
24 views

width of table cell

I'm playing with a class file and the exact positioning of the text by using the textpos package depends on the exact width of a table cell. Is there a way to obtain this width, say by using ...
0
votes
0answers
36 views

How to let Multirow cooperate with Tabulary's “auto wrap”?

I have been using Tabulary's capability to auto wrap things. But I cannot find a way for Multirow to cooperate with it. Basically, in Tabulary I use \begin{tabulary}{\linewidth}{|L|L|L|L|L|r|} so ...
1
vote
0answers
64 views

Align fixed-width columns to the decimal point

I define a new column type for a fixed width column with centre aligned text as follows: \newcolumntype{d}[2]{>{{\rightdots{#1}}r<{\rightdots}\let\newline\\\arraybackslash\hspace{0pt}}m{#2}} ...
4
votes
1answer
58 views

Beamer - Wide Example Box

I am using this code to get an untitled example block. \begin{exampleblock}{} \end{exampleblock} As we know, this box has a width equal to the text width. How can I modify the code to get a box ...
1
vote
1answer
39 views

Cannot make \arraybackslash work after defining custom columns

I use: \usepackage{array} \newcolumntype{fwLa}[1]{>\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}} ...
0
votes
0answers
24 views

how to resize the width of subcaption

I have two pictures and I'm using \usepackage{subcaption} to place them beside each other. The output might look like the following . The problem in the above picture is that it is difficult to ...
1
vote
0answers
50 views

How do I uniformly change bar thickness, box width and add error bars?

I need help with a few adjustments on this group plot. I managed to solved my previous problem but now I´m searching for a needle in a haystack. 1. How do I make the bars thinner so they may fit ...
0
votes
1answer
34 views

Why is tikz getting a different \linewidth or drawing a different rectangle inside a minipage under the same conditions?

Question I have a signature macro that determines whether to include a signature for a final production or whether to put in a red unsigned box (for pre-production copies). For some unknown reason, ...
5
votes
5answers
248 views

Boxes automatically sized to reach end of line?

I'm setting up a little test, which includes empty boxes for students to write their answers. The boxes start at different places on the page, but I'd like - for neatness - each box to reach to the ...
1
vote
2answers
70 views

How to deal with very long formulas

I have a very long formula that does not fit in the page. What should I do? Here is the code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} ...
0
votes
1answer
49 views

tabu how to specify individual absolute column width and row height?

I am trying to generate a table that requires different row widths. The first column should have as little width as possible (just to print single digit 1,2,3 upto 9), whereas column 3 (where I have ...
2
votes
1answer
92 views

Customize tabular with tikz: extract width of a column

Currently I use this custom type of tabular (with packages tikz, booktabs, etoolbox): \def\head#1\\{\shead#1&\\} \def\shead#1&#2\\{\color{white}#1\ifstrempty{#2}{\\}{&\shead#2\\}} ...
5
votes
1answer
133 views

Fully Customized Table in Latex

Is it possible to have a customized table in LaTeX that has the following features? Be able to define Width and/or Height for specific row/column Be able to highlight/color a specific row or column ...
4
votes
1answer
122 views

Optimizing width of table (tabulary)

I'm trying to fit this table to the width of the page, however, whenever I try to change the header width with the command {p{}} it doesn't adjust the width of the three main headers Population, ...
4
votes
1answer
76 views

Adjust text within table using Tabulary

Problem: After looking into already existing threads about Tabulary, I could not find out what was wrong with the following code. The text does not adjust within the table. Code: ...
4
votes
3answers
214 views

Problem with the width of a table

I used the following code to generate a table, but I have faced the problem that clarifies in the attached picture. Any solutions? \documentclass[11pt,journal,compsoc]{IEEEtran} ...
2
votes
1answer
73 views

Too wide line spacing?

Following the likelihood function \begin{equation} \prod_{i=1}^n E \lbrace B_{k_{i_1}} (x_{i_1}) B_{k_{i_2}} (x_{i_2}) \rbrace E [ A^2 \lambda_1^* (x_{i_1}) \lambda_2^*(x_{i_2}) \exp ...
2
votes
1answer
128 views

Set minipage width to the available space

I am trying to fit 2 minipages next to each other, and I would like one to take 20% of the \textwidth, and the other one the rest of the space available, with a margin between both minipages that I ...
5
votes
3answers
189 views

How to make a fixed height-width box with custom padding

I am new to latex, I am trying to include output of TI84 calculator in my document. It is supposed to look like this: Following is what I am able to make. My output's height and width arrange ...
0
votes
0answers
30 views

Package colortbl problem: wrong width of the colored row with ''@{}'' in column spec list

The MWE: \documentclass{article} \usepackage{xcolor} \usepackage{colortbl} \begin{document} \setlength{\tabcolsep}{0pt} \begin{tabular}{|c|c|@{}p{0pt}@{}} \hline \rowcolor{cyan!70!black} Dummy ...
10
votes
3answers
244 views

How can I make an algorithm environment wider than \linewidth or \textwidth?

I have already tried two things: \makebox[1.2\textwidth][c]{...} which did not work (perhaps missing \item). \redefinegeometry does not work well in this case beacause it’s not on a single page. MWE: ...
1
vote
1answer
36 views

Decreasing font size increases border width

(hopefully) no duplicate of Number of pages decreases when font size increases, because the font size is one of the defaults. In an attempt to fit more text on a page, I decreased the font size, only ...
1
vote
1answer
243 views

Make longtable automatically fit page (line width)

I have a longtable in landscape mode that is automatically split on multiple pages when there are too many rows. I have solved the length problem. Now I have a problem with width, the rows are going ...
2
votes
2answers
51 views

How can I broaden a caption?

I’m trying to extend a caption beyond \textwidth. I tried it with \makebox, however, that resuls in an error: \documentclass{article} ...
1
vote
1answer
45 views

Latex longtable coulumn width [closed]

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
39 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
87 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
313 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
2answers
107 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
1answer
124 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
177 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
101 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
68 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
68 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
687 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. ...