Skip to Main Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate content levelBeginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
18.6 使用樣式表(Stylesheet)將 Notebook 檔案的外觀標準化
|
725
注意引數為字串或符號的指令是無法進行編譯的。此外,當引數為矩陣或更高階張量
時,你必須輸入方正的陣列,而不能使用如
{{1,2},{3}}
般不整齊陣列;另外,陣列
中也不能混合使用不同型態的數值。若違反了這些限制,你的函數也許還能運作,但
Mathematica 會以未編譯方式執行,如此一來便無法享受編譯帶來的好處了。
18.6  使用樣式表(Stylesheet)將 Notebook
案的外觀標準化
問題點
你經常需要調整 notebook 的外觀,而且總覺得看起來不如別人的檔案或網路下載的檔案
專業。
解決方案
建立基本的 樣式表或修改 既有樣式表其 比你想像中簡 單, 雖然有些地方 需要一點
技巧(如果沒人教,可能想破頭也不會)。從最簡單的修改內建樣式表開始,建立新
notebook 檔案, Format\Stylesheet 中選 樣式 表, 18-1
NaturalColor
樣式表裝 配的 notebook 案,
NaturalColor
樣式表位 Stylesheet
Creative 子選單下。
18-1 使用 Mathematica 7 預設樣式表的 notebook 檔案
ch18.indd 725 2014/4/2 下午 04:52:00
726
|
第十八章
一旦挑選到接近想要的樣式表,你可以透過選單 Format\Edit ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull

Publisher Resources

ISBN: 9789863470106