일단 대학원 때에 비해서 R markdown을 주로 사용할 일이 많지 않기 때문에 갑자기 발생한 오류를 대처하기 위한 방법을 서술한 것이다.

더 좋은 방법이 있을 수 있지만 임시 대처를 하는 정도라면 괜찮은 방법이다.

결론부터 말하자면 latex패키지의 하나인 microtype의 slot 또는 text commands 에러가 난다는 것은 default로 설정된 글꼴에서 몇 몇 글자를 처리하지 못한다는 말이다.

보통 microtype이 이런 경우 개입해서 처리하지 못할법한 문자는 처리가 쉬운 다른 글자로 바꿔주는데 현재 사용 중인 한국어 글꼴인 경우 microtype의 설정값이 없어서 제대로 처리가 되지 않을 확률이 높다.

한국어 조판시 특정 한국어 글꼴을 사용하고 있을텐데 해당 글꼴이 영문, 숫자, 특수문자 중 조판을 못한다는 것이다.

해결방법은 “영문, 숫자, 한자 등을 모두 포함한 트루타입 글꼴을 사용” 하거나 또는 “한국어 글꼴만 별도로 지정하고 나머지는 default 글꼴을 사용하는 것”이다.

이 외에도 microtype 설정값을 만들어줘도 되지만 매우 번거롭고 단번에 해결되지 않을 확률이 높아서 여기서는 소개하지 않는다.

microtype패키지는 대표적인 한국어 조판용 패키지인 kotex를 설치, 이용하면 자동으로 사용되는데 kotex에는 한글폰트와 한자폰트, 메인폰트를 설정할 수 있는 명령어가 있다.

---
always_allow_html: yes
header-includes:
- \usepackage[hangul]{kotex}
- \setmainhangulfont{나눔고딕}
- \setmainfont{Microsoft Sans Serif}

output:
  pdf_document: 
    keep_tex: yes
    latex_engine: xelatex
  html_document:
    df_print: paged
---

rmd파일 속 헤더 내 kotex패키지 사용시 \setmainhangulfont{폰트이름} 명령어를 사용하면 한국어 조판시에는 해당 폰트를 사용하게 된다.

한국어 조판 때에만 사용하기 때문에 해당 글꼴이 처리하지 못하는 문자가 나오더라도 더 이상 microtype 에러가 나지 않는다.


46개의 댓글

金万达 · 2022-03-09 12:27 오전

You choose peace or war?

Much Photos Watch · 2022-03-13 8:31 오후

How is the COVID situation over there?

online bahis casino · 2022-04-27 12:11 오후

I have recently started a web site, the information you provide on this site has helped me tremendously. Thank you for all of your time & work. Bo Layher

유흥구직 · 2022-06-01 8:52 오후

Yes, jobs with Google are in really higher demand, so there’s lots of competitors.

就爱要 · 2022-06-12 7:36 오전

Where there is a will, there is a way.

sikis izle · 2022-07-17 7:36 오후

Excellent pieces. Keep posting such kind of information on your page. Terrell Amen

sikis izle · 2022-07-18 2:03 오전

This design is steller! You obviously know how to keep a reader amused. Hunter Pirone

eskort · 2022-07-18 8:35 오전

You have brought up a very wonderful details, thank you for the post. Karl Barbot

kacak bahis siteleri · 2022-07-19 11:10 오전

Hello. This article was extremely remarkable, particularly since I was looking for thoughts on this topic last Friday. Kip Guillermo

NrfxReeft · 2022-08-10 5:40 오후

Nimotop Buspar Cilostazol

casino · 2022-08-11 6:53 오전

Your means of telling everything in this post is in fact nice, all be capable of without difficulty know it, Thanks a lot. Brant Medieros

Wdxcdaurf · 2022-08-23 9:14 오후

computer science thesis what is a thesis sentence how long is a phd thesis

EybwxGuche · 2022-08-24 1:43 오전

cover letter writing services master thesis writing service academic paper writers

JvbySakpsyday · 2022-08-24 11:44 오후

states synonym for essay essay about yourself example cover page for essay

AtvbLoale · 2022-08-25 6:17 오전

paying someone to write a paper buying term papers online wanted freelance writers

JbukReeft · 2022-08-26 9:50 오전

help with term paper pay to write papers cv writing services usa

Wxevdaurf · 2022-08-28 7:29 오후

how to write a reflective essay how to cite a quote in an essay who am i essay

ExecGuche · 2022-08-28 10:46 오후

compare and contrast essay examples for college mla citation in essay example how to write an opinion essay

AqsLoale · 2022-08-29 1:06 오후

research argumentative essay abortion essay cause and effect essay

JxcrSakpsyday · 2022-08-30 5:37 오전

200 word essay easy argumentative essay topics conclusion of an essay

JxecReeft · 2022-08-30 5:41 오후

the crucible essay friendship essay free compare and contrast essay examples

kobe · 2022-08-30 11:41 오후

I simply wanted to thank you so much yet again. I’m not certain the things I might have accomplished in the absence of those points revealed by you relating to such a topic. Completely was the horrifying circumstance in my position, however , observing the professional technique you managed the issue took me to leap over contentment. I am just thankful for the work as well as expect you are aware of an amazing job that you are putting in educating men and women with the aid of your site. Most likely you haven’t encountered any of us.

pg 1 · 2022-08-31 9:45 오전

I have to voice my respect for your kind-heartedness supporting persons who require assistance with this one content. Your personal dedication to passing the message all through appeared to be wonderfully invaluable and has usually permitted folks just like me to achieve their ambitions. Your personal invaluable information implies a whole lot to me and far more to my colleagues. Thanks a ton; from all of us.

supreme shirt · 2022-09-02 10:26 오후

I wish to express my love for your generosity supporting those who really want help on this important content. Your very own commitment to passing the solution around appears to be rather good and have usually permitted guys and women much like me to attain their targets. Your new interesting help and advice indicates this much to me and especially to my fellow workers. Thank you; from each one of us.

russell westbrook shoes · 2022-09-03 2:29 오후

I want to voice my gratitude for your kind-heartedness for those who really want help with your topic. Your special dedication to passing the solution all over has been incredibly good and has consistently permitted girls like me to arrive at their objectives. Your entire informative report can mean a whole lot a person like me and even more to my office colleagues. Thanks a ton; from everyone of us.

off white shoes · 2022-09-04 4:14 오전

Thanks for your own hard work on this site. Betty delights in participating in investigations and it is simple to grasp why. We hear all of the compelling manner you produce efficient strategies by means of your blog and even strongly encourage participation from some others on the situation then our favorite daughter is certainly understanding a lot. Take advantage of the rest of the year. You’re the one conducting a first class job.

pg 4 · 2022-09-05 5:03 오전

I have to get across my affection for your generosity for individuals that really want assistance with this important idea. Your personal dedication to getting the message all over had become definitely effective and have continually helped many people much like me to get to their pursuits. Your invaluable information implies much to me and especially to my peers. Thank you; from each one of us.

Wmfsdaurf · 2022-09-05 5:44 오전

example of a narrative essay descriptive essay topics what is an informative essay

ggdb · 2022-09-05 7:43 오전

A lot of thanks for all of your labor on this site. My niece take interest in doing investigations and it is easy to see why. All of us know all regarding the lively manner you produce invaluable techniques on the website and in addition foster participation from other people on the matter so my girl is in fact becoming educated so much. Take pleasure in the remaining portion of the year. You’re the one carrying out a pretty cool job.

off white · 2022-09-06 3:20 오전

I wish to voice my love for your kindness giving support to persons who have the need for help with that content. Your personal commitment to passing the solution all around appears to be certainly advantageous and has permitted women like me to get to their aims. Your personal warm and helpful key points can mean a whole lot a person like me and somewhat more to my fellow workers. Best wishes; from each one of us.

kyrie irving · 2022-09-07 4:57 오후

I needed to send you a little word in order to say thank you yet again with your nice concepts you’ve provided at this time. This has been really wonderfully generous with people like you to supply without restraint just what a lot of folks would’ve advertised as an e book to make some cash for their own end, primarily considering that you might well have tried it if you ever wanted. Those concepts in addition worked like the fantastic way to know that the rest have similar fervor really like my own to see a whole lot more when it comes to this condition. I believe there are millions of more pleasant occasions ahead for people who read through your blog.

golden goose · 2022-09-09 2:43 오후

I would like to show my passion for your kindness supporting those people who have the need for assistance with the topic. Your special dedication to passing the solution all around appeared to be rather beneficial and has consistently encouraged individuals much like me to reach their dreams. Your personal valuable guidelines signifies a whole lot a person like me and far more to my fellow workers. Thanks a ton; from each one of us.

bape clothing · 2022-09-14 7:02 오전

I want to voice my affection for your kindness in support of those who need assistance with that theme. Your very own dedication to passing the solution along ended up being certainly practical and has permitted workers just like me to realize their pursuits. Your personal invaluable guidelines entails much to me and somewhat more to my fellow workers. Thanks a lot; from each one of us.

supreme · 2022-09-15 9:47 오전

I really wanted to post a note to be able to say thanks to you for some of the lovely guides you are posting here. My particularly long internet look up has at the end been recognized with good insight to share with my good friends. I would say that most of us visitors actually are very fortunate to exist in a decent network with many outstanding people with very helpful basics. I feel quite happy to have seen the weblog and look forward to really more pleasurable moments reading here. Thanks a lot again for everything.

yeezy 500 blush · 2022-09-20 7:29 오후

I intended to put you that bit of word to finally give many thanks again over the wonderful solutions you’ve shown in this case. It is quite remarkably open-handed with people like you to convey openly precisely what most people would’ve supplied for an e book to help with making some bucks on their own, particularly considering the fact that you could have done it if you ever desired. These basics in addition worked like the good way to fully grasp other individuals have a similar fervor just as my very own to learn a whole lot more on the subject of this condition. I think there are millions of more fun opportunities in the future for individuals who find out your blog.

curry shoes · 2022-09-22 10:07 오전

I wanted to post you that very little remark to be able to say thanks once again with your wonderful solutions you’ve discussed in this article. It’s really incredibly open-handed of you to supply without restraint exactly what most people would’ve sold for an ebook to earn some money for themselves, mostly now that you could have tried it if you desired. The things additionally worked like a good way to realize that someone else have the same desire the same as my own to understand a great deal more around this problem. I believe there are a lot more pleasurable periods ahead for individuals who see your site.

curry 9 · 2022-09-22 3:40 오후

I precisely needed to say thanks once again. I do not know what I could possibly have carried out in the absence of the actual aspects provided by you directly on this concern. It has been a real fearsome setting for me, however , encountering a new well-written form you resolved that took me to weep for gladness. Now i am happy for your advice and thus hope that you really know what a great job you were undertaking educating other individuals through a web site. More than likely you haven’t come across all of us.

kd13 · 2022-09-24 11:45 오후

Thank you so much for giving everyone an extremely brilliant opportunity to discover important secrets from here. It can be very amazing and also packed with fun for me and my office acquaintances to visit the blog at a minimum three times a week to find out the newest things you have got. And of course, we are actually fascinated with the impressive strategies served by you. Some two tips in this posting are rather the simplest we have ever had.

yeezy supply · 2022-09-25 5:41 오전

I wish to get across my appreciation for your kind-heartedness supporting men who should have guidance on that issue. Your real dedication to passing the message throughout had become pretty significant and have surely empowered men and women much like me to reach their aims. Your amazing valuable recommendations can mean a lot to me and far more to my peers. Best wishes; from everyone of us.

off white hoodie · 2022-09-25 7:06 오후

I wish to express my affection for your generosity for men who require guidance on the field. Your real dedication to getting the message throughout appeared to be really significant and has consistently encouraged girls just like me to reach their endeavors. Your own interesting suggestions indicates much to me and much more to my colleagues. Many thanks; from everyone of us.

golden goose sneakers · 2022-09-26 1:13 오후

My wife and i felt very more than happy when John could complete his investigation via the precious recommendations he made from your very own web page. It is now and again perplexing to just be giving for free information and facts which often men and women have been trying to sell. We fully grasp we’ve got the writer to appreciate because of that. The most important explanations you have made, the easy blog navigation, the friendships you will help foster – it is mostly wonderful, and it’s facilitating our son and our family recognize that that subject matter is awesome, which is certainly tremendously pressing. Thank you for all!

kd shoes · 2022-09-27 10:33 오전

I have to point out my affection for your kind-heartedness giving support to individuals that should have guidance on this subject matter. Your personal commitment to getting the message throughout turned out to be especially effective and have specifically enabled guys and women much like me to attain their pursuits. The helpful report implies a great deal to me and additionally to my mates. Thank you; from each one of us.

golden goose sneakers · 2022-09-28 4:47 오전

I have to convey my passion for your kind-heartedness giving support to those who really need guidance on in this area of interest. Your special commitment to getting the solution all over appears to be surprisingly informative and has surely empowered those like me to realize their goals. The insightful help and advice entails a whole lot a person like me and still more to my peers. Warm regards; from everyone of us.

JynmnSakpsyday · 2022-09-29 5:54 오전

metformin dissolution profile metformin uveal melanoma metformin pcos benefits

댓글 남기기

이메일은 공개되지 않습니다. 필수 입력창은 * 로 표시되어 있습니다