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

learn more… | top users | synonyms

1
vote
1answer
43 views

How to fit a math equation to the line width

I used the following two equations to implement a branch function: \documentclass[conference]{IEEEtran} \usepackage{amsmath} \newcommand{\NC}{\mathrm{NC}} \begin{document} In Case A, \\ ...
2
votes
1answer
35 views

using textwidth in table to make sure table width same as textwidth

I am confused about why \begin{tabular}{|p{0.6\textwidth} | p{0.4\textwidth}|} generates a table with width larger than the page textwidth, since 0.6+0.4 should come out to be 1.0 and so I expected ...
3
votes
2answers
34 views

Increase text size in table while I use \textwidth in the table

I have a table that its width should not be larger than 0.45 of the textwidth (two column page), but I want to make the table's data larger to better see the Table info. How can I do that? This is my ...
2
votes
0answers
21 views

Fixed width table with variable width columns [duplicate]

What I'm trying to achieve is a fixed width (full width of the page or column) table with variable column widths. Here's what I've got: \usepackage{tabulary} % Table Environment ...
2
votes
0answers
24 views

Line width in parshape environment

I would like to get the current line width in a \parshape environment. The following variables return the full pagewidth (345pt), where I would expect 300pt: \documentclass{report} ...
2
votes
1answer
22 views

Using full-sized subfloats causes them to shift to the right

I am going pretty nuts here. The little LaTeX knowledge I have has reached its limits, and I can't find any clues anywhere on the net. So some input would be greatly appreciated! The Problem When ...
2
votes
2answers
55 views

how to make a normal width of the cells,when some of them are normal and all other is too wide?

i tried to make table that looks like this: I wrote this: But i did something wrong and the result was What did i do wrong (or didn't) and how i can fix it? \usepackage{extsizes} ...
2
votes
0answers
20 views

Set custom margin for the res class

I am trying to make my resume using the res class. the problem that I am facing is with the page borders. How I do I set in acc Here is what My .tex file looks like ...
2
votes
1answer
42 views

Formatting table to have column width in twocolumn article

I have these tables in an article which I need to be of the article column width with equal columns, or whatever looks the best. I also would like to not put a full line break between the rows, but ...
1
vote
0answers
31 views

Can't change width yet using {graphicx}

I just finished installing LaTeX and I would like to resize an image but I'm getting the message "! Paragraph ended before \Gin@ii was complete.". I am already using the package {graphicx} so I'm not ...
1
vote
0answers
48 views

R xtable and table width

I have to fit a table with many columns to the width of a page, using xtable and longtable environment. My R code is library(xtable) data <- matrix( data = 1000000000, ncol=14, nrow = 100) ...
3
votes
1answer
25 views

ToC chapter number width & memoir class

I've changed the chapter numbering to Roman, and now I want to increase the number width in the table of contents in order to avoid overlapping with chapter titles. The usual trick ...
1
vote
3answers
59 views

Change Table Cell width

I want to replicate this in latex, where the cell of the bottom row is not as wide as the others on top, so far my code and output is: \begin{center} \begin{tabular}{|l | p{13cm}|} \hline ...
1
vote
1answer
41 views

Make column widths of multiple matrix columns equal

I have some gauss matrices in an align* environment, like this: \documentclass{article} \usepackage{amsmath} \usepackage{gauss} \newcommand{\BAR}{% \hspace{-\arraycolsep}% \strut\vrule % the ...
2
votes
1answer
76 views

ModernCV long name and title on the same line

Is it possible to have a long title and name on the same line in moderncv? Currently, it looks like this: The ideal would be that there is no line break after Juantostos. I tried to uncomment the ...
3
votes
1answer
35 views

Length of Titlerule

I have a picture on the right side of the title. For the title I'm using the underlining with \titlerule. Is it possible to adjust the line in length? I would like to have the line only go to the ...
1
vote
1answer
13 views

Argument to get margin width for line

I am typing up a homework assignment and am trying to separate the problem from the solution using a line. For example right now I have by using \textbf{Problem 1 -} Chapter 5: 31, 35, 36, 38, ...
3
votes
1answer
82 views

how to fit algorithm to line width in latex

the following algorithm exceeded the width of the column: \begin{algorithm}[!htb] \caption{........} \label{alg:BuildMG} %\algsetup{linenosize=\small} \scriptsize \DontPrintSemicolon ...
0
votes
1answer
52 views

How can I make this table bigger and centered, while still being on one page?

Made this table excel and included it in sharelatex like this: \begin{figure}[htp] \centering \includegraphics[width=1\textwidth]{Figures/reviewtable} \caption{insert} \label{fig:reviewtable} ...
0
votes
0answers
21 views

Automatic table width adjustment with the array package

I was searching for a way to vertically and horizontally align my text and found a good way here. However using M I need to set the width for every column, which is what l did automatically for me ...
2
votes
2answers
115 views

Longtable doesn't fit page size

I have a longtable and it doesn't fit the page size. How to fix it? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} % Включаем пакет для поддержки русского ...
2
votes
3answers
62 views

How to set the width of my table?

I've some trouble to set the right width for my table. As you can see in the code below, I use the diagbox package to format my tables header. \begin{table} \centering \begin{tabular*}{\textwidth}{| ...
2
votes
0answers
47 views

PGFPlots - Legend box aligning with axis [duplicate]

I am trying to increase the size of the legend such that it exactly fits to size of the plot. But even after having a look at the PGF manual I could not figure out how I can realise my plan. ...
1
vote
2answers
89 views

Size and placement of subfigure of different original size

I have a figure which has three similar subfigures and one of a different size (showing the legend of the other three). I'm having problems making the size and placing in the document look good. This ...
1
vote
0answers
10 views

Automatically scale image based on its native/actual size [duplicate]

I want Latex to detect images that are larger than the page width and automatically scale them down to fit, similar to what this does: \includegraphics[width=\textwidth]{path/to/image} However, I ...
3
votes
1answer
65 views

Natural width when centering a minted environment

I'm writing a report in which I have some code snippets. Using the following code, I'm able to create, and centre, a good-looking minted environment: \documentclass{article} % Required for minted ...
2
votes
1answer
80 views

table spanning only one column width in a multicol document

I have a two-column document and what to inset a table. My problem is that the some of the columns in the table overlaps into the other side column. I have found a question which deals with generating ...
3
votes
2answers
73 views

Width of column after multicolumn header

When multicolumn headers in tables use more horizontal space than the columns they are 'heading', then the additional width is entirely allocated to the rightmost column. The following MWE: ...
1
vote
1answer
67 views

How to define caption width in longtable?

I have a longtable within a landscape environment. Not sure the landscape is relevant but ... \begin{landscape} \begin{longtable}{lll} \caption{bla bla bla long ...} table & table & table ...
2
votes
1answer
37 views

Table cell widths vary in multirow environment?

I'm writing my thesis and am no LaTeX expert. It uses a template style file I believe and the format is under one thesis.tex file while each chapter is input using the \input command. I'm trying to ...
1
vote
0answers
52 views

Width of headings-column in CV template

I want to modify the Rensselaer Polytechnic Institute CV template to increase the width of the column allocated to the headings on the left side of the page. ...
3
votes
1answer
41 views

Columns with varying widths - one with text and one with images

Is there a way to make two columns in a document? One column for images and the other for texts. But I want the column of images to be smaller than the column of text. And I want to be able to adjust ...
4
votes
1answer
95 views

Minor difference in width of column and text

Below is an MWE. %--------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS ...
3
votes
1answer
72 views

How to make a lilypond snippet fully justified (according to surrounding text)?

My issue I have a lilypond snippet (i.e. some music staffs) embedded within a document containing text. My question: How to make the snippet justified, i.e. that its size matches the \textwidth? ...
3
votes
1answer
44 views

Personalized floatstyle

I would like to personalize some floatstyle. Here is my MWE: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
2
votes
0answers
176 views

How to set algorithm width to avoid overfull \hbox problem

I wrote the following latex text, but the log shows an error that overfull \hbox(10.0pt too wide) detected. I am sure that the algorithmic part exceed the width limit. Even if I type a few words, the ...
0
votes
1answer
43 views

How to establish the width of a column in a longtable

I wrote a table by longtable. It works correctly but I would like to improve the layout of the width a column. In the figure below you can see the result: As you can see, the last colums is very ...
2
votes
2answers
39 views

Minipage environment

I am using minipage environment in one slide of my beamer presentation. Basically, what I would like to have is the following: top of the slide: a picture on the left and some description on the ...
1
vote
0answers
47 views

Dynamic width table

I am generating Latex file which contains tables and now I am looking for best multi-page table enviroment. I found longtabu environment which looks good but I have a few problems with it. For ...
6
votes
1answer
65 views

Switching from one column to two columns on a frame

I am writing a presentation, and would like to use the following layout: On top, there is one big box spannign the whole page width, below, there are two boxes side by side. My problem is that the ...
0
votes
0answers
28 views

Column width not equal in table [duplicate]

I have the following problem. In a multi-column table, some of the columns are not equally width-sized with the rest ones. If someone could help, I would be grateful! Below my code: ...
1
vote
1answer
49 views

different column widths in a tabular [duplicate]

I would like that the width of the first column of an array to be 2cm and the second column to be 1cm. I have the following document but apparently the setting for the width of the second column is ...
1
vote
0answers
64 views

Linewidth of tabular with booktabs varies randomly

The Following MWE produces the output that I want to achieve: \documentclass[11pt, a4paper, twoside, %openright, toc=listof, BCOR=5mm, bibliography=totoc, parskip=half]{scrreprt} ...
1
vote
2answers
42 views

How to create a -left and -right aligned table of a certain width?

I am trying to create a table that spans the width of the page, with two columns, aligned right-ragged and left-ragged respectively. However, this is proving weirdly difficult, as I cannot seem to get ...
4
votes
1answer
51 views

Change environment's width

I'm writing my homework and I would like to change the environment's dimensions of \documentclass[10pt,spanish]{article} % INICIO PAQUETES \usepackage{amsmath} \usepackage{graphicx} ...
0
votes
1answer
184 views

Margin widths and positioning in “oneside” memoir document

In a "onesided" memoir-based document, two custom \newcommands use both the marginpar and the sidepar commands respectively. The marginpars go to the right side and the sidepars on the left side. Some ...
1
vote
1answer
139 views

Yet another table that won't fit on page

After about 3 hours of looking through related material and failing to find a solution, I've concluded that there isn't a pattern that can be followed to fit a generic table to a generic page. Every ...
2
votes
0answers
43 views

Creating a line that goes until the margin

I understand that I can use the command \underline{\textwdith}} to get a line that stretches from one side of the page to the other, but what if I want to have some text first and then have the line ...
1
vote
1answer
80 views

Extending side margins for Title section in IEEEtrans document class

How can one extend the side margins only for the title section of IEEEtrans (conference) document class? I need to have more words fitting in each line for the "title only". ...
10
votes
5answers
737 views

In LaTeX, make a box with the width of another text

I am looking for a command like \makebox{text to set width}[c]{new text} which would make a box with the width of text to set width containing ____new text____ centered.