Skip to content

Commit 73df2f5

Browse files
committed
tentative fix
1 parent 496d08d commit 73df2f5

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

source/documentation/mesh-generation.rst

+16-16
Original file line numberDiff line numberDiff line change
@@ -4638,27 +4638,27 @@ Secondly, we use this idea to build meshes from an image, we use the plugins :fr
46384638
cout << "Th.area = " << Th.area << " Km^2 " << " == " << AreaLac << " Km^2 " << endl;
46394639
plot(Th, wait=true, ps="leman.eps");
46404640
4641-
.. subfigstart::
4641+
.. subfigstart::
46424642

4643-
.. _meshGenerationIsoline1:
4643+
.. _meshGenerationIsoline1:
46444644

4645-
.. figure:: images/MeshGeneration_Isoline1.jpg
4646-
:alt: MeshGeneration_Isoline1
4647-
:width: 90%
4645+
.. figure:: images/MeshGeneration_Isoline1.jpg
4646+
:alt: MeshGeneration_Isoline1
4647+
:width: 90%
46484648

4649-
The image of the Leman lake meshes
4649+
The image of the Leman lake meshes
46504650

4651-
.. _meshGenerationIsoline2:
4651+
.. _meshGenerationIsoline2:
46524652

4653-
.. figure:: images/MeshGeneration_Isoline2.png
4654-
:alt: MeshGeneration_Isoline2
4655-
:width: 90%
4653+
.. figure:: images/MeshGeneration_Isoline2.png
4654+
:alt: MeshGeneration_Isoline2
4655+
:width: 90%
46564656

4657-
The mesh of the lake
4657+
The mesh of the lake
46584658

4659-
.. subfigend::
4660-
:width: 0.49
4661-
:alt: Isoline
4662-
:label: Isoline
4659+
.. subfigend::
4660+
:width: 0.49
4661+
:alt: Isoline
4662+
:label: Isoline
46634663

4664-
Isoline
4664+
Isoline

source/sphinx-extensions/subfig.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class subfigstart(nodes.General, nodes.Element):
4646
pass
4747

4848
def visit_subfigstart_tex(self, node):
49-
self.body.append('\n\\begin{figure}\n\\centering\n\\capstart\n')
49+
self.body.append('\n\\begin{figure}[H]\n\\centering\n\\capstart\n')
5050

5151
def depart_subfigstart_tex(self, node):
5252
pass

0 commit comments

Comments
 (0)