我正在按照这个项目使用 Texmaker 创建简历。关联
\documentclass[]{mcdowellcv}
\usepackage{amsmath}
\name{Name Here}
\address{Address here \linebreak XYZ}
\contacts{+1 9999999999 \linebreak [email protected]}
\begin{document}
% Print the header
\makeheader
\begin{cvsection}{Education}
\begin{cvsubsection}{City Name State}{Some Lengthy College Name Some Lenghty}{2013}
\begin{itemize}
\item Bachelor of Technology in Computer Science and Engineering
\end{itemize}
\end{cvsubsection}
\end{cvsection}
\end{document}
输出是这样的。
我想要实现的是,大学名称应该保持在同一行,因为左右两侧都留有一些空间。
答案1
快速又简单:将你的大学名称放入一个框中
% !TeX TS-program = lualatex
\documentclass[]{mcdowellcv}
\usepackage{amsmath}
\name{Name Here}
\address{Address here \linebreak XYZ}
\contacts{+1 9999999999 \linebreak [email protected]}
\begin{document}
% Print the header
\makeheader
\begin{cvsection}{Education}
\begin{cvsubsection}{City Name State}{\mbox{Some Lengthy College Name Some Lenghty}}{2013}
\begin{itemize}
\item Bachelor of Technology in Computer Science and Engineering
\end{itemize}
\end{cvsubsection}
\end{cvsection}
\end{document}