Typstã§âTeXãã´âããã話
以åã«âTeXã®ãã´âã«ã¤ãã¦è¨äºãæ¸ãã¾ããã
- ä»ãã人ã«èããªãâTeXã®ãã´âã®ããã³ï¼Qiita/zr_tex8rï¼
ãã®è¨äºã§ã¯ãâTeXãã´âã®ç±ççãªãã¡ã³ãTeX以å¤ã§æ£ããâTeXãã´âãåºåããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¦ãã¾ããå ·ä½çã«ã¯HTMLï¼CSSããã³Microsoft Wordãæ±ã£ã¦ãã¾ãã
ä»ä¸éã§è©±é¡ã«ãªã£ã¦ããâTeX以å¤âã¨ããã°ããã£ã±ãTypstã§ãããç±ççãªãã¡ã³ã§ããã°ãå½ç¶Typstã§ãâTeXãã´âï¼ããã³âLaTeXãã´âï¼ã使ãããã¨ããã§ãã
â»ã¡ãªã¿ã«ãSATySFiã«ããã¦ã¯æ¨æºã©ã¤ãã©ãªã®pervasiveã«ããã¦âTeXãã´âã¨âLaTeXãã´âãåºåããããã®\TeX
å½ä»¤ã¨\LaTeX
å½ä»¤ãæä¾ããã¦ãã¾ãã
Typstã§âTeXãã´âãã¦ã¿ã話
ã¨ããããã§ãã¤ãã£ã¦ã¿ã¾ããã
#let TeX = { [T]; "\u{2060}" box({h(-0.1667em); box(move(dy: 0.2153em)[E]); h(-0.125em)}) "\u{2060}"; [X] } #let LaTeX = { [L]; "\u{2060}" box(style(styles => { let size = measure([T], styles) h(-0.36em) box(height: size.height, {text(size: 0.7em)[A]}) h(-0.15em) })) "\u{2060}"; TeX }
ãã®texloog0.typãã©ã¤ãã©ãªã¨ãã¦ã¤ã³ãã¼ããã¾ã1ã
#import "texloog0.typ": *
ããã«ãã次ã®2ã¤ã®å¤2ã使ããããã«ãªãã¾ãã
ãã¡ããTypstã®ãã¼ã¯ã¢ããã¢ã¼ãã®ä¸ã§ä½¿ãå ´åã«ã¯#TeX;
ã®ããã«æ¸ããã¨ã«ãªãã¾ãã以ä¸ã§ç°¡åãªãµã³ãã«ã示ãã¾ãã
#import "texlogo0.typ": * #set text(font: "Harano Aji Mincho") #TeX;è¨èªã¯è¶ 絶ã¢ã¬ã#LaTeX;ã¯å¾®ã¢ã¬ã âã¯éã¢ã¬ã
ãã®ææ¸ãã³ã³ãã¤ã«ããã¨ä»¥ä¸ã®åºåãå¾ããã¾ãã
ç¡äºã«Typstã§âTeXãã´âã§ãã¾ããï¼å¹¸ãðï¼
ã¾ã¨ã
ä»å¹´ãä¸å¹´ããããã¨ããããã¾ããï¼
ZRãã¨ããããã§ãæ¥å¹´ãå½ï¼ãã ããªãï¼ããã°ããããããé¡ããã¾ãï¼ã
ï¼ãã¢ã¬ã¬ããã¿ç»åãå®å
¨ã«2å¹´åã®ä½¿ãåãã ð²ã
ZRãâ¦â¦â¦â¦â¦â¦3ã
-
æå¾ã®
*
ã¯ãå ¨ã¦ã¤ã³ãã¼ããã表ããã®ã§ãä¾ãã°ãããTeX
ã«å¤ããã¨#TeX
ã ããã¤ã³ãã¼ãããã¾ãã↩ -
TeX
ã¨LaTeX
ã¯contentãè¿ãé¢æ°ã§ã¯ãªãcontentå¤ãã®ãã®ã§ãã↩ - ãã§ããå¤ããã¨ãã¦ã誰ã®å¾ã«ããªããªãã®ã§ãããã¯çååãããã¨ã«ãã¾ãããð↩