软件包 tabularx 警告:X 列太窄(表格太宽)位于行 ****
\rightheader{~}
\begin{fullonly}
\end{fullonly}
\title{Curriculum Vitae}
\begin{document}
%\hyphenchar\font=-1
\makeheaders[c]
***\makerubric{experience}
\makerubric{education}
另外,参考第一个错误:
Overfull \hbox (9.18pt too wide) in paragraph at lines 3--4
Underfull \hbox (badness 10000) in paragraph at lines 3--4
Overfull \hbox (19.51994pt too wide) in paragraph at lines 3--4
Overfull \hbox (7.23997pt too wide) in paragraph at lines
设置:
\RequirePackage{silence}
\WarningsOff[longtable]
\WarningsOff[array]
\usepackage{ifxetex,ifluatex}
\newif\ifxetexorluatex
\ifxetex
\xetexorluatextrue
\else
\ifluatex
\xetexorluatextrue
\else
\xetexorluatexfalse
\fi
\fi
\RequirePackage{graphicx}
\RequirePackage[hyphens]{url}
\RequirePackage{babel}
\raggedright
\RequirePackage[fixed]{fontawesome5}
\newcommand{\smallcaps}[1]{\textsc{\lowercase{#1}}}
\RequirePackage[a4paper,nohead,nofoot,hmargin=1.27cm,vmargin=1.27cm]{geometry}
\RequirePackage{relsize}
\RequirePackage[dvipsnames,svgnames]{xcolor}
\RequirePackage{tikz}
\usetikzlibrary{shapes,shadows}
\RequirePackage{comment}
\definecolor{SwishLineColour}{HTML}{283583}
\definecolor{MarkerColour}{HTML}{B6073F}
\RequirePackage{csquotes}
\RequirePackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,text=white,fill=MarkerColour!80!black,font=\sffamily\scriptsize\bfseries,inner sep=1pt,text height=1.25ex,minimum width=1.25em,text centered] (char) {#1};}}
\headerscale{1}
%\setlength{\headerspace}{6pt}
\rubricfont{\Large\bfseries\sffamily}
\setlength{\rubricspace}{0pt}
%\setlength{\rubricafterspace}{-9pt}
\setlength{\rubricafterspace}{-10pt}
\setlength{\subrubricspace}{3pt}
\setlength{\subrubricbeforespace}{4pt}
\def@@rubrichead#1{%
\begin{tikzpicture}[baseline]%\
\shade[left color=SwishLineColour!60!white, right color=white] rectangle (@almosttextwidth,2.5pt);
\node[font={@rubricfont},inner sep=0pt,text ragged,anchor=south west,text depth=.5ex,text height=1.5ex] at (1pt,2pt) {#1};
\end{tikzpicture}%
\vspace\rubricspace%
}
\subrubricfont{\large\bfseries\sffamily}
\subrubricalignment{l}
\newcommand{\makefield}[2]{\makebox[1.5em]{\color{MarkerColour!80!black}#1} #2\hspace{2em}}
\keyalignment{r}
\rubricalignment{l}
\renewcommand{\arraystretch}{1.25}
\urlstyle{tt}
% \newcommand{\prefixmarker}[1]{\def@prefixmarker{#1}}
% \def@prefixmarker{\relscale{.9}\faBookmark}
\prefix{%
\hspace*{-1ex}
% \color{MarkerColour!80!black}@prefixmarker%
\hspace*{1ex}%
}
\newcommand{\makerubrichead}[1]{\vskip\baselineskip@@rubrichead{#1}}
\RequirePackage{pgffor}
\newcommand{\mynames}[1]{\def\my@namelist{#1}}
\newtoggle{boldname}
\RequirePackage[colorlinks=true,allcolors=black,breaklinks=true]{hyperref}```
Fix the error ... not sure how to fix the settings