Questions tagged [adjustwidth]

For questions regarding the {adjustwidth} environment from the {changepage} package.

Filter by
Sorted by
Tagged with
1
vote
0answers
36 views

floats (figures...) does not respect width of adjustwidth

When I use floats in the middle of an environment that uses adjustwidth, the caption takes the whole space instead of simply taking the space allowed by adjust width. The problem is that I want to ...
5
votes
4answers
315 views

How to Make a One-Time Adjustment to the Textwidth

I would like to be able to make a one-time adjustment to the textwidth in order to have a title (or subtitle) appear entirely on one line. Consider the MWE \documentclass[12pt]{article} \usepackage{...
1
vote
0answers
38 views

Are Lettrines Incompatible with the Adjustwidth Environment? [duplicate]

Consider the following code. \documentclass{book} \usepackage{lipsum} \usepackage{changepage} % for adjustwidth environment \usepackage{lettrine} \usepackage{xcolor} \begin{document} \noindent \...
0
votes
1answer
29 views

Adjust Margins of a Page on Multiple Pages

I want to adjust the margins of a table on multiple pages. I tried using \adjustwidth{left margin}{right margin} using changepage package, however, probably this only works if text is to be adjusted ...
0
votes
1answer
55 views

How to edit the generated Latex from word to my desire one?

This my first question in texSE and hope it will be a good experience like other SEs. Recently I have decided to write my thesis in LaTex, so I have to convert some previous written parts in word (...
0
votes
0answers
20 views

Adjust line spacing after using \begin{adjustwidth}

My document is double spaced, and is creating a weird space after I indent my theorem below my definition. This is my code; \begin{definition} \textbf{Modulus}: the remainder after dividing one ...
0
votes
0answers
50 views

Adjust tikz-figure as a subfile on the text width (svjour3 template)?

I have to use the svjour3 document style. In my document, I need to include a fault tree which I created in a different file/chapter. My problem: Unfortunately, the tree is not adjusted to the normal ...
0
votes
2answers
133 views

How to remove the vertical space generated changepage package's adjustwidth

Consider the minimal example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{changepage} \newenvironment{testenvironment}[2]{ \textbf{#1} \textbf{#2} % \vspace*{-6pt} % ...
1
vote
1answer
39 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} \...
1
vote
2answers
81 views

How to fix the width of the table?

I want to control the width of my table, but the width is so long. Could I get some ideas to fix this problem? \begin{table} \centering \caption{The examples of DTW distance for the Weizmann datasets....
2
votes
1answer
50 views

adjustwidth and newenvironment

Edit: thank you for commenting. I've edited the question to use lstnewenvironment but it keeps giving the same error. I will keep the question here while I go read the lstlistings manual. The ...
0
votes
0answers
68 views

Indenting the whole easylist

I want to indent an easylist under a \subparagraph so that it looks the same way as it would be under regular \paragraph. Doing \indent\begin{easylist} doesn't work, the indent size is the same as ...
0
votes
0answers
133 views

change width within \newtheoremstyle

I've defined a new theorem environment which is surrounded by a shaded box. My code looks like this: \usepackage{xcolor} \usepackage{amsthm} \usepackage{framed} \colorlet{shadecolor}{gray!50} \...
0
votes
1answer
213 views

adjustwidth not working

When I used adjustwidth on a long circuit, the entire figure appears. But when I added a figure before that circuit, it just performs as if adjustwidth wasn't there (i.e. part of it gets clipped on ...
0
votes
0answers
79 views

\footnotetext in a \caption indented different than \footnote

I have to put a footnote in the caption of a table and of a figure. Due to the fact that using \footnote it just display the number but it doesn't show the tex in the footnote part, I used: \begin{...
2
votes
2answers
288 views

Adjust to column width and vertical text

I've tried several different solutions that I read here for the problem I'm having but none of them have worked. So I'm sorry if I'm repeating the question. So I have this code: \begin{table}[htb]...
0
votes
3answers
493 views

\adjustwidth only working on right margin

I have a (horizontally) big table constructed with table, ThreePartTable and longtabu. I want it to fit in a single page. For that I am trying to increase margins with adjustwidth, then expanding the ...
1
vote
1answer
86 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}{...
3
votes
3answers
226 views

How can I avoid newline when adjustwidth and eqnarray?

adjustwidth inserts a redundant newline only when it is used with eqnarray. How can I avoid it? Input: \documentclass{article} \usepackage{changepage} \begin{document} \noindent Hello World! \...
1
vote
1answer
110 views

How to put a figure on the left space of a large indented paragraph without breaking the paragraph?

I have a standalone document that creates a figure using tikz package as below: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) -- (1,1); \end{...
2
votes
2answers
159 views

Environment undefined ONLY when referencing a preamble.tex

I'm trying to use R Markdown to typeset some notes and I'm having difficulty using the \adjustwidth environment. The issue only arises when I reference some preamble.tex. For instance, if I have a ...
2
votes
0answers
54 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} \...
2
votes
1answer
961 views

Adjustwidth not working for shifting ltablex table to the left

I want to shift my table slightly to the left of the page (exceeding left text width boundary). After many googles I however keep having trouble and can't manage to get ˙\adjustwidth` to work: \...
4
votes
2answers
414 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{...
2
votes
2answers
773 views

Temporarily adjusting the text width with paragraphs that extend to the following page

I'm using the memoir class and the adjustwidth* environment to extend some parts of the text beyond the outer margins. It's a twoside document and if understand correctly the changepage package manual ...
1
vote
1answer
264 views

Avoiding linebreak before environment adjustwidth

In the MWE, after the arrow the line is empty and the text starts in a new line. Can I achieve that the text starts after the arrow? Neither ~ nor \nolinebreak do not work. The arrow should be where ...
3
votes
1answer
166 views

Adjustwidth of all sections

Is there any way to adjustwidth of all sections without writing all the time adjustwidth? For example \begin{adjustwidth}{1.3cm}{} is repeated twice: \documentclass[10pt,a4paper]{article} \...
1
vote
1answer
167 views

Easylist inside adjustwidth

My MWE: \documentclass{article} \usepackage{xcolor,amssymb} \usepackage[ampersand]{easylist} \usepackage{changepage} \usepackage{etoolbox} \usepackage{lipsum} \begin{document} \begin{adjustwidth}{...
1
vote
2answers
1k views

Long table, caption and notes require adjustment of position - adjustwidth doesn't work

I have the problem that I would like to hand in an article, however I am required to use the templete the journal provides with multiple restrictions, e.g. a hughe offset on the left side. Now I want ...
3
votes
1answer
2k views

CV draft file problems

I have downloaded a CV draft file for LaTeX and I've got some problems and need your help. The draft files consist of two files, one of which is the class file (twentysecondcv.cls) and the other one ...
1
vote
2answers
921 views

Adjust width of long table in landscape to fit in page

I have been making an assignment for my class in landscape form using long table. It is turning to be larger than the page, so I used the adjustwidth package to move the margins, but it only moves the ...
2
votes
1answer
87 views

Adapt font height to get same size of another text

I have the following command: \newcommand\adaptwidth{2}{\1 \2} When I use it like this \adaptwidth{foo}{bar}, I get the following rendering: Then, I want to adjust the width of bar by varying the ...
1
vote
1answer
81 views

Page number behaviour with memoir and adjustwidth environment crossing page break

When I use memoir and decrease the margin widths across a page break with the adjustwidth environment, the page number is pushed sideways. What's going on? \documentclass{memoir} \newlength{\...
1
vote
0answers
199 views

Tabular and tabu environment problems

I am using tabular environment for long time and it gives me good results as overflowing problem of tabular environment can be managed using \adjustbox command. But problem with tabular is it can not ...
1
vote
3answers
345 views

Fitting Tabulars inside page limits

I'd like to limit a tabular element (not a table) to make it fit inside the page limits. It is indented by default and I'd like to have the same indentation on the right side as well. Both columns ...
3
votes
2answers
7k views

How do I fit a table in one page?

I have very basic knowledge of LaTeX and I have been using LibreOffice's Word2LaTeX conversion software to convert my tables. However, I cannot seem to fit the tables into one page when I put the code ...
2
votes
1answer
2k views

problem with adjustwidth and image

I want to put my figure to the left of the page without using \newgeometry package. I have found on the internet some solutions, but it seems that they did not work for me. I have also put in the ...
1
vote
1answer
210 views

memoir's adjustwidth environment mis-adjusts the right margin?

Here is my simplest file where I see this problem: \documentclass[article,titlepage,12pt,openany,draft]{memoir} \usepackage{calc} \usepackage[dvipsnames]{xcolor} \definecolor{shadecolor}{gray}{0.85} ...
1
vote
1answer
101 views

Enlarge outer margin over two pages on twosided document

I am quite happy with adjustwidth* to enlarge the outer margin in a twosided LaTeX document. My problem is, that it doesn't seem to work if the environment is spread over two pages. \documentclass[...
2
votes
1answer
788 views

adjustwidth inside minipage produces overfull hboxes

I'm trying to typeset paragraphs with different margin widths inside a minipage. To do this I'm using an adjustwidth environment from the changepage package. This typesets fine, but (since my ...