Upgrade to Pro — share decks privately, control downloads, hide ads and more …

それ, LaTeX でできるよ

それ, LaTeX でできるよ

LaTeX で名刺を作る

Kaneko Tatsuya

February 27, 2013
Tweet

More Decks by Kaneko Tatsuya

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ • ۚࢠୡ࠸ • ͸ͯͳ ID: catatsuy • twitter: catatsuy

    URL: • http://www.catatsuy.org • http://blog.catatsuy.org • https://matw.co
  2. L ATEX〝〤 • ཧܥͷσϑΝΫτελϯμʔυͳจষ࡞੒πʔϧ • ਺ࣜ (eiθ = cos θ

    + i sin θ) ͕ࣗવʹѻ͑Δ • ແྉͰࣗ༝ͳιϑτ΢ΣΞͰߏ੒͞Ε͍ͯΔ • ग़ྗ͕ॲཧܥʹΑͬͯࠨӈ͞Εͳ͍
  3. ༨ന〣ઃఆ • L A TEX ͸্ͱࠨͷ༨ന͕σϑΥϧτͰ 1 inch \setlength{\hoffset}{0in} \setlength{\voffset}{0in}

    \setlength{\headheight}{0in} \setlength{\headsep}{0in} \setlength{\oddsidemargin}{-1truein} \setlength{\topmargin}{-1truein} \pagestyle{empty}
  4. ը૾ • EPS ͩͱ dvipdfmx Ͱॲཧ͢Δࡍʹ Ghostscript ͷ ॲཧ͕૸Δ •

    Ghostscript ͸τϥϒϧͷݩͰ஗͍ͷͰ png/jpg/pdf Λ࢖͏
  5. RGB → CMYK • PNG/JPEG ͷ৔߹ • PhotoShop/GIMP/ImageMagick • EPS

    ͷ৔߹ʢ PDF ΁ͷม׵ʣ • Acrobat Distiller/Ghostscript Ghostscript Ͱ EPS ϑΝΠϧΛ CMYK ͷ PDF ʹ͢Δྫ ps2pdf -dEPSCrop -dPDFA \ -sProcessColorModel#DeviceCMYK \ -dPDFSETTINGS#/prepress
  6. picture ؀ڥ • L A TEX Λ͓ֆ͔͖ιϑτʹ͢Δࠜװ • pict2e ΛಡΈࠐΉͱඳ͚Δਤܗͷ੍ݶ͕ͳ͘ͳΔ

    \usepackage[dvipdfm]{pict2e} \setlength{\unitlength}{1truemm} \begin{picture}(91,55)(0,0) \put(x,y){} \end{picture}