首页 > 解决方案 > 乳胶小节去除虚线

问题描述

请建议我如何从技术技能部分中删除虚线
链接到错误图像

\section{TECHNICAL SKILLS}
\vspace{-4mm}
\begin{minipage}[t]{.6\textwidth}
\subsection{Languages}
\paragraph{Proficient:}
\textbullet{} Test \textbullet{} Test \textbullet{} Test \textbullet{} Dart \textbullet{} Test \\ 
\location{Familiar / Studying:}
\textbullet{} Test \textbullet{} Test \\
\end{minipage}

在此处查找代码:https ://www.overleaf.com/read/wxwpscypyhrc

谢谢,

标签: formattinglatextex

解决方案


几个问题:

  • \location没有定义。您必须定义它或不使用它。忽略错误消息不是一种选择

  • 在这个特定的文档类\paragraph中没有定义。您必须定义它或不使用它。忽略错误消息不是一种选择

  • 如果您未提供所需信息,则不得使用\makecvtitle. 特别是空地址会导致错误消息。忽略错误消息不是一种选择

  • 删除您可以使用的小节中的虚线\renewcommand*{\subsectionrule}{}

  • 序言中的\vspace*{-12mm}没有任何用处


\documentclass[11pt,a4paper,roman]{moderncv}        
% possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
% modern themes
\moderncvstyle{banking}
\moderncvcolor{black}                                
% color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\usepackage[utf8]{inputenc}
\usepackage{fontawesome}
\usepackage{tabularx}
\usepackage{ragged2e}

\usepackage[scale=0.85]{geometry}
\usepackage{multicol}

\usepackage{import}
\vspace*{-12mm}

\name{Test}{Test}
\address{}{}{}

\newcommand*{\customcventry}[7][.25em]{
  \begin{tabular}{@{}l} 
    {\bfseries #4}
  \end{tabular}
  \hfill% move it to the right
  \begin{tabular}{l@{}}
     {\bfseries #5}
  \end{tabular} \\
  \begin{tabular}{@{}l} 
    {\itshape #3}
  \end{tabular}
  \hfill% move it to the right
  \begin{tabular}{l@{}}
     {\itshape #2}
  \end{tabular}
  \ifx&#7&%
  \else{\\%
    \begin{minipage}{\maincolumnwidth}%
      \small#7%
    \end{minipage}}\fi%
  \par\addvspace{#1}}

\newcommand*{\customcvproject}[4][.25em]{
%   \vfill\noindent
  \begin{tabular}{@{}l} 
    {\bfseries #2}
  \end{tabular}
  \hfill% move it to the right
  \begin{tabular}{l@{}}
     {\itshape #3}
  \end{tabular}
  \ifx&#4&%
  \else{\\%
    \begin{minipage}{\maincolumnwidth}%
      \small#4%
    \end{minipage}}\fi%
  \par\addvspace{#1}}

\setlength{\tabcolsep}{12pt}

\newcommand{\location}[1]{#1}
\newcommand{\paragraph}[1]{#1}
\renewcommand*{\subsectionrule}{}
\address{12 somestreet}{3456 somecity}

\begin{document}
\makecvtitle
\vspace*{-11mm}

\begin{center}
\begin{tabular}{ c c c c }
 \faEnvelopeO\enspace \href{mailto:test@gmail.com}{\underline{test@gmail.com}} & \faGithub\enspace \href{https://github.com/}{\underline{test-name}} & \faMobile\enspace 12345678900 & \faLinkedinSquare\enspace \href{https://www.linkedin.com/}{\underline{test-test}} \\
\end{tabular}
\end{center}

\section{EDUCATION}
{\customcventry{1 Jan 1011}{Position}{University}{10 CGPA}{}{}}

{\customcventry{1 Jan 1011}{Position}{University}{10 CGPA}{}{}}

\section{PROJECTS}

{\customcvproject{Test name}{1 Jan 1011}
  {\begin{itemize}
    \item Test
    \item Reverse engineered obfuscated Java using a decompiler and reflection
  \end{itemize}
  }
}

{\customcvproject{Test name}{1 Jan 1011}
  {\begin{itemize}
    \item Test
    \item Reverse engineered obfuscated Java using a decompiler and reflection
  \end{itemize}
  }

{\customcvproject{Test name}{1 Jan 1011}
  {\begin{itemize}
    \item Test
    \item Reverse engineered obfuscated Java using a decompiler and reflection
  \end{itemize}
  }
}

\section{EXPERIENCE}

{\customcventry{Jan 1011}{Position}{Company}{US}{}
{\begin{itemize}
  \item Designed and built the first version of infrastructure code base which  teams’ monthly expenses on AWS servers by 100 thousand dollars.
\end{itemize}
}
}

{\customcventry{Jan 1011}{Position}{Company}{US}{}
{\begin{itemize}
  \item Designed and built the first version of infrastructure code base which  teams’ monthly expenses on AWS servers by 100 thousand dollars.
\end{itemize}
}
}

{\customcventry{Jan 1011}{Position}{Company}{US}{}
{\begin{itemize}
  \item Designed and built the first version of infrastructure code base which  teams’ monthly expenses on AWS servers by 100 thousand dollars.
\end{itemize}
}
}

{\customcventry{Jan 1011}{Position}{Company}{US}{}
{\begin{itemize}
  \item Designed and built the first version of infrastructure code base which  teams’ monthly expenses on AWS servers by 100 thousand dollars.
\end{itemize}
}
}

\section{TECHNICAL SKILLS}
\vspace{-4mm}
\begin{minipage}[t]{.6\textwidth}
\subsection{Languages}
\paragraph{Proficient:}
\textbullet{} Test \textbullet{} Test \textbullet{} Test \textbullet{} Dart \textbullet{} Test \\ 
\location{Familiar / Studying:}
\textbullet{} Test \textbullet{} Test \\
\end{minipage}
\begin{minipage}[t]{.5\textwidth}
\subsection{Spoken \& Written}
\location{Fluent:} \textbullet{} Test \textbullet{} Test \textbullet{} Test \\
\location{Learning:} \textbullet{} Test \\
\end{minipage}
\begin{minipage}[t]{.6\textwidth}
\subsection{Frameworks}
\textbullet{} Test \textbullet{} Test \textbullet{} Test \textbullet{} Test \\
\end{minipage}
\begin{minipage}[t]{.5\textwidth}
\subsection{Software / Version Control}
\textbullet{} Test \\
\end{minipage}

\vspace{-3mm}

\section{AWARDS AND ACHIEVEMENTS}
\begin{minipage}{\maincolumnwidth}%
    \small{
        \begin{itemize}
          \item Test
          \item Test
          \item Test
          \item Test
          \item Test
          \item Test
          \item Test
        \end{itemize}}%
\end{minipage}%
}

\end{document}

在此处输入图像描述


推荐阅读