Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [adjustbox]

{adjustbox} package allows to adjust general (La)TeX material in several ways using a key=value interface. It got inspired by the interface of \includegraphics from the graphicx package. This package also loads the trimclip package whose code was once included in this package.

1
vote
1answer
38 views

Adjust expression

How to adjust this expression \documentclass[a4paper,twoside,12pt]{ article} \usepackage[latin1,utf8,utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \frenchbsetup{...
1
vote
2answers
26 views

Content aligned with a figure changes positions when the figure is uncovered (beamer)

When I align two minipages together, the contents location changes after a figure in one minipage is uncovered. The distance from the rule to the upper palettes illustrates this \documentclass[...
14
votes
4answers
367 views

How to cut off part of a letter

I want to cut off the very top left part of an uppercase R. I tried using \adjustbox, but it cuts off the whole top part, which is not what I want. Here's the MWE, the corresponding output and the ...
4
votes
1answer
74 views

Clipped symbol in table caption

I want to place a clipped math symbol in table caption. This MWE works until I uncomment the marked line \documentclass{amsart} \usepackage{trimclip} \begin{document} \begin{table} \caption{Clipped ...
3
votes
3answers
111 views

Combining sidewaystable, adjustbox and threeparttablex

I need to have a table which 1) is sideways 2) is rescaled to fit the page 3) has tablenotes. I'm trying to combine sidewaystable, adjustbox and threeparttablex to do so, but I encounter three ...
1
vote
1answer
36 views

Using adjustbox in tex4ht does not work. Is this known limitation?

This MWE, thanks for solution from this post %----------------------------- \documentclass[12pt]{article} \usepackage{graphicx} \usepackage[export]{adjustbox} \begin{document} \begin{enumerate} \...
4
votes
3answers
109 views

Silencing overfull hbox warning for listing in adjustbox

I have the following in my document and it works as I expect, scaling the listing to fit the page, but it gives me a spurious Overfull \hbox warning that I would like to get rid of: \begin{adjustbox}{...
2
votes
1answer
56 views

How do I set the Rotate attribute for a landscape page of a pdf produced by xelatex?

I've adopted this answer to rotate a table and its caption. I do not want to rotate the header, the footer, the section title not the paragraph on the same page. Now I want to change the Rotate ...
0
votes
1answer
73 views

Multirow table with big column entries

\documentclass[12pt,notitlepage,oneside]{report} \usepackage{makecell,multirow} \usepackage{adjustbox} \begin{document} \begin{table} \def\arraystretch{3} \centering \begin{tabular}{|p{3cm}|c|} \...
1
vote
1answer
67 views

Extra vertical space at end of last column when loading adjustbox (only luatex)

I have noticed some odd extra vertical when placing boxes in a twocolumn layout: \documentclass[a5paper]{article} \usepackage{calc} % issue only happens with adjustbox loaded \usepackage{adjustbox} ...
0
votes
1answer
39 views

After page-break my node does not exist anymore

After page-break my node (string) gets lost. Only at the first page my node "100" is shown. This code contains parts from @skillmon @ulrike fischer @saso Thank you at this point. I know i should post ...
1
vote
1answer
140 views

“Can't use \vadjust in internal vertical mode” triggered by two-line hanging caption, using adjustbox, caption packages

I want: a floating table with caption (with hanging indent), such that both the table and caption are surrounded by a frame filled with a background color. My environment hierarchy is table » adjust ...
4
votes
2answers
50 views

Restrict background color to varwidth's narrower width with adjustbox?

I want to wrap a frame, with background color, around each table, with its caption included within the frame. For the frame, I've adapted Martin Scharrer's answer to "Adding border around figure and ...
1
vote
2answers
35 views

Can't adjust table decently

The following LaTeX code generates a table, but it surpasses the limits of the page: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} \begin{table}[H] \begin{tabular}{|c|c|c|c|...
0
votes
0answers
23 views

Table height exceeded page border [duplicate]

I know that some tricks, like using adjustbox, would restrict a table to the page length vertically. However, is there a similar approach to apply such a vertical length restriction?
1
vote
1answer
44 views

How to globally stretch text height, keeping the margin limits?

I am working with a designer that requires the height of the font type we are using to be stretched by a factor of 1.2. I have succeeded doing so using the adjustbox package, as described in the post ...
1
vote
2answers
48 views

Problems adjustbox moves to another subsection

I have difficulties with adjustbox. I had created a subsection and inside it is a table and this table moves to another subsection and I do not know how to fix this problem. I hope your help, please: ...
0
votes
1answer
34 views

Vertical alignment of nested itemized lists in tabular

Why are A1, B1, and C1 not aligned? Shouldn't p align them on top? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{adjustbox} \usepackage{enumitem} \usepackage{booktabs} \usepackage{...
1
vote
1answer
43 views

Rotating captions with adjustbox does not work when floatrow package is loaded

I tried to rotate a figure and its caption using the adjustbox package. This works fine, until I load the floatrow package too, then the caption isn't rotated. See my MWE: \documentclass{article} \...
1
vote
1answer
147 views

Set default value for “max width” of “includegraphics”

I'd like to set a default value for max width (and max height) for \includegraphics elements. I have \usepackage[export]{adjustbox} in the preamble so images have the max width key. Then I tried to ...
1
vote
1answer
62 views

Using adjustbox type functionality with supertabular

I am trying to add a long table to a two column latex document. Since the table is long, without continuing in the 2nd column, it continue in the first column like below. Following is the current ...
3
votes
1answer
163 views

Cropping images to box

Is there any easy way in (Lua)LaTeX to crop an image to a specific bounding box, but only cropping on the one dimension which is too large for the box? A solution to crop on the height could be the ...
2
votes
3answers
117 views

Centering a box independent of documents margin

Is there a way to center a box (for example, adjustbox) even if the documents margins are not equal (left and right)? \documentclass{article} \usepackage{adjustbox} \usepackage[pass]{geometry} \...
2
votes
2answers
182 views

Adjustbox margin

I want to display a vertical line in the middle of my document. For creating the line I use tikz and for adjusting a margin I use adjustbox. \documentclass[a4paper,12pt]{article} \usepackage{tikz} \...
2
votes
2answers
218 views

Adjust minipage height with \adjustbox

I want to align three images like this, only specifying the total height, like this: ______ _________ | | | | | | | | | | |_________| | | _________ | | | ...
-1
votes
3answers
180 views

scale box problem in table

i was working on a table which is rotated by 90 degrees. I don't know what i might have deleted, and I don't get an output anymore. I have an extra } to put somewhere, but wherever I put it, it does ...
1
vote
2answers
128 views

Long and rotated table

I'm trying to make a table over multiple pages (longtable) and over the width of the page. Is there a way to combine these two? I tried sideaystable, adjustbox and landscape, but they do not seem ...
0
votes
1answer
149 views

Arrows between adjustbox minted blocks in two columns using tikzmarks?

I'd like to put two minted source code blocks in two beamer columns with arrows pointing between the two (tikzmark-based) and use adjustbox to scale the code blocks down to columnwidth This ...
1
vote
2answers
126 views

Centering something that is scaled to fit an empty beamer slide

I am trying to fit something in a beamer slide so that it covers the entire frame width, but what I get seems to be offset to the right by \hoffset. Here is a MWE: \documentclass{beamer} \usepackage{...
0
votes
1answer
50 views

adjustbox package printing parameters rather than evaluating them?

I'm trying to fit a table to the page width. I'm using the adjustbox package: \documentclass[letterpaper]{report} \begin{document} \begin{adjustbox}{width=0.8*\the\textwidth} \input{tables/...
3
votes
1answer
515 views

! LaTeX Error: File `adjustbox.sty' not found on Fedora 27

I was trying to save a Jupyter notebook as a pdf. I have run sudo dnf install texlive But am getting the error ! LaTeX Error: File `adjustbox.sty' not found.
1
vote
1answer
29 views

Vertically bottom-align an image in a table with variable cell-heights

I have a problem vertically aligning an image with \adjustimage from the adjustbox-package in a table. I am creating many tables automatically and they have the same layout of one X column with a text ...
3
votes
1answer
145 views

Adjustbox, can I move caption with the content using lap?

Let's say I want to include an oversized margin figure that is allowed to stick into the normal text area using adjustbox, perhaps by something like this: \documentclass{memoir} \usepackage{adjustbox}...
1
vote
0answers
146 views

[table, xcdraw]{xcolor} table with {adjustbox}: color overwrites horizontal lines [closed]

I have the following table; for some reason the coloured cells make some horizontal cell lines to be overwritten. I have tried hhline (as posted here and here) solution, but the problem still appears. ...
0
votes
1answer
38 views

centerentry command / vertical + horizontal space

I use the centerentry command of Using icons left of the text and symbols in the text line But as you see in the example, the two symbol lists are not well grouped. Do you have any idea? vertical ...
1
vote
1answer
127 views

Teared or jagged paper trim/crop using Adjustbox

Just for the looks of it I would like to have jagged or teared edges on my clipped examples seen in the picture below. Is this possible without major hacking? MWE: % \documentclass[11pt,a4paper]{...
1
vote
1answer
226 views

Scaling an mdframed box

What is the trick for scaling an mdframed box? If I comment out the \begin{MyEnv} and \end{MyEnv} in the \adjustbox, I get the scaling effect, but I want the entire mdframed box to be scaled? Code: ...
0
votes
1answer
199 views

Table font too small in landscape mode

I have a table with 22 columns which I want to fit in a landscape mode page. Currently, following an advice found in this forum, I am using the "adjustbox" page with the following codes. Although this ...
2
votes
1answer
279 views

Adjustbox around an align* environment

I want to put an adjustbox around an align* environment such that the entire align* environment is scaled down to have a height of .1\textheight. I tried \documentclass{article} \usepackage{adjustbox}...
3
votes
1answer
273 views

TikZ standalone will not center

I am drawing a TikZ picture as a standalone file and then I use \includestandlaone in my main document. When I insert the file the picture is not centered even though I use \centering. How can I fix ...
3
votes
2answers
74 views

Problems locating an adjustbox under a section [duplicate]

I just want a section title and an adjustbox with a table below. The fact is that they exchange their placement, i.e. the table appears above. I tried some command like an hypothetical halign? ...
1
vote
1answer
101 views

Listing is mixed up with the text in second column [closed]

I have the following long listing. I used an adjustbox to fit the lines and added [float=*] to the listing properties in order to fit it into two columns. I am using this template which is a two ...
3
votes
3answers
377 views

Pass frame option to \includegraphics by default?

I'm a professional typesetter and in my job I format papers for scientific journals. One of my task is (in some cases) to crop images to remove extra space between the images and the bounding box. ...
1
vote
2answers
555 views

adjustbox with equation and tikzpicture

I want to write an equation on top of a tikzpicture within an adjustbox, but I'm getting this (I just wrote one equation): the MWE follows: \documentclass{article} \usepackage[utf8]{inputenc} \...
4
votes
1answer
443 views

Placement of figures inside an ntheorem environment

I would like to wrap text around a figure in a ntheorem like environment. Currently, I am trying to use the cutwin package, which was suggested e.g. in this question: How to wrap around a figure in a ...
3
votes
3answers
1k views

Fit table into page

I have been trying to create a (simple) table via tablesgenerator with unsatisfying output so far. I would like to create the following table (Table 4. Summary of Selected....) but it wont fit into my ...
1
vote
1answer
216 views

Table Fit Between Title and Bottom of Page

I am new to LaTeX and I've been learning a lot in the last 4 months. Unfortunately I have recently encounter a problem with a large table, that I am trying to fit within a page, and I can't find a ...
4
votes
2answers
98 views

How can I make an adjustbox enviroment with margins fit in textwidth?

I am trying to create an enviroment with colored background. I have defined it in two ways: \documentclass{article} \usepackage[x11names]{xcolor} \usepackage{adjustbox} \newsavebox{\savedbox} \...
4
votes
1answer
133 views

\adjustbox with XeLaTeX misplaces hyperlinks

This is minimal (not) working example that comes from much bigger document: \documentclass{article} \usepackage{adjustbox} \usepackage{hyperref} \begin{document} \newcommand\hreftt[2]{% \href{#...
0
votes
1answer
81 views

2 Tikzpicktures, 2 Subfigures in 1 adjustbox, 1 slide and some errors

I'm having problems with my beamer presentation, I would like to insert 2 Tikz subfigures into only one slide. For that I'm using an adjustbox but I'm having errors. When I put each tikzpicture ...