Questions tagged [width]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
24 views

Use width of certain block of text as parameter

I wonder if it's possible to get the width of a certain block of text, passed as an argument in \newcommand and use it numerically inside a conditional. For example, defining a \newcommand which ...
0
votes
0answers
16 views

Custom line width tikz pattern vertical and horizontal lines

If found the following code here to change the width of tikz pattern north west lines. I would like to do the same for vertical and horizontal lines. Can someone tell me what to chang in the code? ...
0
votes
1answer
31 views

Width of Algorithm

My problem is similar to this Adjust width of algorithm float However, I want to centre within an item in an enumerated list so I have indentation to the left, so the above Q/A does not centre within ...
0
votes
1answer
40 views

How to not waste space due to large integration limits?

I have the following formula: As can be seen, it is too wide for the column and I'd like to have it fit the column. Latex wastes a lot of space by not putting the integrand between the integration ...
1
vote
1answer
19 views

Match width of minipage footnote to table environment in which it sits

I have placed table notes inside a \minipage environment, inside a \table environment. I want to hand the \minipage a width argument such that it will match any arbitrary width of the \table in which ...
1
vote
1answer
24 views

Will width=\textwidth also automatically scale the height of the original image?

For example, \includegraphics[width=0.5\textwidth]{Example.jpg} Will the height also been automatically adjusted according to the same ratio of width?
1
vote
2answers
81 views

tikz/pgf: compute width of \small text

In tikz/pgf, there is a function called width("x") . From the pgf manual, it returns: the width of a (horizontal) TeX box containing x. After this sentence it starts to talk about things I ...
2
votes
0answers
41 views

How to set a width measurement to be the width of some string of text in ConTeXt?

I have some code like this: \setupfield[cloze][width=] I need to set width to be the width of some text given to it, such as "hello this is some text" or even just "#1" if it is ...
1
vote
1answer
31 views

How to control the width of my table

I want to control the width of my table. Could I get some ideas to solve this problem? \begin{table}[b] \centering \caption{The results of Human motion recognition [$\%$].} \arrayrulecolor{black} \...
0
votes
1answer
32 views

decide columns for text || multicols

\documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[margin=1in]{geometry} \usepackage[english]{babel} \usepackage{multicol, lipsum} \setlength{\...
1
vote
0answers
23 views

Automated width assignment to diverse-content minipage environment

I want to put these diverse contents (i.e. list enclosed in itemize environment, very long text (not enclosed in array or align environment), and one small picture) in multiple minipage environment ...
0
votes
1answer
31 views

Rules of column width in tabular

I would like to put rules in a tabular to "strike out" a number of consecutive cells within one row. I want these rules to automatically adjust to column width. For example, the width of ...
0
votes
1answer
32 views

Table's width getting out of page

I got this problem with overfull and I don't really know how to arrange the width of my table. I also want to put the Celsius symbol in a new line (just under the Temperature in the same cell)
0
votes
1answer
51 views

How to enlarge figures to take maximum available space?

I am trying to put two figures side by side using minipage. But the figures are shrinking and not using the full page width. How to get figures that use the full page width? \begin{figure}[h] \...
0
votes
1answer
22 views

Automatically adjust left column width in paracol (or minipage, tabularx, etc.) to fit unwrapped text

I'm pretty new to LaTeX. In the MWE, I need the header and extra info text to never wrap. I need the small details to wrap, as needed, while utilizing the maximum space. I think everything should ...
1
vote
2answers
46 views

How to fix the width of a tabular column by using weights in latex and active the auto-break lines?

I have created a table. I used template of springer. I want to fix the width of my table by using the weights option, but I don't know how to do that. I used textwidth but no positive results. This is ...
0
votes
0answers
32 views

How to refer to the table width?

I have a tabular or longtable table and sometimes need to refer to the table width. For example, I would like to add a multicolumn with a fixed width to allow for line breaks. \documentclass{article} ...
0
votes
0answers
23 views

Difference between \textwidth \columnwidth \linewidth in subfigure environment

I noticed that it seems to make no difference wether I use \textwidth, \columnwidth or \linewidth in my subfigure environment. Is there any? May they come from different packages, but do the same? MWE:...
3
votes
2answers
185 views

Tabular - columns wider than \textwidth

I am trying to have table exactly between margins using \textwidth. Unfortunately, when I am using \textwidth my table is too large and I do not know why. (my code is for django template, but I was ...
0
votes
0answers
32 views

“Monowidth” underline

I was trying to find an answer here, but to no avail (sorry if duplicate). This refers rather to thickness than width. Is there some way how to underline things of the same type (in math mode) with ...
2
votes
3answers
48 views

How do I increase an image's height starting from width=\textwidth?

I'd like to know if it's possible to set the width of an image as \textwidth and increase the resulting height without affecting the width. In other words, putting width=\textwidth also the height is ...
4
votes
2answers
414 views

split a long email adress at the “@”

In a document of mine I would like to give people the option of filling in their email adress. However, for some exceptionally long email adresses the text box can be larger than the tikzpicture node ...
0
votes
0answers
50 views

Why won't my table column shrink to the specified width?

I'm fairly new to LaTeX and trying to set up my resume as a LaTeX doc. I'd like to have a thin strip of color to the left of each section (Education, Experience, and Skills; dark grey, medium grey, ...
1
vote
2answers
24 views

table headings spread over two lines to make table shorter

My table is written with... \begin{center} \begin{tabularx} {\linewidth}{ll>{\raggedright}Xr} But I want to spread the text in the first two columns, e.g. preparatory work and omitting a step, ...
0
votes
1answer
43 views

Nested \left and \right) make \vphantom have non-zero width

I have many nested \left( and \right) parentheses in my document and I'm trying to find a flexible way to make outer pairs larger. Unfortunately, I cannot use \delimitershortfall recommended here. ...
0
votes
0answers
20 views

Set right border with multirow and width of columns on table

the first thing to say is that I hate tables in latex when they are a little bit complicate. 🤦‍♂️ Then, I am trying to make a table with multirow and multicolumn. I found my questions answered ...
1
vote
1answer
20 views

Problem with table rows

I am facing an issue with the last row of the table here attached. I would like to have the width of the three columns to be equal. How can I do that? Here below the code I am using: \begin{table}[...
4
votes
3answers
50 views

How to make multiple variables take the same width in math mode?

I would like to use characters as variable names and adjust their width to all be the maximum width of a character. This way, brackets around them would align nicely as shown in the example below. ...
0
votes
1answer
36 views

Longtable column spacing

\documentclass[12pt,twoside]{article} \usepackage{booktabs} \usepackage{longtable} \begin{footnotesize} { \def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi} \begin{longtable}{l*{3}{c}} \caption{OLS-...
0
votes
1answer
16 views

\includegraphics problem, its print value of width in document

I am trying to insert an image in my document with this code: \documentclass[12pt, twodisem]{book} \usepackage{graphicx} \begin{document} \includegraphics[width=\linewidth-1.0cm]{graphics/1.jpg} \...
1
vote
1answer
38 views

Width of bibliography too narrow

I have a problem with my bibliography. The width is too narrow making it look odd. How can I change the width of the bibliography to full width? Here a summary of my LaTeX code: \documentclass[11pt]...
2
votes
3answers
137 views

spread across a line (minus indent)

I have a sentence I wanted to spread across a line like the following: \makebox[\linewidth][s]{XXX XXXXX XXXXX XXXXX XXXXX XXXXX XX XXX XXX XX XXXXX XXXXX}\par What really happens is because it's a ...
1
vote
1answer
37 views

Trouble with table size

I am having trouble with a table I am currently working on in latex. The width is fine and I know how to adjust the vertical spacing but the font size makes it impossible for anyone to read. Every ...
0
votes
1answer
12 views

Specify the width and alignment of tabular column at the same time

Consider this example: \documentclass{report} \begin{document} \begin{tabular}{p{3cm}c} A0 & A1\\ BBB00 & BBB111 \end{tabular} \end{document} The output is Using p{3cm} allowed me to ...
0
votes
1answer
25 views

How can I arrange my figures like a self-defined matrix using LaTex?

I have three plots: a.eps, b.eps, and c.eps How can I arrange my figures like the following, so I will later refer to them as Fig.1 (a) and so on? Can I tweak the height and width of a, b, and c?
2
votes
3answers
134 views

Formatting a table in a article

I'm new on latex and it is complicated to do some things. I'm using a documentclass article and I have the problem in the figure. The table is too long and the last column doesn't appear, it is in ...
2
votes
3answers
66 views

How to set the width of \multirow within \multicolumn to full table width

I wish to have a multirowed-multicolumned text on the bottom of my table. Where i put in explanatory text for superscripts in the table, as well as explain any abbreviations. I can in a way force ...
2
votes
1answer
48 views

Long Chemfig reaction scheme in two lines above each other

The reaction scheme shown below is to long to fit in one line. I would like to place the two left compounds atop one another, so the + is in the middle between them, vertically centered with the arrow....
0
votes
1answer
32 views

How to adjust the width in table using \cline command?

I would like to create a table with specific horizontal line width, when I use \cline and merge columns in this table , it's OK, but when I fill color to the merged cell, the horizontal line ...
0
votes
1answer
32 views

Adjust the width of longtable

I have to adjust the width in one of my tables. I have looked at other questions regarding this - but I cannot seem to figure it out. My preamble: \usepackage[backend=biber,style=authoryear,autocite=...
0
votes
0answers
29 views

How to produce a table with a certain width and many columns

I want a table, 16.5cm width with 37 columns and numbers 1-36 centred like in typical project management charts. I tried several things but something doesn’t work. If I use only a couple of columns ...
0
votes
1answer
31 views

Inline 3 images using the whole width of the paper

So, I've tried using this method but I keep having this: I would like my three images to use the whole width (or like 90% of it) of the paper and not only the \textwidth Is it possible?
0
votes
2answers
131 views

How to adjust longtable to linewidth

I am working with classicthesis and have a fairly complicated overall doc so I can't really post a MWE (sorry, fairly new to LaTeX). I am posting a few packages though that I believe may stand in ...
0
votes
1answer
40 views

How to modify the total width in a tufte-book using includemp?

I'am working on a tufte-book document class and I want to change the size of the page. As the page are smaller, I want to fix the total width of the text (including the marginal notes). The ...
0
votes
1answer
47 views

Setting margins with minimal header and footer

I am working on an exam paper and am having difficulty setting up the margins. I need a set margin throughout the document utilizing maximum space possible. I dont want the header and footer to be ...
0
votes
0answers
14 views

Changing pagesize in leaflet document

I am currently working on a flyer using the leaflet document. My problem is that the printing company has different rules on the page partitioning (97mm, 100mm, 100mm pagewith of small pages) while ...
1
vote
1answer
71 views

table width in multicolumn

I have some table \begin{table} \begin{tabularx}{\textwidth}{Xrr} A & B & C \\ \multicolumn{3}{p{XXX}}{Test} \end{tabularx} \end{table} where the second row should span the entire table ...
0
votes
0answers
25 views

Japanese test answer format

how can I do that kind of outline? it's either empty or has written like, 1-2, refering to item 2 question 1, so but the thing is that it's centered, so I don't think it is \fbox{}
0
votes
2answers
101 views

creating document that automatically fits widest equation without modifying font

I have some output from a CAS computation, in the form of a sequence of (sometimes gigantic) symbolic matrices. I simply want them displayed in a pdf (the CAS can output TeX), without having to coerce ...
0
votes
2answers
53 views

Lyx: Two column document - problem with table and table caption positioning

I have a two-column document in Lyx with a table. First obstacle I had is that table respected the two-column rule, so it tried to fit it in one column only and ended up overflowing. I tried to fix ...

1
2 3 4 5
13