Skip to content

Commit 7e54275

Browse files
asdf
1 parent 55b2cf6 commit 7e54275

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/sample-article/publication.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
130130
<javascript resize-behavior="fixed"/>
131131
<sage resize-behavior="fixed"/>
132132
<circuitjs resize-behavior="fixed"/>
133+
<d3 resize-behavior="fixed"/>
133134
</interactives>
134135
</html>
135136

examples/sample-article/sample-article.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8328,7 +8328,7 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
83288328

83298329
<figure>
83308330
<caption>Force layout and collision detection</caption>
8331-
<interactive xml:id="interactive-d3-collision" platform="d3" version="3" width="80%" aspect="1:1" source="code/d3/collision.js" preview="preview/collision-preview.png">
8331+
<interactive xml:id="interactive-d3-collision" platform="d3" version="3" width="80%" aspect="95:100" source="code/d3/collision.js" preview="preview/collision-preview.png">
83328332
<slate xml:id="d3-collision" surface="div" aspect="1:1"/>
83338333
<instructions>
83348334
<p>Place your mouse/pointer at the center of the interactive to repel the 200 circles.</p>
@@ -8345,8 +8345,8 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
83458345

83468346
<figure>
83478347
<caption>Graph Layout</caption>
8348-
<interactive xml:id="interactive-d3-graph-layout" platform="d3" version="4" width="60%" aspect="1:1" source="code/d3/graph-layout.js" preview="preview/graph-layout-preview.png">
8349-
<slate xml:id="d3-graph-layout" surface="div" aspect="1:1"/>
8348+
<interactive xml:id="interactive-d3-graph-layout" platform="d3" version="4" width="60%" aspect="95:100" source="code/d3/graph-layout.js" preview="preview/graph-layout-preview.png">
8349+
<slate xml:id="d3-graph-layout" surface="div"/>
83508350
<instructions>
83518351
<p>Drag a vertex to a new location to see the graph adjust its layout.</p>
83528352
</instructions>
@@ -8382,7 +8382,7 @@ along with MathBook XML. If not, see <http://www.gnu.org/licenses/>.
83828382

83838383
<figure>
83848384
<caption>Tweet mentions within the Welsh Assembly</caption>
8385-
<interactive xml:id="interactive-d3-welsh" platform="d3" version="4" width="100%" aspect="1:2" source="code/d3/welsh.js" css="code/d3/welsh.css" preview="preview/welsh-assembly-preview.png">
8385+
<interactive xml:id="interactive-d3-welsh" platform="d3" version="4" width="100%" aspect="100:205" source="code/d3/welsh.js" css="code/d3/welsh.css" preview="preview/welsh-assembly-preview.png">
83868386
<slate xml:id="d3-welsh" surface="div" aspect="1:2"/>
83878387
<instructions>
83888388
<p>Hover on the name of an Assembly Member to concentrate on their tweet mentions.</p>

0 commit comments

Comments
 (0)