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

ついに6年!東大TeX愛好会がお送りする「楽しむTeX/LaTeX」

domperor
December 15, 2020

 ついに6年!東大TeX愛好会がお送りする「楽しむTeX/LaTeX」

Online.tex 2020で発表した資料です.

domperor

December 15, 2020
Tweet

Other Decks in Technology

Transcript

  1. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ͍ͭʹ̒೥ʂ౦େ TEX Ѫ޷ձ͕͓ૹΓ͢Δ
    ָ͠Ή TEX/L
    A
    TEX
    Oura Mitsuaki (domperor)
    UT-TeX-Club/Tetsuryokukai
    Nov. 21
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  2. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ΋͘͡
    1 TEX/L
    A
    TEX Λָ͠΋͏ʂ
    ˠָ͍͠ϓϩάϥϛϯάݴޠͰ͢ʂνϡʔϦϯά׬શʂ
    2 ౦େ TEX Ѫ޷ձʢ@ut_tex_clubʣͷ঺հ
    ˠ͍ͭʹ̒೥͕ܦա͠Α͏ͱ͍ͯ͠·͢ʂ
    3 ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    A
    TEX धཁʯ
    ྫʣϚΫϩɼBibTeXɼը૾ͷճΓࠐΈɼTikZ etc.
    ˠ֤ࣗͷधཁʹ߹ΘͤΔ͜ͱ͕ษڧձΛଓ͚ΔίπͰ͢
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  3. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    1. TEX/L
    A
    TEX Λָ͠΋͏ʂ
    ಥવͰ͕͢օ͞·ʜʜ
    TEX/L
    A
    TEXɼָ͠ΜͰ·͔͢ʂʁ
    Τϥʔ͕਌੾ͳϓϩάϥϜʹ৐Γ׵͑Δͷ΋ख͚ͩͲʜʜ
    ʢྫɿSAT
    YSFIʣ
    Point!
    ࢥ͍͖ͬΓ TEX/L
    A
    TEX ʹৄ͘͠ͳͬͪΌ͑͹͍͍͡ΌΜʂ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  4. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ʢ͝ଘ஌ͷ௨ΓʣTEX ͸νϡʔϦϯά׬શ
    ଞͷϓϩάϥϛϯάݴޠͰͰ͖Δ͜ͱ͸ɼ
    TEX Ͱ΋༡΂Δʂ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  5. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ͨͱ͑͹ɼTEX Ͱڝϓϩʂ
    ʜʜͰ͖ΔΜͰ͢ʂຊ౰ʂ
    ʼ Ͳ͏΍ΒɼQiita ʹ౰Ѫ޷ձһͷهࣄ͕͋Γ·͢Ͷʜʜ
    https://qiita.com/Mopepe51/items/19ebc7c2171536580ee4
    ʼ ίʔυΰϧϑʢίʔυΛ୹͘ॻ͍ͨਓ͕উͪɼͷڝٕʣେձʹ͓͚
    Δࢲͷఏग़ʜʜ
    https://bit.ly/2HHZ1nw
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  6. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ˒ඪ४ೖྗΛಡΉ

    \read

    ɼඪ४ग़ྗʹॻ͖ग़͢

    \write

    ͸σϑΥϧτͰ
    ׬උ͞Ε͍ͯΔ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  7. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ϓϩάϥϛϯάݴޠͱͯ͠ͷੑ࣭͕͋ΔͷͰɼ
    PDF ग़ྗΛಘ͍ͨ৔߹΋৭ʑศརʂ
    օ༷͕ͨʹ͸ऍᷟʹઆ๏Ͱ͠ΐ͏͚ΕͲ΋ʜʜ
    ྫɿ࡭ࢠҹ࡮
    ཪදࢴͷϖʔδ൪߸͕̐ͷഒ਺ʹͳΔΑ͏ࣗಈͰۭനϖʔδΛૠೖ
    e.g. ຊจ͕ 13 ϖʔδ໨ͰऴΘͬͨΒɼ16 ϖʔδ໨ͷཪදࢴͱͷؒʹ
    14ɾ15 ϖʔδ໨ͷۭനϖʔδΛࣗಈૠೖ͢Δ
    จॻͷϝϯςφϯεੑ͕ߴ͘ͳΔ
    ྫɿจষதͷ Pa · L/(mol · K) Λ͢΂ͯ Pa · L · mol−1 · K−1 ʹม͑
    ͍ͨ
    ͦͷଞॊೈͳϚΫϩఆٛͰػೳ֦ுͰ͖Δ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  8. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ͜ͷ࿮͸ʮγϣʔτίϛϡχέʔγϣϯʯ
    ަྲྀ͠·͠ΐ͏ʂ
    Twitter Ͱ #TeX໺๬ or Zoom νϟοτ Ͱ͝هೖ͍ͩ͘͞ʢϒϨΠ
    ϯετʔϛϯάʣ
    ͓୊ɿTEX Ͱ͜Μͳ͜ͱͰ͖ͨΒ͍͍ͳ
    ྫɿ
    ʮTeX Ͱڝϓϩ #TeX໺๬ #OnlineTeX2020 ʯ
    https://hub.docker.com/r/esolang/tex
    ˠूܭͯ͠ࠓ೥ͷ Advent Calendar Ͱެ։
    ͞Βʹɼؒʹ߹͍ͦ͏ͳ΋ͷ͸࣮૷ͯ͠ެ։ʢ༧ఆʜʜʣ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  9. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    େֶαʔΫϧͰ TEX ʹಛԽ͍ͯ͠Δͷ͸͓ͦΒ͘།Ұ
    TEX/L
    A
    TEX Λษڧ͍ͨ͠ʢϨϙʔτ࡞੒ɼόΠτઌͷڭࡐ࡞੒ͳͲʣ
    TEX/L
    A
    TEX Λָ͠Έ͍ͨʂ
    TEX/L
    A
    TEX ίϛϡχςΟ΁ͷؐݩ
    ސ໰ͷઌੜํɼͻΖ͕Δ OB ͷྠʢ·ͩ OG ͸͍ͳ͍ʣ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  10. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    ̒೥ͷ͋ΏΈ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  11. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    3. ʮେֶੜͷ TEX/L
    A
    TEX धཁʯ
    ݄ྫ Seminarɿൃදऀ͕ษڧ͍ͨ͜͠ͱΛൃද͢Δ
    ˠςʔϚΛݟΕ͹ɼେֶੜͷ TEX/L
    A
    TEX ؔ࿈ͷؔ৺͕Θ͔Δ
    ೖ໳
    ͸͡ΊͯͷϨϙʔτ
    Overfull ͱ Underfull
    itemize
    MS Word ͰͰ͖Δ͜ͱ
    upL
    A
    TEX ΁ͷϑΥϯτΠ
    ϯετʔϧ
    New Font Selection
    SchemeʢNFSSʣ
    TikZ/PGFPLOTS/tcolorbox
    ը૾ͷுΓࠐΈͱճΓࠐ
    ΈʢemathMw.styʣ
    TEX/L
    A
    TEX ͔ͩΒͰ͖Δ
    ͜ͱ
    ϚΫϩఆٛʹ͓͚Δ

    \def

    ɼ

    \newcommand

    ɼ
    xparse
    BIBTEX ͷΧελϚΠζ
    beamer ೖ໳
    TEX ͷݪཧΛ஌Γ͍ͨ
    DVI ϑΝΠϧΛಡ΋͏
    TEX Directory Structure
    ʢTDSʣ
    ͦͷଞ
    ਖ਼نදݱ
    TEX/L
    A
    TEX ܳใࠂ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide

  12. 1. TEX/L
    ATEX Λָ͠΋͏ʂ
    2. ౦େ TEX Ѫ޷ձͷ঺հ
    3. ͜͜࠷ۙͷ Seminar ʹΈΔʮେֶੜͷ TEX/L
    ATEX धཁʯ
    Take Home Message
    1 TeX ͸ָ͍͠ϓϩάϥϛϯάݴޠͰ͢
    #TeX໺๬ ʹੋඇΞΠσΟΞΛ͓د͍ͤͩ͘͞
    2 ౦େ TeX Ѫ޷ձͱ͍͏ஂମ͕͋Γ·͢
    ͪΌΜͱ׆ಈ͍ͯ͠·͢ɻ৽׻ͯ͠ຖ೥෦һ͕͍·͢ɻ
    ̒೥໨ʹͳΓ·ͨ͠
    3 ษڧձΛଓ͚Δίπ
    TEX ͕ຊۀɼͱ͍͏෦һ͸͍ͳ͍ʹ݄̍ճ͘Β͍ʹམͪண͘
    ൃදऀʹ͔͔Δෛ୲Λେ͖͗͘͢͠ͳ͍
    ֤͕ࣗ޷͖ͳ͜ͱΛൃද͢ΔͱϞνϕʔγϣϯ͕͕͋Δ
    Oura Mitsuaki (domperor) TeXConf2020-UT-TeX-Club

    View full-size slide