Questions tagged [textwidth]

The tag has no usage guidance.

1
vote
1answer
24 views

Wrap Text in Table / Text Extends Past Page Margins

I would like to know who to wrap text in a table, and also to keep text from off the page of the document. Below is the code I have written so far. I am trying to wrap the text under 'Relevant ...
0
votes
1answer
36 views

Data is getting right aligned

Hello I am using following code to generate table. My requirement is to generate table which fits to text width. \begin{table}[b]\renewcommand{\arraystretch}{2.0}\setlength\LTleft{0pt}\setlength\...
0
votes
1answer
16 views

Tex4ht (htlatex) html output in sans serif typeface and narrow textwidth

Using the htlatex myfile.tex command which invokes tex4ht, I learned that a rather nice text for web pages can be obtained by simply using the \sf command for an entire web article. Using the helvet ...
2
votes
2answers
41 views

Problem with alignment of coefficients

I have a problem with the alignment of coefficients in this table. I tried modifying the margins with the geometry pack, without success. I don't really know what to do! I modified this table from an ...
1
vote
1answer
32 views

Tabular rows that adjust height to wrap text?

I have a table like this: \begin{tabular}{|l|l|} \hline \multicolumn{2}{|l|}{\textbf{Item Name}} \\ \hline Item Type & Item Subtype \\ \hline \multicolumn{2}{|l|}{Item effect (long ...
0
votes
2answers
75 views

fit longtable to textwidth

I am applying How to fit landscape multi-page table to textwidth to fit longtable to textwidth in this example: \documentclass{article} \usepackage{longtable} \usepackage{lipsum} \begin{document} \...
1
vote
1answer
57 views

Tikz/pgfplots Reduce distance between Tick labels line break

I'm pretty desperate with a problem I have right now. I'm trying to create a lollipop plot that has different categories on the y-axis and occurrences on the x-axis. According to the below code. Note ...
1
vote
2answers
66 views

Side-to-Side figures with a sidebar [beamer]

I am doing a Beamer presentation and I am trying to put two figures next to each other using minipage. The problem is that my presentation contains a right sidebar and when I set the minipage width to ...
0
votes
0answers
44 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 ...
0
votes
1answer
139 views

force longtable to text width

Instead of specifying the width of each column in a longtable (see below), is there a way to get it to automatically adjust its size so that it matches the text width, but does not go into the margins?...
1
vote
1answer
41 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
0answers
63 views

Fullwidth solutionorgrid with exam-class

The exam-class provides a convenient environment for typesetting either a specified kind of space for students to solve the question or the solution to that question, based on given class options. My ...
2
votes
1answer
95 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 ...
0
votes
1answer
187 views

Side-by-side subfigures, MATLAB export, textwidth

EDIT: This might be solved with just the knowledge of what size \textwidth in points or centimeters is with this setup. I have the problem of exporting MATLAB figures to LaTeX and keeping the font ...
1
vote
1answer
74 views

How can I make these \parbox margins wider in LaTeX

I have the below command, followed by the text that I want displayed. I've attached a display of the output. I would like the top middle text to have wider margins. I've tried tweaking the \parbox ...
4
votes
1answer
59 views

align graphic and caption with text width using beside caption

I am trying to align my figure with the \captionbeside within the textwidth. The figure and the caption next to it should be each 0.5\textwidth and should not go beyond the textwidth in the margin. ...
2
votes
2answers
119 views

Garamond is not wide enough

I'm writing my PhD thesis and I'm considering to use garamond, particulary ebgaramond. The thing is that the book should be written in A4: with a fontsize of 11pt each of my lines has an average of 90 ...
0
votes
1answer
190 views

Two-columns table in tabularx with \textwidth

I have a problem with setting up a table, created in tabularx, to the text width of my article. What can I do? Here is the dummy example: \documentclass[12pt]{article} \usepackage{ltablex,booktabs} \...
0
votes
2answers
33 views

Easy way to line-break specific table cells

I have a table with long text and found a way to get rid of the issue where one has to do line-breaks manually. Here is the code for a very simple version of this layout: \usepackage{booktabs} % for ...
0
votes
0answers
37 views

improving different textwidths of facing sides with reledpar

Using reledpar to print a modern translation with its facing Latin original results in huge white spaces between the chunks because of Latin's famous compactness and the very long paragraphs of this ...
1
vote
1answer
44 views

Tabularx: Reason why customized \hrule exceeds \textwidth?

Any ideas on why my self configured \hrule exceeds the specified \textwidth of my page layout? Minimum Working Example (MWE): \documentclass{article} \usepackage{xcolor,colortbl} \usepackage{...
6
votes
2answers
1k views

Making Margins 1 inch all the way around

Hi everyone, I created an account just to ask this question as it is really important. Several places that I am applying to require my CV to have 1 inch margins all the way around (on all sides). I'm ...
3
votes
1answer
61 views

Tabularx - Automaticallay shrink row length to longest row

I need to shrink the row length of a table to fit the longest row. Here is what I have done \begin{table*} \begin{tabularx}{\textwidth}{lX} \toprule \textbf{Component} & \...
3
votes
1answer
76 views

Why textwidth-1cm works when I use todonotes

Here is a minimal example of my problem. If I remove the todonotes package I get -1cm-1cmtest on the output pdf. \documentclass{article} \usepackage{todonotes} \begin{document} \begin{minipage}{\...
3
votes
2answers
417 views

How to make longtable width to textwidth?

I am trying to center a side longtable using \makebox[\textwidth]{ it worked for a normal table. \documentclass[a4paper]{article} \usepackage{array} \usepackage{longtable} \usepackage{lipsum} \begin{...
0
votes
1answer
79 views

Switch from double to single column in the same page, for insert long equation

When I using overleaf template here, I changed the codes to \documentclass[twocolumn]{svjour3} I have long equations, so I want to the equation cross the two column. I try change to \onecolumn, and ...
3
votes
3answers
35 views

Set specific width for table colums relative to textwidth

Currently my code looks like this: \documentclass[12pt, a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper,top=1.5cm,bottom=1.5cm,left=2cm,right=2cm]{geometry} \begin{document} \...
4
votes
3answers
151 views

How to fit wide table on a page

I am building a table in latex but it is too wide to fit the page. Centering will only align it on the left side so that it will spill out on the right side. I already tried to rotate it and to set ...
2
votes
1answer
454 views

Fitting my table into tex width in elsarticle

I am working on a paper to be submitted to Esevier Journal and I have a problem with fitting the table int the text width which exceeds the text width. I'll give the MWE as follows: \documentclass[...
9
votes
3answers
516 views

How to use fontawesome with fixed width?

I'm using XeLaTeX and fontawesome package. This is my MWE: \documentclass[]{article} \RequirePackage{fontspec} \RequirePackage{fontawesome} \begin{document} \section{\faGraduationCap \...
5
votes
1answer
85 views

How can I display baseline and create text on it?

I use the below structure for it: \documentclass[12pt]{article} \begin{document} \begin{minipage}[t]{.9\textwidth} \leavevmode\rlap {I want to stop the hrule, at the end of my text.} \rule{\textwidth}...
1
vote
1answer
58 views

Can't get tables to align with each other or text width

I'm having trouble getting my tables to display such that the leftmost elements and rightmost elements appear at the start and end of the document text width. Not only does the rightmost text not end ...
3
votes
4answers
178 views

In horizontally aligned minipages, how can I force the last minipage width to extend to the right margin

I need to use minipage environment to give side by side descriptions of equations. The minipages themselves must be separated by equal distance, which is in this case a quad. However, it would not be ...
0
votes
1answer
74 views

wrong title width with subsubsections

After using tabulary to insert multirow table using this link, the title width of only subsection and subsubsection that comes after the table changed. I tried with titlesec package but it does not ...
2
votes
5answers
163 views

Fit wordy table on a Page

This is what I try to do fit a wordy table on a page. \documentclass{IEEEtran}% http://www.ctan.org/pkg/ieeetran \begin{document} \begin{table}[] \centering \caption{My caption} \label{...
1
vote
1answer
361 views

Latex ignoring \textwidth in p{}-parameter for tabular

I want to create a document that allows to write into the names of new members joining our club. As these entries are numbered, I figured I made a command generating a command ("entry" in my example) ...
3
votes
6answers
2k views

Latex Table condensed and too small

Apologies I am new to Latex. Trying to create a table but it is coming as condensed. The whole table is about 3Cm tall. I want the table on portrait layout of A4 sheet to be decently readable. Please ...
8
votes
2answers
339 views

TikZ: How to set width of complicated TikZ-image to \textwidth?

I have one a bit complicated TikZ-image: As you can see, I want to put one single border around this TikZ-image. Due to optical harmony the border should have the exactly same outside dimension like \...