카테고리 줄에 작은 텍스트를 어떻게 추가하나요?

카테고리 줄에 작은 텍스트를 어떻게 추가하나요?

선택한 프로젝트 라인의 오른쪽에 작은 회색 텍스트를 어떻게 추가합니까? 여기에 이미지 설명을 입력하세요

나는 텍스트가 줄에 있고, 더 작은 글꼴과 회색이기를 원합니다. /tiny를 사용해 보았지만 개별 요소 색상을 변경하고 오른쪽으로 재배치하는 방법을 찾을 수 없습니다.

\documentclass[12pt,letterpaper,sans]{moderncv}      
% moderncv themes
\moderncvstyle{banking}                             % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{red}                               % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'

\usepackage[scale=0.85]{geometry}
%\setlength{\hintscolumnwidth}{3cm}                % if you want to change the width of the column with the dates
%\setlength{\makecvtitlenamewidth}{10cm}           % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...
\usepackage{multicol}

% personal data
\name{My}{Name}
\title{Designer/Developer}
\address{123 Main Street}{Anytown, USA 20192}
\phone[mobile]{(555) 555-5555}                
\email{[email protected]}                            
\homepage{www.asdasd.com}                        
\social[linkedin]{asdasdasd}                                    
\social[github]{asdasdasd}                                                                        

\begin{document}
\makecvtitle
\vspace*{-13mm}
%\setlength{\hintscolumnwidth}{0.15\textwidth}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Selected Projects}

\hspace*{\fill}
\begin{minipage}{\maincolumnwidth}
 \begin{multicols}{2}
   \textbf{\href{http://google.com/}{Google}}
   \begin{itemize}
     \item Googley Google
   \end{itemize}
   \columnbreak
   \textbf{\href{https://asdasdds.com}{asdasdasdasdasd}}
   \begin{itemize}
        \item asdasdads
   \end{itemize}
 \end{multicols}
\end{minipage}

\hspace*{\fill}
\begin{minipage}{\maincolumnwidth}
 \begin{multicols}{2}
   \textbf{\href{http://adsasd.com}{asdasdasd}}
   \begin{itemize}
     \item asdasdasd
   \end{itemize}
   \columnbreak
   \textbf{\href{https://asdasdd.com}{asdasdasdasd}}
   \begin{itemize}
     \item adsasdasdasd
   \end{itemize}
 \end{multicols}
\end{minipage}     
\end{document}

답변1

여기에서는 오른쪽 끝까지 배치했습니다. 그게 원하는 건가요? 핵심은 다음과 같습니다.

\section{Selected Projects\hfill\scriptsize\textcolor{gray}{small text goes here}}

MWE는 다음과 같습니다.

\documentclass[12pt,letterpaper,sans]{moderncv}      
% moderncv themes
\moderncvstyle{banking}                             % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{red}                               % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'

\usepackage[scale=0.85]{geometry}
%\setlength{\hintscolumnwidth}{3cm}                % if you want to change the width of the column with the dates
%\setlength{\makecvtitlenamewidth}{10cm}           % for the 'classic' style, if you want to force the width allocated to your name and avoid line breaks. be careful though, the length is normally calculated to avoid any overlap with your personal info; use this at your own typographical risks...
\usepackage{multicol}

% personal data
\name{My}{Name}
\title{Designer/Developer}
\address{123 Main Street}{Anytown, USA 20192}
\phone[mobile]{(555) 555-5555}                
\email{[email protected]}                            
\homepage{www.asdasd.com}                        
\social[linkedin]{asdasdasd}                                    
\social[github]{asdasdasd}                                                                        

\begin{document}
\makecvtitle
\vspace*{-13mm}
%\setlength{\hintscolumnwidth}{0.15\textwidth}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Selected Projects\hfill\scriptsize\textcolor{gray}{small text goes here}}

\hspace*{\fill}
\begin{minipage}{\maincolumnwidth}
 \begin{multicols}{2}
   \textbf{\href{http://google.com/}{Google}}
   \begin{itemize}
     \item Googley Google
   \end{itemize}
   \columnbreak
   \textbf{\href{https://asdasdds.com}{asdasdasdasdasd}}
   \begin{itemize}
        \item asdasdads
   \end{itemize}
 \end{multicols}
\end{minipage}

\hspace*{\fill}
\begin{minipage}{\maincolumnwidth}
 \begin{multicols}{2}
   \textbf{\href{http://adsasd.com}{asdasdasd}}
   \begin{itemize}
     \item asdasdasd
   \end{itemize}
   \columnbreak
   \textbf{\href{https://asdasdd.com}{asdasdasdasd}}
   \begin{itemize}
     \item adsasdasdasd
   \end{itemize}
 \end{multicols}
\end{minipage}     
\end{document}

여기에 이미지 설명을 입력하세요

관련 정보