From d8f596902a6f703c2f3852925e50d9f1727a7158 Mon Sep 17 00:00:00 2001 From: Tan Kian-ting Date: Sun, 22 Dec 2024 23:21:33 +0800 Subject: [PATCH] add desc. for ch6 --- 241216tex/ch6desc.md | 34 ++++++++++++++++++++++++++++++++++ 241216tex/ch6exa1.tex | 19 +++++++++++++++++++ 241216tex/story.dvi | Bin 0 -> 836 bytes 3 files changed, 53 insertions(+) create mode 100644 241216tex/ch6desc.md create mode 100644 241216tex/ch6exa1.tex create mode 100644 241216tex/story.dvi diff --git a/241216tex/ch6desc.md b/241216tex/ch6desc.md new file mode 100644 index 0000000..483c630 --- /dev/null +++ b/241216tex/ch6desc.md @@ -0,0 +1,34 @@ +如果在tex cli界面輸入 +``` +\hsize=5in \input story +`` +可以指定頁面的一行水平寬度為5inch,再匯入TeX Ch6 範例檔案story的內容,當然最後要加入\end,原檔案沒有\end。 + +如果設定\hsize太小會出現警告訊息: +``` +Overfull \hbox (1.34123pt too wide) in paragraph at lines 7--11 +[]\tenrm Once upon a| + +Overfull \hbox (0.50793pt too wide) in paragraph at lines 7--11 +\tenrm time, in a dis-tant| + +Overfull \hbox (5.50797pt too wide) in paragraph at lines 7--11 +\tenrm galaxy called []O^^?o^^Xc,| + +Overfull \hbox (3.31345pt too wide) in paragraph at lines 7--11 +\tenrm there lived a com-| + +Overfull \hbox (4.70236pt too wide) in paragraph at lines 7--11 +\tenrm puter named R. J.| + +Overfull \hbox (13.81348pt too wide) in paragraph at lines 12--16 +[]\tenrm Mr. Drofnats---| + +Overfull \hbox (27.81349pt too wide) in paragraph at lines 12--16 +\tenrm pre-ferred to be called---| + +Overfull \hbox (7.56346pt too wide) in paragraph at lines 12--16 +\tenrm was hap-pi-est when| + +Overfull \hbox (15.03568pt too wide) in paragraph at lines 12--16 +\tenrm he was at work type-|``` \ No newline at end of file diff --git a/241216tex/ch6exa1.tex b/241216tex/ch6exa1.tex new file mode 100644 index 0000000..aca8506 --- /dev/null +++ b/241216tex/ch6exa1.tex @@ -0,0 +1,19 @@ +%建議搭配 "TeX for the Impatient"查指令定義 +\hrule %垂直水平線 +\vskip 1in %垂直間距1inch +\centerline{\bf BOLD FONT} %置中粗體 +\vskip 6pt +\centerline{\sl slanted font} +\vskip .5cm +Once upon a time there lives +R.~J. Drofnats %增加不斷行空白 +%不斷行空白定義為> ~=macro: +%->\penalty \@M \ . + +``R. J.''---an example--- as it %左引號、右引號、dash的打法 +ipsum lorem blah +\vskip 1in +\hrule +\vfill %製作垂直大glue +\eject%強制結束頁面 +\end %跳出程式 \ No newline at end of file diff --git a/241216tex/story.dvi b/241216tex/story.dvi new file mode 100644 index 0000000000000000000000000000000000000000..d3ca1f19dd1023b00f5d233a72123ae1b58f7033 GIT binary patch literal 836 zcmaiyPiPZC6vijJwn+6Pf~8eSdgwvYCE18rJrxu~L;`6d3LcznCfUXP=kBaYpwL5u zAi8VTfe?(at#}J~7W5!qa_QAe5k%ra^pr;MA0^IiV+kSPgSia9@4fHMd_S1b#*?=v zF9KTZm-%oO-3V(I)-4?7WBgez&T~9}fltKGJ)}g)$NpCXTDG?ffV0VLBzEl0z5CmX z4*)0@LGtoxFCD4d?sw@;|HRzx!gVl1+xcf&Q1X>{?A=O(eV<)TrZcU|dpbxJ0ZdVU9 zQ-Wf|W9_smpayfkYw7hXr!;v&i^vF^ z$kIL985Ia5f~G9hz;v%OWaxh&!*8xag#sClq_}Yhmkh0_LTqx*Rc!q;0F&SiyfDK5I;vZXpSiHN9JH&7871}gXiu}1Rrfe_hWYi)dLnOcUXPl{02 zC1he!7LhuRiNS{Dr#?&|Wty6Chu~(_e|@wxj++Q$NiDhTr&=%_T39MtGBsDws6en3 z6#N2R)=Rc)2kCOWSwAR|=a1vgqn|WZXGY`Av=Tdh1_28~lY=xlloJE=3jpQ=^O4qH D2BjzG literal 0 HcmV?d00001