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

learn more… | top users | synonyms

0
votes
2answers
37 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
65 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
35 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 ...
1
vote
1answer
13 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
51 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
69 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
33 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 ...
2
votes
1answer
17 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, ...
2
votes
1answer
44 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} ...
1
vote
0answers
22 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
48 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
29 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
46 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
46 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
44 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
62 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
38 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
53 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
42 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
35 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
81 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
49 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
176 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
60 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
34 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
89 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
59 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
26 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
55 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
79 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
66 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
56 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
30 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
62 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
35 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
255 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
71 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
64 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
99 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
154 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
137 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
80 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
220 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
81 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
171 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
200 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
31 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
326 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
37 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
294 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 ...