KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › sectsty에서 글꼴 크기 변경 (kotex 사용시 한영 폰트 크기 설정 방법)

Kotex | 2020.08.26 11:42:23 | Skip to menu Write

현재 overleaf를 사용하여 XeLaTeX를 컴파일러로 사용중입니다. chapter section subsection 각각에 기본 글자 크기와 색을 부여하고자 하여 sectsty 패키지를 사용하였습니다. 그렇게하여 글자색은 설정이 되었으나 글자 크기는 한글에만 적용이 되고 영어에는 적용이 되지 않습니다. 혹시 어떠한 해결법을 사용하여야 하나요? 코드는 아래에 첨부하였습니다. 1.1 introduction은 글자 크기가 그대로 이고 1.2 서론만 크기가 적용된 상황입니다.

추가적으로 titlesec도 사용해보려 하였으나 실패하였는데 (아예 적용이 안됌) sectsty 패키지와 함께 사용시 충돌이 있는건가요?

 

\documentclass{report} 
\usepackage{kotex}
\usepackage{xcolor}

\usepackage{sectsty,ulem}  %챕터 글자색 설정
\chaptertitlefont{\color{blue}}
\chapternumberfont{\color{blue}}
\sectionfont{\color{blue}}
\sectionfont{\fontsize{50}{30}}
\subsectionfont{\color{blue}}


\begin{document}


\chapter{연속체 역학 개론}
\section{Introduction}
안녕하세요 Hello world!
\section{서론}
이것이 서론 {\Huge \textbf{생각보다 글씨체가}} 괜찮아보이는가
\subsection{이런거도 있음}
\subsubsection{이런거마저}
{\huge 영어와 gksrmf이 섞인다면}
\subsubsection{이건 숫자 지원 안하나}
duddj와 한글이 섞인다면


\end{document}

제목 없음.png

 


 

Attachment [1]

Comment [4]

Write a comment

List Delete

KTUG 한국 텍 사용자 그룹