Questions tagged [width]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
7k views

Subfigure widths in two-column layout

I want both figures side by side in one column of a two-column LaTeX document, but the result is both the figures are one below another. \begin{figure}[H] \begin{subfigure}[b]{0.4\textwidth} \...
2
votes
2answers
1k views

Autofit table page width Sharelatex

I have a problem with a table that does not fit into the page but it goes out on the right, where is my mistake? \begin{table}[H] \begin{tabular}{|c|c|c|c|c|} \hline \textbf{Interviewee} & Name1 &...
0
votes
1answer
224 views

How to Fit a long Table in the column width?

\begin{longtable}{lcccccc >{\columncolor[HTML]{C0C0C0}}c |lcccccc|} \cline{1-7} \cline{9-15} \multicolumn{7}{|c|}{{\color[HTML]{333333} \textbf{Tests of Normality}}} & {\color[HTML]{333333} \...
1
vote
0answers
103 views

The colourful longtable and change of width of lines.

I have got one colourful longtable. I want to change width of lines in some rows. I mean \cline. I have found out the information but when I did it I got white gaps in my table. See the picture below. ...
0
votes
2answers
84 views

Variable width box that either stretches to remaining width or is capped off

Is it possible to construct a box whose maximum width is specified, but in situations where that width is wider than the remaining width in a line, then the box just uses whatever space is left? My ...
3
votes
2answers
459 views

Adjusting image width

I'm trying to insert three images, next to each other horizontally, across the width of a page. At the moment they are going on top of each other and not next to each other. \begin{figure}[H] \...
0
votes
0answers
14 views

Centre alignment of table columns when setting column width [duplicate]

I have a table as follows: \begin{table} [H] \centering \setstretch{1.00} \begin{tabular}{R{1.00cm}p{3.50cm}p{3.5cm}p{2.50cm}p{2.00cm}} % \begin{tabular}{rcccc} \toprule ...
0
votes
1answer
770 views

Specifying the length of \hline

$\left[\begin{matrix} u(\lambda)\\\hline v(\lambda) \\ \end{matrix}\right]$ $\left[\begin{array}{c} u(\lambda)\\\hline v(\lambda) \\ \end{array}\right]$ In the first code ...
1
vote
1answer
228 views

How to set the width of a message sequence chart (msc)

I want to draw a message sequence chart (msc) with latex. The problem is now that the message is too long to fit on the arrow, so how can I set the width of a message sequence chart? Below the lines ...
1
vote
2answers
268 views

Longtable too wide, vertically centering contents

I've read through some questions re: longtable and how to make it fit the width of the page but have been unsuccessful. In the example, the table fits the width of the page but goes outside of the ...
1
vote
0answers
58 views

URL link does not function when resizing a tabular object to textwidth [closed]

When I want to resize a table to textwidth, links to web pages and references are not functioning anymore (the hyperlink boxes are moved to another place) whereas I don't encounter this problem when I ...
6
votes
1answer
279 views

ConTeXt: Calculate Page Number as Percentage of Page Count

Background Looking to draw a horizontal "progress bar" along the bottom of each page. The first page should have no line above the page number (or very, very short) and the last page should have a ...
1
vote
1answer
57 views

How can I set the table width to be the width of the subpoint?

I have a table which can get aligned to the column width but the table is a part of the subpoint. By subpoint I mean (an itemize within an itemize or a point within a list of points), the width should ...
3
votes
3answers
214 views

Can we define a \newcommand that outputs text within a fixed width box?

I am creating a document which has a fairly standard structure. So I have created two commands that help me format it: \documentclass{article} \usepackage{xltxtra} \newcommand{\witem}[2]{{#1 #2}} \...
2
votes
1answer
649 views

How can I alter the text height and width on a text?

I need to fit a six page document into five pages and would like to increase the text height and perhaps the text width a bit. I used \textheight and \textwidth but to no avail. Can you help me ...
1
vote
1answer
122 views

`gather` Environment Does Not Work with `minipage`

I have been using minipage environment with displayed equation environments align* and gather*. The align* environment works fine with minipage but does not work well with varwidth. Code1: \...
1
vote
2answers
512 views

Table goes beyond column width and collides with text in the next column. How do I force it to compress its width?

I’m writing a document in LaTex with 2 columns where I want a table to ideally be of the same width as the column. I’m not that LaTex savvy so I used an online editor to create the code for my table, ...
7
votes
1answer
588 views

What unit of measurement is \widthof using

For various purposes I need to know the width of a given text. The easiest way to do this is to use the \widthof{} command from the calc package. Issue is that I can't understand what unit of ...
4
votes
2answers
1k views

Verbatim environment with specified width (in characters)

I'd like to specify the dimensions of a boxed verbatim environment by providing the width in characters (e.g. to fit terminal dimensions). Is that possible? A solution using fancyvrb would be ...
0
votes
1answer
822 views

EPS Figure going out of page even with width=\paperwidth

I am trying to import an eps image of a flow diagram I created using Excel and exported as eps image using OpenOffice Impress. I followed the guide https://youtu.be/I4ZXTieTiAc to do this. I want to ...
3
votes
1answer
414 views

Line width of plotted data in \tikz \datavisualization

Does anybody know how to set line-width of plotted data using command data[]{} in the command \tikz \datavisualization?
1
vote
1answer
208 views

Reledmac Footnote configuration

Dear Fellow \LaTex{}nocrats, Thank you very much for helping so much with getting my thesis set up. Using the following code for Reledmac below, I am trying to achieve (add the following): a) ...
1
vote
1answer
2k views

Prevent LaTeXiT from cropping large Tables [duplicate]

I have a question specific to LaTeXiT 2.8.1 (pierre chachatelier, www.chachatelier.fr): When I use LaTeXiT to compile (use in text or align mode; this is a minimal working example since LaTexiT adds ...
1
vote
1answer
201 views

how to adjust the width of a node with variable text

I would like to create an environment for my definitions or properties, like that: \noindent \begin{tikzpicture} \matrix [anchor=west,inner xsep=0pt] at (0,0) { \node [text width=4cm,...
0
votes
1answer
359 views

How to create a 'headline' theme in beamer which occupies only a portion of the sidebar?

The headline in beamer which spans the width of the top or height of the side in most examples I have seen displays the section/subsection/subsubsection labels. Can I produce a header/headline which ...
7
votes
2answers
8k views

Adjust width of algorithm float

I am writing a code using the algorithm package. However, I would like to put smaller edges. I used the minipage, boxes and did not work. Could someone give me a suggestion? I have this \...
4
votes
1answer
82 views

“Nestable” description environment that automatically finds the widest label width at each level?

I'm excited to have found a way to adjust the label width for a description list automatically according to the widest label (from Gonzalo Medina's answer to this question). Here's the code Gonzalo ...
1
vote
0answers
94 views

Controlling length of longtable with chemnum schemes in it [closed]

I have been struggling with this for quite a while and I could not find any solution to it. I would like to draw a longtable with seven columns. The first row shows an overview scheme (eps file). Rows ...
3
votes
2answers
140 views

\midrule of last footnote in longtable is not spanning over all columns

I'm including a longtable with LTXtable and the last rule is not spanning over all columns. Instead, it has about 60% width and centers. I get the following warning: Package longtable Warning: ...
2
votes
4answers
812 views

Using siunitx, fixed column width with array

I want to have a table with width of \textwidth so i built a table like this: \documentclass[11pt]{article} \usepackage{booktabs} % Tabellenlinien \usepackage{colortbl} % farbige ...
2
votes
1answer
256 views

text dimension in beamer

I can't understand how to dimension minipages or columns in a beamer frame. Creating a single column with width \textwidth or \linewidth (or 2 columns with width 0.5 \textwidth or 0.5\linewidth) ...
1
vote
1answer
230 views

Roman Numerals in ToC : Error in \settowidth

I have a document in which I was trying to replace the arabic numerals of the chapters by Roman Numerals in the TOC. i.e Instead of Chapter 1 First chapter Chapter 2 Second Chapter I wanted ...
1
vote
2answers
620 views

How can I resize a table to a page (\textwidth) but also that takes multiples pages if needed?

My problem is that I have resized the scale for keeping the text on the text width, but then it overlaps the page number: My code: \begin{table}[H] \centering \caption{Table} \resizebox{...
1
vote
2answers
594 views

table width - excel2latex

I converted a table from excel to latex. My question is, how can I fit the width of the table so that it is nicely align to the margin of the A4 and, depending on the table length, A3? I tried using ...
5
votes
1answer
465 views

Pagewidth table in two-column paper

I woud like to make a table almost like the one in the image but I don't know how to do it. It has to be a pagewidth table in a two-column document. I've tried with tabulary, tabularx and tabular*, ...
0
votes
1answer
430 views

tabular* makecell + \textwidth to have line breaks and span

I would like to have a table span the text but allow for line breaks (using makecell). The table spans (because the lines go to the end), but the text is not spread out correctly (i.e. as I would like)...
1
vote
1answer
806 views

URL reference width continues after margin [duplicate]

does anyone has this problem or can solve it, please? I added the references through Mendeley application desktop. Everything is fine except the URL width size. If it is too big it continues across ...
4
votes
3answers
841 views

Text caption constricted to table width

I would like to have my caption text not constricted to the table width, although my doubt is if is it better to have the caption text constricted or not. %!TEX TS-program = xelatex %!TEX encoding = ...
1
vote
0answers
1k views

geometry - adjust textwidth to new margins

\documentclass[11pt]{article} \usepackage[a4paper, portrait, margin=1in]{geometry} \usepackage{adjustbox} \usepackage{tabularx} \usepackage{booktabs,csvsimple} \usepackage{pdflscape} [...] \begin{...
0
votes
1answer
2k views

How do I change the width of the table to the text width in Latex?

I made a table, but the table does not fit on the page. The code for the table is: \begin{table}[H] \centering \label{my-label} \begin{tabular}{|l|c|c|c|c|c|} \...
2
votes
1answer
11k views

How to take figure width=\linewidth OR height=\pageheight?

I want to include figures such that either width or height is used to adjust the document on the page. There are about 5\% of images where the height is dominating such that width=\linewidth causes ...
1
vote
1answer
319 views

Tabular real column width

I'm trying to put a table in the header of a document. In this document, width of the header is larger than the text body. The header needs to be exactly 183 mm wide and, in it, there is a table 183 ...
2
votes
0answers
1k views

Illegal Unit of Measure (pt inserted) [closed]

I am trying to insert an image into my poster in the top of my fourth column. I have not had any issues with errors until I actually use \insertgraphics. I made sure my image is a jpeg: here is my ...
1
vote
1answer
84 views

Increasing the width of a block of text in the book class

The following code gives example pages from a style of book. \documentclass[a4paper]{book} \setlength\headheight{0cm} \usepackage{xcolor} \colorlet{headbgcolor}{green!50!blue!70} ...
4
votes
3answers
4k views

array: set width for certain columns

I have an array (in math mode) for which I want the first column a little bit wider than the rest, and the rest should be of a consistent width. If I just write \begin{array}{c|ccc} 10000 & 1 &...
-1
votes
1answer
412 views

Scale Proof Tree with ebproof

Im using ebproof for proof trees and want to know if there is some way to scale the size of the trees. Something like this post, but for ebproof package. If that is not possible, maybe some way to ...
1
vote
0answers
210 views

Arrow thickness not changing when using line styles extension in xypic

I'm trying to make some of my arrows thicker in Latex with xypic. In the following example that I designed using http://texdoc.net/texmf-dist/doc/generic/xypic/xyrefer.pdf, the second arrow should be ...
1
vote
1answer
206 views

refart with Fancyhdr - header width

When I create the header with fancyhdr the seperation line between the header and the body is only same wide as text bodys. When a new part starts, this looks quite strange as the part seperation ...
1
vote
2answers
11k views

tabularx with different column widths

\documentclass{article} \usepackage{tabularx} \usepackage{lscape} \newcolumntype{b}{X} \newcolumntype{s}{>{\hsize=.2\hsize}X} \newcolumntype{m}{>{\hsize=.4\hsize}X} \begin{document} \begin{...
2
votes
2answers
709 views

Change column size to fit text

Can someone help me? I am trying to wrap the text in each column so the last column has the largest width. \documentclass{article} \usepackage{makecell, tabularx} \renewcommand\theadfont{\...