Questions tagged [width]

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

Filter by
Sorted by
Tagged with
0
votes
3answers
42 views

Automatic table width

I have the following code: \documentclass[a4paper,12pt,fleqn,twoside,openright]{book} \usepackage{caption} \begin{document} \begin{table} \centering \caption{table} \...
0
votes
2answers
45 views

Table size, alignment and columns alignment

I'm new with LaTeX. I want to have two tables. The first table renders fine. For the second table, I want it to take full page width and I want text from first column to be aligned left and text from ...
0
votes
0answers
14 views

Can't create a table with fixed column width when using \multicolumn

I want to generate a table with fixed column width even though every line of it has \multicolumn. I have seen this solution but it's not suitable for my needs since I need to be able to control each ...
2
votes
0answers
49 views

Setting rounded rectangle minmum height affects width

I'm having troubles trying to modify a rounded rectangle minimum height without affecting the node width. I know there are some stretches boolean for trapezium or triangle to make it but I didn't find ...
0
votes
0answers
50 views

Text goes outside of colored box - how to fix?

My coloured box should look like this: but here's how it looks: So the fonts are different and the colours are also a bit different. It is described by this LaTeX code. I would appreciate some ...
1
vote
1answer
26 views

Table with text wrap and \textwidth width

I'm trying to create a table which looks like this: I can't seem to figure out how to wrap the text but also have the table itself the width=\textwidth. Any ideas how to achieve this?
0
votes
1answer
39 views

Different column widths with multicom

The 5th row is killing me. How can i determine the width of the rows? I manage to scrap up the code underneath. \begin{table}[h] \centering \begin{tabular}{|p{11.2cm}|p{3cm}|} \hline ...
0
votes
0answers
22 views

Table with one flexible column to keep table width constant

I produce several similar tables of the same dimensions. Because the columns contain different metrics, they are of different widths. However, the tables have the same widths. For this setting (and ...
1
vote
2answers
45 views

How to fix the out of page text issue in equation mode

I am trying to write the text in equation mode but the text is going out of a page. The code of my equations is given below. Can anybody help to fix the issue? \begin{equation} \left\{\begin{array}{...
1
vote
0answers
26 views

How to make the text width wider using template given in Overleaf? [duplicate]

How to make the width of the page wider using the template provided in Overleaf? enter link description here I had check and cannot figure out. The configuration for file uorthesis.sty is: % This ...
1
vote
2answers
56 views

Two pictures next to a big one, to fit in textwidth [duplicate]

I want two pictures next to another big one and every picture has a different size (like the example below). I want that all pictures keep their aspect ratio and the pictures to the right should have ...
0
votes
0answers
30 views

Timeline in Landscape Document

I have an extensive timeline to build and I thought it would be a good idea to do that in LaTeX. I just found chronosys module to build the timeline, but I'm facing some challenges to make it work in ...
0
votes
2answers
56 views

I need these two boxes to be the same length using tabular

The box on the left should mirror the box on the right. So A should look as if it's spanning 3 columns and 2 rows, etc. How can I fix the width of the table on the right using tabular? Code is below. ...
0
votes
0answers
29 views

Use whole page width in twocolumn document [duplicate]

I am working with my document class set as [twocolumn]{article} and all is working well however I would like to know if it is possible to use the whole page witdth for text within the document. I ...
1
vote
1answer
101 views

Tikz: use latex length for length of path (ditto marks)

I want to draw a ditto line, which is a horizontal line with two small marks in the middle. My first attempt was \dittoLatex which uses a box with characters and rules, but is frankly ugly. My ...
0
votes
0answers
20 views

Adjust the width of a crossword puzzle

I have tried to adjust the size of the following crossword puzzle to the width of the column, but I have been lucky. Does anyone know how to do it? \begin{minipage}{\columnwidth} \begin{Puzzle}{16}{...
2
votes
1answer
26 views

Table Alignment and Width Issues [duplicate]

So I have this code: \begin{center} \footnotesize \begin{tabular}{| c | c c c |} \hline \multirow{3}{*}{Equipment acquired at start of year} & \multicolumn{3}{c|}{Replacement cost (\...
1
vote
1answer
43 views

How can spacing be automatically decreased for overfull \hbox?

Can I somehow tell LaTeX to shrink the spaces in overfull hboxes rather than stretch them? I have a paragraph full of very long words that mustn’t be hyphenated. Predictably, this produces an ...
2
votes
1answer
91 views

Graph plot's left side in the middle of the page

I am trying to center the graph plot's left side and making it as long as to reach the right margin of the page but failing to do so. I want the labels on the left to be aligned to the right and the ...
2
votes
1answer
43 views

Avoid “Illegal unit of measure (pt inserted)” when dealing with LaTeX lengths

My goal is to link to external video files in beamer presentations rather then embedding them directly into the PDF (e.g., with media9 package) to keep the size as small as possible. I use the ...
0
votes
1answer
35 views

How to create a table with variable cell widths

I try to recreate the following table in overleaf: What would be a clever solution? I tried to use \columnwidths and the cals package, but that didn't worked well.
2
votes
3answers
50 views

How can I equalise the width for the 4 columns to the right?

\begin{table}[] \begin{tabular}{|l|c|c|c|c|c|} \hline & \multicolumn{1}{l|}{} & \multicolumn{4}{l|}{Forskningsspørsmål den kan besvare} \\ \cline{3-6} \multirow{-2}{*}{Kilde} & \...
0
votes
1answer
21 views

How do I correctly multicolumn tabularx?

How do I correctly multicolumn a tabularx while preserving the correct width? When relatively short content is inserted into the \multicolumn, it can be done with l, c, or r. However, if the content ...
1
vote
1answer
34 views

pgfgantt: How to adjust \gantttitle width same as chart width?

Consider the following Minimum Working Example (MWE): \documentclass{standalone} \usepackage{tikz} \usepackage{pgfgantt} \begin{document} \begin{ganttchart}[time slot format=isodate]{2019-01-01}{...
2
votes
1answer
72 views

How to make a parbox with rubber width (like \hfill)

I have two parboxes that live next to each other: \parbox[t]{2cm}{Foo!} \hspace{3em} \parbox[t]{12cm}{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ...
1
vote
0answers
38 views

How to fix the \tikz\width error and \tikz\height error?

I drew two graphs using tikz package. However, there are errors about '\tikz\width' and '\tikz\height'. How to fix those errors? \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \...
0
votes
0answers
27 views

How to stop line width compression (line length limit)?

I need to generate pure Latex SVG files without any form of document layout or anything, just with a tight bounding box around the generated SVG. At the moment I am already achieving this using ...
0
votes
0answers
18 views

Why when changing the width property in figure causes some spaces between the title and the text? [duplicate]

This is the LaTex code: \begin{figure} \centering \includegraphics[width=80mm]{PLA.pdf} \caption{Some figure} \end{figure} When I change the width to 80 it causes the problem but when I ...
4
votes
2answers
113 views

Can anybody explain why using \multicolumn changes the width of the four-column tabular environment?

The following example typesets five tabular environments. All five tabulars share the same definition, \begin{tabular} { | p{1.67cm} | p{1.67cm} | p{1.67cm} | p{8.0cm} |} However, the overall ...
2
votes
0answers
24 views

Doesn't tabulary honor the table width without wrapped lines?

With this MWE, I try to recreate a tabularx table with tabulary (the C column type being builtin): \documentclass{article} \usepackage{tabularx} \usepackage{tabulary} \begin{document} \begin{...
1
vote
2answers
79 views

How to make the text fit into the cells of this table?

I'm trying to create a big table using Latex. The result must be something like this: but what I get it's something like this: \documentclass{article} \usepackage{tabularx} \usepackage{adjustbox} \...
2
votes
1answer
35 views

Parnotes: How to set width of parnote to same width as tabular?

Consider the following Minimum Working Example (MWE): \documentclass{article} \usepackage{tabularx,parnotes} \begin{document} \begin{table} \begin{tabularx}{0.5\textwidth}{lcc} ...
2
votes
2answers
56 views

How to align vertical lines of two back-to-back longtables?

The result of the following MWE \documentclass[letter,10pt]{article} \usepackage{makecell} \renewcommand{\cellalign}{tl} \usepackage{longtable} \usepackage{fontspec} \usepackage [ left=1.5cm, right=...
0
votes
1answer
58 views

Argument Spacing When Using lw Option for causes Compile Error with Tikz-Network Package

Writing the code with no spaces between the arguments of "\Edge[h local options i](Vertex i)(Vertex j)" normally handles processing: \documentclass{article} \usepackage{tikz-network} \thispagestyle{...
0
votes
1answer
41 views

how to set the width of a custom column type and make the first row / title of a threeparttable fit that particular width

I have the following table I would like : to fix a row to a certain width of the custom \newcolumntype{L}{D{.}{.}{2,5}} (which allows to align the decimal of the item of the column instead of the ...
1
vote
2answers
81 views

determine the width of bold text in tikz

In bold tikz text decoration |\bf| was mentioned as a possible way to insert a bolt tikz text decoration. How to determine the width of a bold tikz text decoration? I try: \documentclass[margin=1cm]...
0
votes
1answer
71 views

How to set the width of the last column with tabular package? [duplicate]

I want to generate a table with fixed column width. This works for all the columns except for the last column. Working example (fixed column width for all column except the last one) \documentclass{...
1
vote
1answer
57 views

How to fix layout of a table

I have two problems related to creating a table in LaTeX. My first problem is that I can't limit the width of my table to stop it from going out of margin. This is my code \begin{center} \begin{...
1
vote
1answer
49 views

figure* environment of multicolumn documents, full width without margin

Which width, instead of \textwidth (as suggested here), can I use here to avoid getting an "Overfull \hbox" warning? I expect it's the page width minus margins. \documentclass[twocolumn, draft]{...
3
votes
1answer
646 views

Stata to Latex: Formatting a table - width, wrapping notes and caption position

I'm a newbie to stata and latex when it comes to direct export of tables. After reading some documentation, I used the following code (after labeling the variables): eststo: quietly regress defgh ...
2
votes
2answers
89 views

Create table using exact horizontal and vertical cell sizes with intentional cell overlap

I need to create a table where each cell is 1em x 1em. The contents of each cell in the table will be a single glyph from a special Unicode font. Each glyph is 1.1em x 1.1em. There is intentional ...
1
vote
2answers
178 views

Making two figures the same scale and fit on a line

Let's say I have a bunch of images, (two in this MWE) \begin{figure}[h] \begin{subfigure}{\linewidth} \includegraphics[width=.95\linewidth]{whacknot} \caption{Fritz-Qualdor count of greezable ...
1
vote
2answers
50 views

Multicolumn wider than subcolumn

I'm dealing with an aesthetic issue related to a multicolumn in a table. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{multirow} \usepackage{multicol} \usepackage{booktabs} \begin{...
5
votes
2answers
94 views

Find the width of a figure in latex, to properbly align multiple minipages within a figure

I want something like this: made with this MWE: \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{duckuments} \newsubfloat{figure} \begin{...
2
votes
1answer
97 views

exam: How to make the solution box span the whole text width regardless the question level?

I would like to make any solution box span the whole text width for any question/part/subpart/subsubpart. \documentclass{exam} \renewcommand{\solutiontitle}{\noindent\textbf{\underline{Answer:}}\par\...
1
vote
2answers
505 views

Pgfplots: Legend with multiple columns and rows, different entry widths

I have two data sets of five curves each that I want to display in one tikzpicture. The five curves of the first data set are solid lines, the five curves of the second data set are dashed. In the ...
0
votes
1answer
59 views

Width of a \schembox inside schemata

I have this diagram \documentclass[12pt,a4paper]{memoir} \usepackage[T1]{fontenc} % Support for more character glyphs \usepackage[utf8]{inputenc} %per interpretare tutti i caratteri \usepackage{...
3
votes
3answers
138 views

tabularx column has extra padding at right?

\documentclass[]{article} \usepackage{tabularx} \newcolumntype{h}{>{\hsize=.5\hsize}X} % half width of X \begin{document} \begin{table} \begin{tabularx}{\linewidth}{ h | X | X } \...
0
votes
1answer
85 views

A TikZ image set to the width of the entire paper, without changing the header and footer positions and widths

I'm attempting to fit a TikZ image on a page, and would like to make the image as large as possible, without distorting its dimensions. However, at the same time I would also like to be able to ...
2
votes
0answers
34 views

pgfplots: How to align plot width to same width as legend when compiling external?

The user marmot has posted a nice approach on how to adjust the plot width to the legend width. Minimum Working Example (MWE): \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \...

1 2 3 4 5 12