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>처럼 입력하시면 좋습니다.

문의번호 2032를 oblivoir 간단 버전으로 변경하여 빌드 후 PDF문서를 아크로뱃으로 읽어들여  속성 "글꼴"에서 확인하면 설정하지 않은 "LMSans17-RegularType1" 폰트가 2회 포함되어 있습니다. 

이 폰트를 파일에서 정의한 "TeX Gyre Heros" 폰트로 표기하고 싶습니다. 

변경하는 방법에 대한 조언을 구하고자 합니다.

font_list.jpg

\documentclass[
    10pt,
    chapter, 
    hangul, 
    twoside, 
    openright, 
    footnote, 
    showtrims, 
    itemph,
   % amsmath,    
   % adjustmath,
    microtype 
]{oblivoir}


\usepackage{xetexko}
\usepackage{xetexko-hanging}


\defaultfontfeatures{Ligatures=TeX}

\setmainfont{TeX Gyre Pagella}
\setsansfont{TeX Gyre Heros}
\setmonofont{DejaVu Sans Mono}
\setmainhangulfont[BoldFont={* Bold}]{NanumMyeongjo}
\setsanshangulfont{NanumBarunGothic}
\setmonohangulfont[Scale=MatchLowercase]{NanumBarunGothic}

%\hanjabyhangulfont
\xetexkofontregime{latin}[puncts=prevfont, quotes=prevfont, cjksymbols=hangul, colons=latin, hyphens=latin]

\usepackage{mathtools}
\usepackage{unicode-math} 
\setmathfont{XITS Math}


\usepackage{xparse}
\usepackage{graphicx}

\newsubfloat{figure}

\ExplSyntaxOn
\NewDocumentCommand \tempfnlabel { m }
{
    \int_zero_new:c { g_tmpfncounter_#1_int }
    \int_gset:cn { g_tmpfncounter_#1_int } { \value{footnote } }
}

\NewDocumentCommand \tempfncounter { m }
{
    \int_use:c { g_tmpfncounter_#1_int }
}
\ExplSyntaxOff

\begin{document}
 
\chapter{처음 시작}
 
\section{처음 시작}

\begin{figure}[!ht]
\centering
\caption{image source test.\protect\footnotemark\tempfnlabel{main}\label{fig:first}}
\subbottom[sample1\protect\footnotemark\tempfnlabel{suba}]{\includegraphics[width=0.4\linewidth]{example-image-a}}\label{fig:sub1}%
\quad
\subbottom[sample2\protect\footnotemark\tempfnlabel{subb}]{\includegraphics[width=0.4\linewidth]{example-image-b}}\label{fig:sub2}%
\end{figure}
\footnotetext[\tempfncounter{main}]{footnote of caption}
\footnotetext[\tempfncounter{suba}]{footnote of subcaption1}
\footnotetext[\tempfncounter{subb}]{footnote of subcaption2}

\end{document} 

번호 제목 글쓴이 날짜 조회 수
공지 Minimal Working Example을 첨부해주세요 [4] nanim 2015.06.23 230378
2755 경로/파일명에 한글이 포함된 경우 [5] 궁뎅이 2023.09.08 258
2754 minipage 환경에서 그림이 한 줄로 나오지 않네요. [2] file moscow 2023.09.01 261
2753 Doxygen 과 MikTex 4.8를 사용하여 PDF문서화 할 때 한글 지원 문제 [3] latex 초보 2023.01.30 272
2752 MacTeX 2023에서 xelatex 컴파일시 한글 폰트 못 찾는 문제 [4] file 오동이 2023.05.26 292
2751 oblivoir에서 amsmath의 varnothing 기호 [10] 핑크돌고래 2023.08.20 298
2750 1개의 표에 2개의 캡션 [2] file aud 2023.08.29 298
2749 LaTeX 2022 설치 ( TeXLive 2022 설치중 한글사용자 이름 문제 ) [2] file 푸르릉 2022.10.05 307
2748 Tangle 사용법? [14] 전자 2024.01.11 310
2747 TexLive 2022로 업그레이드 후 한글 폰트 인식 문제가 발생하네요? [2] 김종열 2023.02.26 320
2746 한글Markdown문서로 pdf 생성할 때 kotex 설정하는 방법(Sphinx, ReadtheDocs 환경) [4] jspaik 2022.10.05 330
2745 Unicode character (U+F8F1) not set up for use with LaTeX. \end{align*}  [1] lee 2022.08.24 332
2744 페이지마다 레이아웃을 달리 하고 싶습니다. [2] inter 2023.08.27 336
2743 부산체 글꼴을 쓰고 싶습니다. [9] puzzlist 2023.08.24 337
2742 TeXLive 2023업데이트후 \hangulfontspec{ }에 한글글꼴이름 인식문제 [4] 구름이 2023.05.28 351
2741 장평 조절, 폰트 [2] 987 2022.10.02 362
2740 chapter style을 변경해보려고 했는데 헤매네요. [16] file 판돌이 2022.11.04 364
2739 그림으로 페이지가 넘어갈때, 앞페이지 텍스트가 위로 가도록 하려면 [2] file hccho2 2023.08.06 366
2738 맥m2 _2023_설치 후 colorjamo 깨짐 현상이 있습니다. [3] file mason8888 2023.04.28 370
2737 obchaptertoc 관련 사례 소개 요청 [14] file 판돌이 2024.01.28 383
2736 tikz에서 def명령어 사용시 에러가 납니다. [2] 고양이 2023.01.13 392



XE Login