\documentclass[dvipdfmx,b5j,10pt]{jsarticle} \usepackage{mypackage,convert-jpfonts} \title{\pl{convert-jpfonts.sty}} \author{\pl{Hugh}} \begin{document} \maketitle \section{概è¦} 本パッケージã¯ï¼Œæ—¥æœ¬èªžæ–‡æ›¸ã«ãŠã„ã¦ã€Œæ—¥æœ¬èªžã®è¿½åŠ ãƒ•ã‚©ãƒ³ãƒˆã®ã†ã¡ï¼ŒåŠè§’アルファベットãŒä½¿ç”¨ã§ããªã„ã€ã¨ã„ã†ç‰¹æ®Šãªçжæ³ã«å¯¾å‡¦ã™ã‚‹ãŸã‚ã®æˆæžœç‰©ã§ã™ã€‚ プリアンブルã§ä»¥ä¸‹ã®ã‚ˆã†ã«å®£è¨€ã™ã‚‹ã“ã¨ã§ï¼Œã™ã¹ã¦ã®æ©Ÿèƒ½ãŒä½¿ç”¨ã§ãã¾ã™ã€‚ \br{.5}\begin{itembox}[c]{\texttt{convert-jpfonts.sty}} \begin{verbatim} \usepackage{convert-jpfonts} \end{verbatim} \end{itembox} \warningbox{ã“れã¯ã‚ãã¾ã§ç°¡æ˜“çš„ã‹ã¤ä¸€æ™‚çš„ãªæŽªç½®ã‚’æä¾›ã™ã‚‹ãƒ‘ッケージã§ã‚り,細ã‹ã„文書è¦å‰‡ã‚„複雑ãªç¦å‰‡å‡¦ç†ãªã©ã«ã¯å¯¾å¿œã—ãれã¦ã„ã¾ã›ã‚“。ã—ãŸãŒã£ã¦ç‰¹æ®Šãªç’°å¢ƒä¸‹ã§ã®åˆ©ç”¨ä»¥å¤–ã¯ã‚ã¾ã‚ŠãŠã™ã™ã‚ã§ãã¾ã›ã‚“。} \section{基本的ãªä½¿ã„æ–¹} \verb|\fonts|ã®åŸºæœ¬çš„ãªä½¿ã„æ–¹ã¯ï¼Œä»¥ä¸‹ã®é€šã‚Šã§ã™ã€‚ \br{.5}\begin{itembox}[c]{\texttt{\textbackslash fonts}} \begin{verbatim} \fonts{History begins when [...]} \end{verbatim} \end{itembox} \begin{çµæžœ} \fonts{History begins when men begin to think of the passage of time in terms not of natural processes — the cycle of the seasons, the human life-span — but of a series of specific events in which men are consciously involved and which they can consciously influence. History, says *Burckhardt, is “the break with nature caused by the awakening of consciousnessâ€. History is the long struggle of man, by the exercise of his reason, to understand his environment and to act upon it. But the modern period has broadened the struggle in a revolutionary way. Man now seeks to understand, and to act on, not only his environment but himself; and this has added, so to speak, a new dimension to reason, and a new dimension to history.} \end{çµæžœ} \notebox{上例ã§ã¯å¼•æ•°ã«å«ã¾ã‚Œã‚‹åŠè§’æ–‡å—ã‚’1æ–‡å—ãšã¤å€‹åˆ¥ã«å–り出ã—,全角文å—ã«ç½®ãæ›ãˆãŸã®ã¡ï¼Œç©ºç™½èª¿æ•´ã‚’ã‹ã‘ã¦å†ã³ã¤ãªãŽåˆã‚ã›ã¦ã„ã¾ã™ã€‚} \warningbox% {% \begin{enumerate}[・] \item 二é‡å¼•用符ã¯ã€Œâ€œã€œâ€ã€ã®ã‚ˆã†ã«ï¼Œå…¨è§’æ–‡å—を直打ã¡ã™ã‚‹å¿…è¦ãŒã‚りã¾ã™ã€‚ \item ダッシュ線「---ã€ã¯é•·éŸ³è¨˜å·ã€Œãƒ¼ã€ã§ã‚«ãƒãƒ¼ã™ã‚‹ã—ã‹ã‚りã¾ã›ã‚“。 \item 引数ã«ç”¨ã„ã‚‹ã“ã¨ã®ã§ãるコマンドã¯ï¼Œ\texttt{\textbackslash quad}ã‚„\texttt{\textbackslash }ãªã©ã®ç©ºç™½è¨˜å·ã®ã¿ã§ã™ã€‚ \end{enumerate} } ã—ã‹ã—明æœä½“やゴシック体ãªã©ã®åŸºæœ¬ãƒ•ォントã«å¯¾ã—ã¦ã¯ï¼Œæ–‡å—間スペースãŒä¸è‡ªç„¶ã«ç©ºã„ã¦ã—ã¾ã„ã¾ã™ã€‚ãã“ã§æœ¬ãƒ‘ッケージã¯ä¸»ã«ï¼Œã‚†ã‚‹ã„雰囲気ã®è¿½åŠ ãƒ•ã‚©ãƒ³ãƒˆã®ä½¿ç”¨ã‚’想定ã—ã¦ã„ã¾ã™ã€‚ \section{カスタマイズ} \subsection{フォント変更} デフォルトã§å¤‰æ›´ã•れるゴシック体ã¯ï¼Œä»¥ä¸‹ã®ã‚ˆã†ã«è‡ªç”±ã«ã‚«ã‚¹ã‚¿ãƒžã‚¤ã‚ºå¯èƒ½ã§ã™ã€‚ãŸã ã—以下ã®\verb|\fuiji|ãªã©ã¯ï¼Œ\verb|\textgt|ãªã©ã¨åŒã˜é–¢æ•°åž‹ã®ã‚³ãƒžãƒ³ãƒ‰ã§ã‚り,自身ã®ç’°å¢ƒã§å®šç¾©ã—ã¦ãŠãå¿…è¦ãŒã‚りã¾ã™ã€‚ \br{.5}\begin{itembox}[c]{\texttt{フォントã®å¤‰æ›´\maru1}} \begin{verbatim} \fonts[\fuiji]{History begins when [...]} \end{verbatim} \end{itembox} \begin{çµæžœ}\chuukigou{$*$}{â†} \fonts[\fuiji]{History begins when men begin to think of the passage of time in terms not of natural processes ー the cycle of the seasons, the human life-span ー but of a series of specific events in which men are consciously involved and which they can consciously influence. History, says *Burckhardt, is “the break with nature caused by the awakening of consciousnessâ€. History is the long struggle of man, by the exercise of his reason, to understand his environment and to act upon it. But the modern period has broadened the struggle in a revolutionary way. Man now seeks to understand, and to act on, not only his environment but himself; and this has added, so to speak, a new dimension to reason, and a new dimension to history.} \end{çµæžœ} \subsection{デフォルトã®ãƒ•ォント変更} フォントを指定ã›ãšã¨ã‚‚,åˆã‚ã‹ã‚‰ç‰¹å®šã®ãƒ•ォントをé©ç”¨ã—ãŸã„å ´åˆã¯ï¼Œãƒ—リアンブルãªã©ã§ä»¥ä¸‹ã®ã‚ˆã†ã«å®£è¨€ã—ã¾ã—ょã†ã€‚ \br{.5}\begin{itembox}[c]{\texttt{フォントã®å¤‰æ›´\maru2}} \begin{verbatim} \デフォルトフォント{\fuiji} \end{verbatim} \end{itembox} \subsection{スペース}% ãµã„å—以外ã®ãƒ•ォントを用ã„ã‚‹ã¨ï¼Œæ–‡å—ãŒè©°ã¾ã‚Šã™ãŽãŸã‚Šå対ã«ç©ºãã™ãŽã‚‹å¯èƒ½æ€§ãŒã‚りã¾ã™ã€‚ å–り出ã—ãŸå„全角文å—é–“ã®ã‚¹ãƒšãƒ¼ã‚¹ã‚’変更ã™ã‚‹ã«ã¯ï¼Œä»¥ä¸‹ã®ã‚ˆã†ã«ã—ã¾ã™ã€‚ \br{.5}\begin{itembox}[c]{\texttt{スペースã®å¤‰æ›´}} \begin{verbatim} \fonts[\kanteiryu]{There is something wrong with my car.} \空白調整{.1zw} \fonts[\kanteiryu]{There is something wrong with my car.} \end{verbatim} \end{itembox} \begin{çµæžœ} \fonts[\koin]{There is something wrong with my car.} \空白調整{.1zw} \fonts[\koin]{There is something wrong with my car.} \end{çµæžœ} \notebox{上例ã§ã¯ï¼Œã€Œãƒ‡ãƒ•ォルトã®çŠ¶æ…‹ã€ã‹ã‚‰ã€Œã•らã«ã€æ–‡å—間スペースを全角0.1æ–‡å—分離ã™ã¨ã„ã†æ“作を施ã—ã¦ã„ã¾ã™ã€‚} \newpage \空白調整{-.1zw} \section{使用例} \subsection{å„フォントã¨ã®å¯¾å¿œä¸€è¦§} 以下ã¯ï¼Œãƒ‡ãƒ•ォルトã®ç©ºç™½èª¿æ•´ã«ãŠã‘ã‚‹å„フォントã¨ã®å¯¾å¿œã¥ã‘一覧ã§ã™ã€‚ \parindent=0zw \begin{multicols}{2} \fonts[\mika]{ã“れã¯mika fontã§ã™ã€‚}\par% \fonts[\fuiji]{ã“れã¯fuiji fontã§ã™ã€‚}\par% \fonts[\kotori]{ã“れã¯kotori fontã§ã™ã€‚}\par% \fonts[\makiba]{ã“れã¯makiba fontã§ã™ã€‚}\par% \fonts[\sea]{ã“れã¯sea fontã§ã™ã€‚}\par% \fonts[\himaji]{ã“れã¯himaji fontã§ã™ã€‚}\par% \fonts[\seto]{ã“れã¯seto fontã§ã™ã€‚}\par% \fonts[\aqua]{ã“れã¯aqua fontã§ã™ã€‚}\par% \fonts[\tare]{ã“れã¯tare fontã§ã™ã€‚}\par% \fonts[\utsukushi]{ã“れã¯utsukushi fontã§ã™ã€‚}\par% \fonts[\uzura]{ã“れã¯uzura fontã§ã™ã€‚}\par% \fonts[\yutapon]{ã“れã¯yutapon fontã§ã™ã€‚}\par% \fonts[\reiko]{ã“れã¯reiko fontã§ã™ã€‚}\par% \fonts[\ohisama]{ã“れã¯ohisama fontã§ã™ã€‚}\par% \fonts[\anzu]{ã“れã¯anzu fontã§ã™ã€‚}\par% \fonts[\azuki]{ã“れã¯azuki fontã§ã™ã€‚}\par% \fonts[\azukiBold]{ã“れã¯azuki Bold fontã§ã™ã€‚}\par% \fonts[\yasashisa]{ã“れã¯yasashisa fontã§ã™ã€‚}\par% \fonts[\yasashisaBold]{ã“れã¯yasashisa Bold fontã§ã™ã€‚}\par% \fonts[\yasashisaAntique]{ã“れã¯yasashisa Antique fontã§ã™ã€‚}\par% \fonts[\bokutachi]{ã“れã¯bokutachi fontã§ã™ã€‚}\par% \fonts[\flopDesign]{ã“れã¯flopDesign fontã§ã™ã€‚}\par% \fonts[\fontpo]{ã“れã¯fontpo fontã§ã™ã€‚}\par% \fonts[\FGLovelyGothic]{ã“れã¯FG Lovely Gothic fontã§ã™ã€‚}\par% \fonts[\FGModernGothic]{ã“れã¯FG Modern Gothic fontã§ã™ã€‚}\par% \fonts[\FGPopGothic]{ã“れã¯FG Pop Gothic fontã§ã™ã€‚}\par% \fonts[\FGRetroGothic]{ã“れã¯FG Retro Gothic fontã§ã™ã€‚}\par% \fonts[\FGZeroGothic]{ã“れã¯FG Zero Gothic fontã§ã™ã€‚}\par% \fonts[\gyateKizu]{ã“れã¯gyateKizu fontã§ã™ã€‚}\par% \fonts[\gyateLumi]{ã“れã¯gyateLumi fontã§ã™ã€‚}\par% \fonts[\hanazome]{ã“れã¯hanazome fontã§ã™ã€‚}\par% \fonts[\hannari]{ã“れã¯hannari fontã§ã™ã€‚}\par% \fonts[\jiyucho]{ã“れã¯jiyucho fontã§ã™ã€‚}\par% \fonts[\kiloji]{ã“れã¯kiloji fontã§ã™ã€‚}\par% \fonts[\kilojiBold]{ã“れã¯kiloji Bold fontã§ã™ã€‚}\par% \fonts[\kilojiLight]{ã“れã¯kiloji Light fontã§ã™ã€‚}\par% \fonts[\kinemaru]{ã“れã¯kinemaru fontã§ã™ã€‚}\par% \fonts[\pixelMplus]{ã“れã¯pixel Mplus fontã§ã™ã€‚}\par% \fonts[\riiPop]{ã“れã¯rii Pop fontã§ã™ã€‚}\par% \fonts[\riiTegaki]{ã“れã¯rii Tegaki fontã§ã™ã€‚}\par% \fonts[\ruri]{ã“れã¯ruri fontã§ã™ã€‚}\par% \fonts[\shunka]{ã“れã¯shunka fontã§ã™ã€‚}\par% \fonts[\shunkaB]{ã“れã¯shunka B fontã§ã™ã€‚}\par% \fonts[\shunkaBB]{ã“れã¯shunka BB fontã§ã™ã€‚}\par% \fonts[\kachou]{ã“れã¯kachou fontã§ã™ã€‚}\par% \fonts[\kachouB]{ã“れã¯kachou B fontã§ã™ã€‚}\par% \fonts[\kachouBB]{ã“れã¯kachou BB fontã§ã™ã€‚}\par% \fonts[\tsubasa]{ã“れã¯tsubasa fontã§ã™ã€‚}\par% \fonts[\onryou]{ã“れã¯onryou fontã§ã™ã€‚}\par% \fonts[\hakidame]{ã“れã¯hakidame fontã§ã™ã€‚}\par% \fonts[\wadaHosoMaru]{ã“れã¯wada Hoso Maru fontã§ã™ã€‚}\par% \fonts[\wadaChuMaru]{ã“れã¯wada Chu Maru fontã§ã™ã€‚}\par% \fonts[\meiryo]{ã“れã¯meiryo fontã§ã™ã€‚}\par% \fonts[\meiryoBold]{ã“れã¯meiryo Bold fontã§ã™ã€‚}\par% \fonts[\msgothic]{ã“れã¯msgothic fontã§ã™ã€‚}\par% \fonts[\YOzStandardKana]{ã“れã¯YOz Standard Kana fontã§ã™ã€‚}\par% \fonts[\YOzStandardKanaBold]{ã“れã¯YOz Standard Kana Bold fontã§ã™ã€‚}\par% \fonts[\YOzNewKana]{ã“れã¯YOz New Kana fontã§ã™ã€‚}\par% \fonts[\YOzNewKanaBold]{ã“れã¯YOz New Kana Bold fontã§ã™ã€‚}\par% \fonts[\YOzEducationKana]{ã“れã¯YOz Education Kana fontã§ã™ã€‚}\par% \fonts[\YOzEducationKanaBold]{ã“れã¯YOz Education Kana Bold fontã§ã™ã€‚}\par% \fonts[\YOzCuteKana]{ã“れã¯YOz Cute Kana fontã§ã™ã€‚}\par% \fonts[\YOzCuteKanaBold]{ã“れã¯YOz Cute Kana Bold fontã§ã™ã€‚}\par% \fonts[\YOzAntiqueKana]{ã“れã¯YOz Antique Kana fontã§ã™ã€‚}\par% \fonts[\YOzAntiqueKanaBold]{ã“れã¯YOz Antique Kana Bold fontã§ã™ã€‚}\par% \fonts[\YOzMouhitsuKaisho]{ã“れã¯YOz Mouhitsu Kaisho fontã§ã™ã€‚}\par% \fonts[\YOzMouhitsuKaishoBold]{ã“れã¯YOz Mouhitsu Kaisho Bold fontã§ã™ã€‚}\par% \fonts[\YOzMouhitsuGyousho]{ã“れã¯YOz Mouhitsu Gyousho fontã§ã™ã€‚}\par% \fonts[\YOzMouhitsuGyoushoBold]{ã“れã¯YOz Mouhitsu Gyousho Bold fontã§ã™ã€‚}\par% \fonts[\YOzMouhitsuGyoushoAntique]{ã“れã¯YOz Mouhitsu Gyousho Antique fontã§ã™ã€‚}\par% \fonts[\YOzMouhitsuGyoushoAntiqueBold]{ã“れã¯YOz Mouhitsu Gyousho Antique Bold fontã§ã™ã€‚}\par% \fonts[\AoyagiSoseki]{ã“れã¯Aoyagi Soseki fontã§ã™ã€‚}\par% \fonts[\AoyagiKouzanMouhitsu]{ã“れã¯Aoyagi Kouzan Mouhitsu fontã§ã™ã€‚}\par% \fonts[\AoyagiKouzanT]{ã“れã¯Aoyagi KouzanT fontã§ã™ã€‚}\par% \fonts[\AoyagiKouzanGyousho]{ã“れã¯Aoyagi Kouzan Gyousho fontã§ã™ã€‚}\par% \fonts[\AoyagiKouzanSousho]{ã“れã¯Aoyagi Kouzan Sousho fontã§ã™ã€‚}\par% \fonts[\AoyagiKouzanReisho]{ã“れã¯Aoyagi Kouzan Reisho fontã§ã™ã€‚}% \end{multicols} \subsection{使用例イメージ} \parindent=1zw \begin{ascolorbox1}{\fonts[\YOzCuteKanaBold]{Coffee Break}} \fonts[\YOzEducationKana]{drownã¯å…ƒã€…,「溺れã•ã›ã‚‹ã€ã¨ã„ã†æ„味ã®ä»–動詞ã¨ã—ã¦ç”¨ã„られã¦ã„ã¾ã—ãŸã€‚ã“れã¯}\par\quad\fonts[\YOzEducationKana]{God drowned the girl.→The girl was drowned( by God ).}\\\fonts[\YOzEducationKana]{ã®ã‚ˆã†ã«ï¼Œæœ¬æ¥ç¥žãŒä¸»èªžã ã£ãŸã‹ã‚‰ã§ã™ã€‚ã—ã‹ã—ルãƒã‚µãƒ³ã‚¹æœŸã«äººãŒç¥žã‚’殺ã—ãŸãŸã‚ã«ï¼Œä¸»ä½“者ãŒäººé–“ã¸ã¨ç§»ã‚Šå¤‰ã‚ã‚Šï¼Œçµæžœè‡ªå‹•詞ã®ã¿ãŒç”¨ã„られるよã†ã«ãªã£ãŸã®ã§ã™ã€‚}\par\fonts[\YOzEducationKana]{ãã†ã™ã‚‹ã¨A drowning man will catch at a straw.ã¯ï¼Œãƒ«ãƒã‚µãƒ³ã‚¹æœŸï¼ˆ14〜16世紀)以é™ã«æ™®åŠã—ãŸè«ºã ã¨ã‚ã‹ã‚Šã¾ã™ã€‚} \end{ascolorbox1} \質å•ã¨è¿”ä¿¡{質å•ã¨è¿”ä¿¡}{\fonts[\hanazome]{「エレベーターã€ã¯è§£ç”ã§ã¯liftã«ãªã£ã¦ã„ã¾ã™ãŒï¼Œelevatorã§ã¯ãƒ€ãƒ¡ãªã‚“ã§ã™ã‹ï¼Ÿ}}{\fonts[\kotori]{ã„ã„質å•ã§ã™ã。liftã¯ã‚¤ã‚®ãƒªã‚¹ã§ä½¿ã‚れる一方,elevatorã¯ã‚¢ãƒ¡ãƒªã‚«ã§ç”¨ã„られる表ç¾ãªã‚“ã§ã™ã€‚(ãªã®ã§ã©ã¡ã‚‰ã‚‚OK!)他ã«ã‚‚,「ナスã€ã¯ã‚¢ãƒ¡ãƒªã‚«è‹±èªžã§eggplantã§ã™ãŒï¼Œã‚¤ã‚®ãƒªã‚¹è‹±èªžã ã¨aubergineã«ãªã‚Šã¾ã™ï¼}} \begin{åŸºæœ¬äº‹é …ã‚³ãƒ¡ãƒ³ãƒˆ} \tsubasa{質å•ã‚„è¿‘æ³å ±å‘Šãªã©} \end{åŸºæœ¬äº‹é …ã‚³ãƒ¡ãƒ³ãƒˆ} \fonts[\fuiji]{æ¥é€±ã¯Parisã«girlfriendã¨æ—…行ã«è¡Œãã®ã§ï¼Œä»£è¬›ã«ãªã‚Šã¾ã™ï¼ã™ã¿ã¾ã›ã‚“ï¼}\par\fonts[\fuiji]{欲ã—ã„ãŠåœŸç”£ã¨ã‹ã‚ã£ãŸã‚‰ï¼Œãœã²æ›¸ã„ã¨ã„ã¦ãã ã•ã„〜!!} \end{document}%