我该如何解决问题包 xkeyval 错误:'adjbox, Gin, adjcalc' 中未定义'minibox'?

我该如何解决问题包 xkeyval 错误:'adjbox, Gin, adjcalc' 中未定义'minibox'?

我正在为学生写解决问题的提示,我想把提示放在一栏中,右边距放上例子,左边距放上一些轶事笔记。我想旋转左边距的文本方向。下面的例子没有文本旋转也能正常工作。当我输入文本旋转时,我得到了 xkeyval 错误。我的搜索没有帮助解决我的问题。我试图做的是可能的吗?我添加了很多包,其中一些我确信是不必要的。在我的 MWE 之下。任何帮助都将不胜感激。

\documentclass[a4paper,final,oneside]{memoir}
\isopage[6] % Quick and dirty large margins
\checkandfixthelayout
\usepackage{graphicx,amsmath}
\usepackage{background}
\usepackage{adjustbox}
\usepackage{minibox}
\usepackage{xkeyval} % \RequirePackage{xkeyval}
\usepackage{lipsum}
\usepackage{footnote}
\usepackage{marginnote}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage{color}
\usepackage{xcolor}
\usepackage{geometry}
\geometry{
          a4paper,
          total={210mm,297mm},
          left=40mm,
          right=60mm,
          top=20mm,
          bottom=15mm,
}
\begin{document}
\frontmatter
\begin{adjustwidth}{}{-1.5in}
\centering
\vspace{1in}
\Huge Problem Solving Tips \\
\vspace{0.1in}
in Matrix Operations\\
and Elementary Linear Algebra

\normalsize
\vspace{1in}
 \Large Zilore Mumba
\vspace{5in}
\today
\vspace{1in}
\end{adjustwidth}
\break
\tableofcontents
\mainmatter
\chapter{Basic Matrix Operations}
The basic matrix operations which the student must be proficient in are: matrix
addition scalar and multiplication,

{\begin{adjustbox}{minibox=\textwidth,angle=180}
\sidepar{
The word matrix is late Latin for womb; it is the same root as
maternal or matrimony. The idea being that a matrix is a receptacle
for holding numbers. \\

}}
\end{adjustbox}
\marginpar{
Many abstract objects which will be encountered in various topics of linear algebra, such as "change of basis", "linear transformations","bilinear forms", etc can conveniently be represented by matrices.
}
matrixmultiplication and elementary row
and column operations. These operations are straight forward, General  tips:

\end{document} 

答案1

没有minibox钥匙;adjustbox应该里面 \sidepar,不在外面。

\documentclass[a4paper,final,oneside]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}

\usepackage{adjustbox}

\usepackage{lipsum}

\begin{document}

\mainmatter
\chapter{Basic Matrix Operations}
The basic matrix operations which the student must be proficient in are: matrix
addition scalar and multiplication,

\sidepar{%
  \begin{adjustbox}{minipage=\textwidth,angle=180}
  \raggedright
  The word matrix is late Latin for womb; it is the same root as
  maternal or matrimony. The idea being that a matrix is a receptacle
  for holding numbers.
  \end{adjustbox}
}

\lipsum

\end{document} 

在此处输入图片描述

不确定旋转是为了什么。

相关内容