헤더의 텍스트와 유사한 형태의 라텍스 정렬

헤더의 텍스트와 유사한 형태의 라텍스 정렬

###### YYYY 연구

제목---------: bla bla에.

스피커 ----: .........................................

방------: 줌

라텍스로 이런 걸 어떻게 만들 수 있나요? ( : 앞에 문자열 "----"을 생략하고 싶지만 :을 정렬해야 함)

답변1

상자를 사용할 수 있습니다.

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

\documentclass{article}

\newlength{\presentationtitles}
\setlength{\presentationtitles}{4em}

\begin{document}

\noindent\makebox[\presentationtitles][l]{Title}: On the blah blah

\noindent\makebox[\presentationtitles][l]{Speaker}: Random Randofsky

\noindent\makebox[\presentationtitles][l]{Room}: Zoom

\end{document}

다음을 사용하면 비슷한 결과가 가능합니다 tabular.

\documentclass{article}

\begin{document}

\noindent
\begin{tabular}{@{} l @{ : } l }
  Title   & On the blah blah \\
  Speaker & Random Randofsky \\
  Room    & Zoom
\end{tabular}

\end{document}

관련 정보