DocumentNotebook[{cell1,cell2,…}]
Wolframシステムのフロントエンドの完全なドキュメントノートブックを表す.
DocumentNotebook
DocumentNotebook[{cell1,cell2,…}]
Wolframシステムのフロントエンドの完全なドキュメントノートブックを表す.
詳細とオプション
- CreateWindowはDocumentNotebook式を取り,別のウィンドウにこれを表示する.
- ノートブック内の出力として生成された場合,DocumentNotebookはノートブックのセル内の表現として表示される.
- DocumentNotebookは任意のノートブックオプションを取ることができる.
例題
すべて開く すべて閉じる例 (2)
スコープ (3)
オプション (5)
Background (1)
CellDingbat (1)
CellGrouping (1)
TextAlignment (1)
アプリケーション (2)
mammalPage[common_, picture_, order_, family_, species_] := DocumentNotebook[Style[Grid[{{Style[common, FontSize -> 18], SpanFromLeft}, {picture, Column[Row[{#1, ":", Style[#2, FontWeight -> Bold]}]&@@@{{"目", order}, {"科", family}, {"種", species}}]}}, Frame -> True], FontFamily -> "Arial", ShowStringCharacters -> False]]CreateWindow[mammalPage["オセロット", Import["ExampleData/ocelot.jpg"], "食肉目", "猫科", "Leopardus pardalis"]];outline[l_List] := l //. {s_String, r___} :> f[s, r] /. s_String :> TextCell[s] //. f[c__] :> CellGroup[{c}]outline[{"第1章", {"第1節", "a"}, {"第2節", "b", "c"}}]//InputFormCreateWindow[DocumentNotebook[%, CellGrouping -> Manual]];特性と関係 (2)
CreateWindowを使ってNotebookObjectを得る:
nb = CreateWindow[DocumentNotebook[{a, b, c}]];NotebookObjectをノートブックに作用するコマンド内で使用する:
SelectionMove[nb, Next, Cell]NotebookRead[nb]NotebookDelete[nb]PaletteNotebookオブジェクトとDialogNotebookオブジェクトは主にユーザインターフェースのツールとして使われる:
PaletteNotebook[{"平方根", Button[Sqrt[π], p = N[Sqrt[π]]]}]DialogNotebook[{TextCell[Row[{"お名前:", InputField[]}]]}]関連するガイド
関連するワークフロー
- スライダー等のコントロールを含むフォームを作る
テキスト
Wolfram Research (2007), DocumentNotebook, Wolfram言語関数, https://reference.wolfram.com/language/ref/DocumentNotebook.html.
CMS
Wolfram Language. 2007. "DocumentNotebook." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DocumentNotebook.html.
APA
Wolfram Language. (2007). DocumentNotebook. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DocumentNotebook.html
BibTeX
@misc{reference.wolfram_2026_documentnotebook, author="Wolfram Research", title="{DocumentNotebook}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/DocumentNotebook.html}", note=[Accessed: 10-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_documentnotebook, organization={Wolfram Research}, title={DocumentNotebook}, year={2007}, url={https://reference.wolfram.com/language/ref/DocumentNotebook.html}, note=[Accessed: 10-September-2026]}