![文本从新行开始](https://linux22.com/image/383307/%E6%96%87%E6%9C%AC%E4%BB%8E%E6%96%B0%E8%A1%8C%E5%BC%80%E5%A7%8B.png)
我正在按照这个项目使用 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}