Tex¿¡¼­ svg(scalable vector graphics file) ±×¸² ÆÄÀÏ ¾²´Â ¹æ¹ý

¡¡

1. INKSCAPE¸¦ ¼³Ä¡ÇÑ´Ù.

https://inkscape.org/en/gallery/item/11263/inkscape-0.92.2-x64.msi

https://inkscape.org/en/gallery/item/11266/inkscape-0.92.2-x86.msi

2. TexLive±âÁØÀ¸·Î TeXworks¸¦ ½ÇÇà½ÃŲ´Ù.

   ÆíÁý --> ȯ°æ¼³Á¤ ¼±ÅÃÇÑ´Ù.

2. ¹®¼­Ã³¸®¸¦ ¼±ÅÃÇÑ´Ù. ¹®¼­Ã³¸® µµ±¸¸¦ »õ·Î¸¸µé±â À§ÇÏ¿© +¸¦ ¼±ÅÃÇÑ´Ù.

   µµ±¸ ¼³Á¤Ã¢ÀÌ ¶ß¸é À̸§¿¡ pdfLaTex+ShellEscape ¶Ç´Â Àû´çÇÑ À̸§À» ÀÔ·ÂÇÑ´Ù.

   ÇÁ·Î±×·¥¿¡ pdflatex.exe¸¦ ÀÔ·ÂÇÑ´Ù.

   ÀÎÀÚ¿¡ ³»¿ëÀ» Ãß°¡Çϱâ À§ÇØ +¸¦ ¼±ÅÃÇÑ´Ù.

   $synctexoption ÀÎÀÚ¸¦ Ãß°¡ÇÑ´Ù.

   °°Àº ¹æ½ÄÀ¸·Î --shell-escape¿Í $fullname ÀÎÀÚ¸¦ Ãß°¡½ÃŲ´Ù.

   ¹®¼­Ã³¸®ÈÄ PDF º¸±â¸¦ üũÇسõ´Â´Ù.

   È®ÀÎÀ» ¼±ÅÃÇÑ´Ù.

   ¹®¼­Ã³¸®µµ±¸¿¡ pdfLaTex+ShellEscape °¡ ¸¸µé¾îÁø °ÍÀ» È®ÀÎÇÑ´Ù.

   ¸¶Áö¸·À¸·Î È®ÀÎÀ» ¼±ÅÃÇÑ´Ù.

¡¡

3. TexÆÄÀÏ¿¡¼­ ´ÙÀ½°ú °°ÀÌ È¯°æÆÄÀÏ¿¡ ÷ºÎ½ÃŲ´Ù.

   \usepackage{svg}

   \setsvg{inkscape = "C:/Program Files/Inkscape/inkscape.exe" -z -D}

¡¡

4. TexÆÄÀÏ¿¡¼­ svgÆÄÀÏÀ» ³ÖÀ» À§Ä¡¿¡ ´ÙÀ½°ú °°Àº ¸í·É¾î¸¦ È°¿ëÇÏ¿© svgÆÄÀÏÀ» Tex¹®¼­¿¡ ³ÖÀ» ¼ö ÀÖ´Ù.

   \includesvg[height=7.5cm]{sample.svg}.

¡¡

<Âü°í>

https://inkscape.org

http://mirrors.ctan.org/graphics/svg/doc/svg.pdf

https://ctan.org/pkg/svg

https://en.wikipedia.org/wiki/Scalable_Vector_Graphics

https://github.com/mrpiggi/svg

¡¡

¡¡

¡¡

¡¡

¡¡