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.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

“Missing \endgroup inserted” with tabular - possible mismatch with adjustbox?

I am writing a document for which I need to insert tables produced by the statistical progam Stata. More specifically I am using Stata package outreg2. Here is an example of the type of a table that I ...
1
vote
1answer
30 views

Tiltle of a big table in overleaf

I am using overleaf latex website for my thesis. I am trying to write a title above a table; I have tried different way but I do not know how. Would you please help! \documentclass[12pt]{uthesis-...
1
vote
2answers
34 views

Wrap text around table in nested enumerate environments

As a follow-up question to Wrap text around table in itemize environment, I'd like to contain an enumerate environment and a table inside another enumerate environment. Right now, the table appears ...
0
votes
0answers
23 views

How add title (caption) to adjustbox

How can I add a title to a table using the adjustbox package? Where should I put the $\caption$ parameter, so that it appears on the top? \begin{adjustbox}{width=\textwidth} \centering \begin{tabular}...
0
votes
1answer
45 views

Using tcolorbox, but the color is not exactly the right color

I am using the following code \documentclass[oneside]{book} \usepackage[utf8]{inputenc} \usepackage{tcolorbox} \usepackage{xcolor} \newtcolorbox{tbox}[3][] { colframe = #2!25, colback = #...
1
vote
1answer
22 views

tabularx and rotatebox: Vertical Centre on Page

I have a tabularx table that has been rotated 90 degrees using rotatebox, contained in a figure. Something is preventing LaTeX from centring the figure on the page: it is close, but slightly too far ...
1
vote
2answers
73 views

How to make the text fit into the cells of this table?

I'm trying to create a big table using Latex. The result must be something like this: but what I get it's something like this: \documentclass{article} \usepackage{tabularx} \usepackage{adjustbox} \...
7
votes
2answers
132 views

Why adjustbox needs a tweak of raise=-0.3ex with enumitem?

The MWE below yields the desired results. But, is there a better way to get this alignment instead of the raise=-0.3ex: Without the raise=-0.3ex, the item number is not aligned with the text: Code: ...
2
votes
1answer
69 views

Division by zero error when using adjustbox and makebox

first question in this stack community. I'm trying to create a new style for title page: \documentclass{article} \usepackage[italian]{babel} \usepackage[paper=a4paper, top=4cm, bottom=2.5cm, left=2....
0
votes
1answer
49 views

Complex table over multiple pages in combination with adjustbox

Problem statement I am fairly new to tables in Latex and currently really struggling with the longtable package. Questions as to how to make tables over multiple pages have already been asked several ...
2
votes
3answers
217 views

Tikzpicture in figure problem

Below is my MWE. My only problem is, I need the tikzpicture to be pagewidth (textwidth) and not overflow to the right. I tried adjustbox, fbox and resizebox. \documentclass[ a4paper, % ...
1
vote
1answer
24 views

frame option from adjustbox does not work in tex4ht

This MWE works in pdf. It puts frame around an image. But in HTML I see no frame produces \documentclass[12pt]{article}% \usepackage{graphicx} \usepackage[export]{adjustbox}%for frame option \begin{...
1
vote
1answer
62 views

Adjusting perimeter of colorbox to fit text

Consider this MWE: \documentclass[11pt]{article} \usepackage[left=1.5cm,top=2.5cm,right=3.5cm,bottom=3.2cm,a4paper]{geometry} \usepackage{xcolor} \usepackage{adjustbox} \usepackage{setspace} \...
1
vote
1answer
122 views

Tcolorboxes side by side [closed]

I want to put to tcolorboxes side by side in a beamer document. I am using tcbraster to split the page in two. However, the two tcolorboxes are placed one below the other and not side by side. ...
1
vote
1answer
47 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
41 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[...
13
votes
4answers
424 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
82 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
182 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
41 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
233 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
92 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
187 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
75 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
43 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
266 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
64 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
36 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
59 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
97 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
51 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
70 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
274 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
110 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 ...
4
votes
1answer
265 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
169 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
274 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
435 views

Adjust minipage height with \adjustbox

I want to align three images like this, only specifying the total height, like this: ______ _________ | | | | | | | | | | |_________| | | _________ | | | ...
0
votes
3answers
289 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
301 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
220 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
153 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
68 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/...
4
votes
1answer
727 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
31 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
251 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
195 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
41 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
141 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]{...