Questions tagged [width]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
96 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
22 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
64 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
22 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
51 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
39 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
31 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
50 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
48 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
48 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
39 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
145 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
81 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
63 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
34 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
90 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
31 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
93 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
39 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
111 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
56 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
30 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
vote
1answer
34 views

A table with `\hline`s in a tikzposter block

I would like to have a table with \hlines fit inside of a tikzposter block, but the lines stretch outside of the block, as shown in the following image: \documentclass[25pt, a0paper, portrait]{...
2
votes
1answer
36 views

Getting the width of the current container

I'm trying to create a generic command to write a solid heading. The width of the heading should fit into the containing environment in which the heading it rendered. In the example below, the orange ...
2
votes
1answer
41 views

Is there a way to make the text smaller inside a default font setting?

so I've written one document using the default margin settings and another using different margin settings(much wider). I needed to compile both documents so there's an obvious issue now. Let me show ...
0
votes
1answer
41 views

How to set pgf width dynamically based on template settings

I am using matplotlib and exporting my plots as pfg so I can keep math notation in latex. I am using elsarticle. Things were working quite well until I switched the template to two columns. In this ...
0
votes
1answer
197 views

How to format table title width and position

I am generating PDF documentation from rst files using sphinx, latex and latexpdf. The rst files include wide tables with long table titles using "csv-table". I would like the table title to print in ...
1
vote
2answers
55 views

change margins for landscape table

I got a large table in landscape format after some text. The text before the table uses the standard margins set by article. Now for the table afterwards, I would like to change the margins, that is ...
4
votes
2answers
68 views

pgfplots: How to align plot width to same width as legend?

The user marmot has posted a nice approach to put a legend below a multigraph diagram. Minimum Working Example (MWE): \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \usetikzlibrary{...
0
votes
0answers
37 views

Reducing width of image captions without messing up subcaptions

The captions in my document are as wide as the text itself and this can lead to parts where the caption seems to continue when in reality it's the document's text. So I wanted to reduce the width of ...
0
votes
1answer
35 views

How do I fit a landscape table to page width?

this is my latex, the columns always see to go over the page width. I know I set width using p instead of l. However, using p, the tables disappears to the next page where it is portrait mode. \...
3
votes
1answer
218 views

Harmonize width of MusiXTex extracts automatically

Several MusiXTeX extracts are placed in a few floats as subfigures of a document. The width variation of these extracts within a figure environment might not please the eye. The widths do not vary ...
0
votes
1answer
38 views

In inmargin innertheme, how to customize the block title width in the sidebar? [duplicate]

The space indicated by the rectangle below is empty and could be used for the text itself. I realize that I can reduce it by setting lesser sidebar width left, but I would like the titles of block to ...
2
votes
1answer
57 views

How to plot waves representing wireless link connection and set the exact width of a box from one point to another

The following diagram represents two devices connecting wirelessly. \documentclass[12pt]{article} \usepackage{tikz} \usepackage[active,tightpage]{preview} \usetikzlibrary{shapes,arrows.meta,calc,fit,...
2
votes
1answer
50 views

Is there a global variable that reflects the current preferred table column's width?

I wish to insert a (varwidth) box into a table cell, and I want the size of the box to be limited in width to whatever autosize that column would otherwise have, and for any text that I insert into ...
0
votes
0answers
55 views

How to change the text area of a particular page

I have very long (horizontally) equations on a page in the middle of my document. I have used \eject\pdfpagewidth=14in to change the width of that page, but I can't figure out how to change the ...
1
vote
1answer
97 views

How to fix the column width for specific rows of my table?

I am new to Latex, and I was trying to make a table. Everything was fine, until I added the last merged row for notes. It turned out like this: The code I used is here below: \pagebreak \begin{...
1
vote
1answer
49 views

Scale tikzpicture with axis and xbar to the “real” textwidth

So, whenever I create a xbar plot with long labels it happens to me that the tikzpicture is scaled too wide because (I guess) textwidth only applies to the axis but not the labels. So I thought I ...
1
vote
1answer
35 views

How to get the same effect of the X column without using tabularx?

I'm having a little problems with tabularx package. So I'd like to make tables with a column that occupies all the remaining withe space, as a X column type does. In the following MWE the last column ...
1
vote
1answer
205 views

How to stretch a specific column

What I have is a table that should stretch to the text width and want a specific column to stretch. What I have now is \begin{tabular*}{\textwidth}{ll r@{.}l l r@{.}l r@{.}l} ... \end{tabular*} What ...
1
vote
2answers
65 views

TikZ fill color: How to decrease spatial size of fill behind text?

Assumed we have some simple code to display a text node with a colored fill behind the text. Minimum working example (MWE): \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{...
2
votes
2answers
99 views

What is the minipage equivalent of `width=\linewidth` for \includegraphics

width=\linewidth is acceptable input option to \includegraphics, but is not acceptable as input to minipage. What can we replace X with so that \begin{minipage}{X} has a similair width setting to \...
0
votes
0answers
46 views

pgfgantt spans width

I would like to draw Gantt chart, where: is generated by: \documentclass{article} \usepackage{pgfgantt} \begin{document} \begin{ganttchart}{1}{12} \gantttitle{2011}{12} \\ \...
0
votes
1answer
59 views

Defining adaptive width of columns in a table

Is there a neat way to define all column widths in a table as the same value and adapted to the page size? For example I would like the following 32 columns to have all equal width of 1/32 of the ...
0
votes
0answers
46 views

size of 6 subfigures

I'd like to enlarge a set of 6 figures. When I increased x in \begin{subfigure}{x\textwidth}, the figures enlarge to the right and they are off the center. \documentclass{article} \usepackage{...
2
votes
1answer
133 views

Make table notes as wide as `\textwidth` while preserving table's own width

I use the threeparttable package to make tables, for the following reasons: It allows me to conveniently make table notes that may refer to specific text in the table; The table notes are tightly ...
8
votes
2answers
289 views

Auto width tcolorbox around equation

I am using tcolorbox to draw boxes around equations. Since the box widths are equal to the equation widths, long titles are often shrunk, hence looking ugly, as shown here: Is there any way to draw a ...
2
votes
1answer
76 views

my toprule and bottomrule width are different?

I may have change something before at the macro level by accident with some code I got online. How could I set it back? Now I am facing this problem where when I put: \setlength\heavyrulewidth{0.14em}...
4
votes
1answer
206 views

LaTeX - how to detect scale of \includegraphics

I have a general question, so without any example code. I'm implementing part of document containing gallery of images. Generally, I have two types of images: 1) document, typically scanned A4, ...
2
votes
1answer
125 views

Miktex/XeLaTeX - non-working wrapped images (wrapfigure)

I've searched hundereds forums of the same question, but without any working solution. I'd like to insert images to my document to the right side of the page and my text shall wrap them from the left....