이 효과를 얻을 수 있는 방법을 그런이야길 LaTeX:
기본적으로 it 다음과 같습니다. F} {}, {L IRST 를 조금 다른 것보다 더 큰 문자로 에터 있는 중괄호는 수준들과 그들은 모든 문자는 대문자화.
제안 사항을?
적응할 수 있는 코드를 한 expl3 그레그 최근 펴낸 예인선 (예인선, 볼륨입니다 39 (2018년), no.1, pg. 55). 이 솔루션은 Werner& # 39 의 작은 대문자 사용 등 솔루션 등 주요 문자는 대문자 입력되었는지 가정합니다. 그러나 크기 (확장명으로 및 기타 속성) 을 선택할 수 있습니다.
\documentclass[11pt]{article}
\usepackage{xparse}
\usepackage{expl3}
\ExplSyntaxOn
\NewDocumentCommand{\biglittlecap}{m}
{
\sheljohn_biglittecap:nn { #1 }
}
\tl_new:N \l__sheljohn_biglittecap_input_tl
\cs_new_protected:Npn \sheljohn_biglittecap:nn #1
{
% store the string in a variable
\tl_set:Nn \l__sheljohn_biglittecap_input_tl { #1 }
\regex_replace_all:nnN
% search a capital letter (or more)
{ ([A-Z]+ | \cC.\{?[A-Z]+\}?) }
% replace the match with \huge{match}
{ \cB\{\c{huge}\1\cE\} } % <=== could use large, Large (or some other command...)
\l__sheljohn_biglittecap_input_tl
\tl_use:N \MakeUppercase{\l__sheljohn_biglittecap_input_tl}
}
\ExplSyntaxOff
\begin{document}
\biglittlecap{\`Once \r{U}pon a Time}
\end{document}