
저는 대학 지원을 위해 대학에 제출할 확장 연구 초록을 준비하고 있습니다. 지금 내 파일에는 제목, 저자 등이 있습니다. 제가 하고 싶은 것은 첫 번째 페이지 맨 위에(위의) 짧은 메모(회색조 또는 초록과 구별되는 다른 글꼴이 바람직함)를 삽입하는 것입니다. 제목)에는 연구 내용을 설명하고 초록을 보낼 부서의 이름 등이 표시됩니다.
어떻게 하면 될까요?
답변1
그래서 당신은 다음과 같이 할 수 있습니다. 비록 그것이 당신이 찾고 있는 것인지는 확실하지 않지만:
\documentclass{article}
\usepackage{titling}
\usepackage{xcolor}% specify driver e.g. [pdftex] if custom configuration requires it; omit otherwise for maximum portability
\newcommand{\myprelude}{}
\newcommand{\prelude}[1]{%
\renewcommand{\myprelude}{#1}}
\makeatletter
\pretitle{%
\if\myprelude\@empty\relax
\else
\centering\textcolor{black!75}{\myprelude}
\fi%
\begin{center}\LARGE}
\makeatother
\author{Some B. Ody}
\title{Really great stuff}
\prelude{Some stuff before.}
\begin{document}
\maketitle
\begin{abstract}
Here is my abstract.
\end{abstract}
Here is my article.
\end{document}
이것이 그레이스케일의 의미인지 잘 모르겠습니다. 그레이스케일은 단순한 흑백 또는 완전한 컬러 모델과 달리 단지 흑백-회색 등입니다. 따라서 그 자체로는 실제로 색상을 원하지 않는다는 의미입니다. 아마도 이것은 다른 모든 것이 파란색으로 되어 있기 때문일 수 있지만 실제로는 검정색이 아닌 회색처럼 강렬한 색상을 원하지 않는다는 뜻인 것 같습니다. 75를 적절하게 조정하십시오. (텍스트를 더 어둡게 만들려면 늘리고, 더 밝게 만들려면 줄입니다. 검정색은 100, 흰색은 0입니다.)
편집: xcolor 옵션은 생략될 수 있습니다. 이를 지적한 egreg에게 감사드립니다.
답변2
또 다른 옵션은 다음과 같습니다.titling
\documentclass[a4paper,11pt]{article}
notitlepage
제목과 초록을 같은 페이지에 배치합니다 . 기사 클래스의 기본값은 입니다
notitlepage
. 별도의 제목 페이지를 원하는 경우 다음과 같이 옵션을 전달할 수 있습니다.titlepage
\usepackage{xcolor}% here we can use gray color
\title{What ever title you have}
\author{ABC}
%\date{} uncomment if you want date to be 'Removed'
\begin{document}
\centering{\textcolor{gray}{What ever you want to write here}}
{\let\newpage\relax\maketitle}%\since maketitle inserts a \newpage
\maketitle
\begin{abstract}
Here goes your abstract
\end{abstract}
\end{document}