Q&A 마당은 텍 관련 질문/답변을 위해 만들었습니다.

  • 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
  • 질문 전에 아래를 읽어 보세요. 좋은 질문이 좋은 답을 받을 수 있는 좋은 방법입니다.
    • 질문에 맞는 제목을 붙이세요. 질문의 내용과 관련없는 "고수님", "긴급질문", "도와주세요"와 같은 제목은 답이 잘 올라오지 않습니다. 이 게시판에 올라오는 모든 글은 질문입니다. 굳이 [질문], [Q]를 적으실 필요도 없습니다.
    • 내용을 충실히 적어 주시고, 같은 상황을 재현할 수 있는 최소한의 예제가 같이 있어야 합니다.
    • 최소 예제는 "Minimal working example"을 읽어 보세요.
  • 파일을 첨부하실 때에는 가능한 압축하여 파일 크기를 줄여서 올려주시길 바랍니다.
  • 개인적으로 사용하신 글꼴이 들어 있는 경우, preparefont.sty에 관한 답변을 참조하세요.
  • 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
    • 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
  • MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
  • 사용하는 편집기는 CKeditor입니다.
    • 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
    • 글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
    • 수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.

이기문

감사합니다.
그리고, 말씀하신대로 영어를 주 언어로 설정하고 나니
(한글의 기울임이 표현되지 않는 것은 원래 그렇다고 알고 있습니다만,)
한글의 Sans가 제대로 표시되지 않는 문제가 있습니다.
무슨 문제일까요?

 

Capture4.PNG

-------------------MWE--------------------------------------------------------

%!TEX TS-program = xelatex

%!TEX encoding = utf-8

%!TEX spellcheck = en-US

 

\documentclass{article}

 

\usepackage{polyglossia}

 

\setmainlanguage{english}

\setdefaultlanguage[variant=us]{english}

\setotherlanguage{hebrew}

\setotherlanguage[variant=ancient]{greek}

\setotherlanguage{korean}

 

\setmainfont{Times New Roman}% 일부러 같은 글꼴을 사용하고 크기를 다르게 하여 구별하

\setsansfont[Scale=0.7]{Times New Roman}

 

\newfontfamily\hebrewfont{Times New Roman}

\newfontfamily\hebrewfontsf[Scale=0.7]{Times New Roman}

\newfontfamily\greekfont{Times New Roman}

\newfontfamily\greekfontsf[Scale=0.7]{Times New Roman}

\newfontfamily\koreanfont[Scale=1]{Malgun Gothic}

\newfontfamily\koreanfontsf[Scale=0.7]{Malgun Gothic}

 

\begin{document}

\section{\textkorean{한국어 sans serif 글꼴을 지정했을 때 제대로 표시되지 않는 문제}}

\subsection{\textkorean{한국어 예제}}

normal Korean: \textkorean{한국어} \\

bold Korean: \textkorean{\textbf{한국어}}\\

sans Korean: \textkorean{\textsf{한국어}}\\

italic Korean: \textkorean{\textit{한국어}}\\

bold and sans Korean: \textkorean{\textsf{\textbf{한국어}}}\\

bold and italic Korean: \textkorean{\textit{\textbf{한국어}}}\\

sans and italic Korean: \textkorean{\textit{\textsf{한국어}}}\\

bold and sans and italic Korean: \textkorean{\textit{\textbf{\textsf{한국어}}}}

\subsection{\textkorean{영어 예제}}

bold and sans: \textbf{\textsf{English}}\\

bold and italic: \textit{\textbf{English}}\\

sans and italic: \textit{\textsf{English}}\\

bold and sans and italic: \textit{\textsf{\textbf{English}}}

\subsection{\textkorean{고대 그리스어 예제}}

bold and sans Greek: \textgreek{\textsf{\textbf{κύριε}}}\\

bold and italic Greek: \textgreek{\textit{\textbf{κύριε}}}\\

sans and italic Greek: \textgreek{\textit{\textsf{κύριε}}}\\

bold and sans and italic Greek: \textgreek{\textit{\textbf{\textsf{κύριε}}}}

\subsection{\textkorean{고대 히브리어 예제}}

bold and sans Hebrew: \texthebrew{\textsf{\textbf{משׁח}}}\\

bold and italic Hebrew: \texthebrew{\textit{\textbf{משׁח}}}\\

sans and italic Hebrew: \texthebrew{\textit{\textsf{משׁח}}}\\

bold and sans and italic Hebrew: \texthebrew{\textit{\textbf{\textsf{משׁח}}}}

\end{document}




XE Login