KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › oblivoir 문서 newsubflot 이용 그림 삽입 후 폰트 관련하여 조언을 구합니다.

pinder | 2020.02.13 05:22:56 | 메뉴 건너뛰기 쓰기

문의번호 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} 

댓글 [2]

댓글 쓰기

목록

KTUG 한국 텍 사용자 그룹