mathmaker.lib.document.content.geometry package¶
Submodules¶
mathmaker.lib.document.content.geometry.area_rectangle module¶
-
class
mathmaker.lib.document.content.geometry.area_rectangle.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-
mathmaker.lib.document.content.geometry.area_righttriangle module¶
-
class
mathmaker.lib.document.content.geometry.area_righttriangle.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-
mathmaker.lib.document.content.geometry.intercept_theorem_butterfly module¶
mathmaker.lib.document.content.geometry.intercept_theorem_butterfly_formula module¶
mathmaker.lib.document.content.geometry.intercept_theorem_converse_butterfly module¶
mathmaker.lib.document.content.geometry.intercept_theorem_converse_triangle module¶
mathmaker.lib.document.content.geometry.intercept_theorem_triangle module¶
mathmaker.lib.document.content.geometry.intercept_theorem_triangle_formula module¶
mathmaker.lib.document.content.geometry.perimeter_polygon module¶
-
class
mathmaker.lib.document.content.geometry.perimeter_polygon.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-
mathmaker.lib.document.content.geometry.perimeter_rectangle module¶
-
class
mathmaker.lib.document.content.geometry.perimeter_rectangle.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-
mathmaker.lib.document.content.geometry.perimeter_righttriangle module¶
-
class
mathmaker.lib.document.content.geometry.perimeter_righttriangle.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-
mathmaker.lib.document.content.geometry.rectangle_length_or_width module¶
-
class
mathmaker.lib.document.content.geometry.rectangle_length_or_width.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-
mathmaker.lib.document.content.geometry.trigonometry_calculate_angle module¶
mathmaker.lib.document.content.geometry.trigonometry_calculate_length module¶
mathmaker.lib.document.content.geometry.trigonometry_formula module¶
mathmaker.lib.document.content.geometry.trigonometry_vocabulary module¶
mathmaker.lib.document.content.geometry.volume_rightcuboid module¶
-
class
mathmaker.lib.document.content.geometry.volume_rightcuboid.
sub_object
(build_data, **options)[source]¶ Bases:
mathmaker.lib.document.content.component.structure
-
js_a
(**kwargs)[source]¶ Return the object as a list of user quickly writable strings.
The elements of this list will be used in embedded javascript of pdf files to compare to user’s answer. Most of the time, only one answer is possible (like answer of ‘7×8 = ?’ is equal to ‘56’) but sometimes it is useful to have several different answers to accept, like for fractions of a figure: ‘6/12’ should lead to also accept, at least, ‘3/6’, ‘2/4’ and ‘1/2’.
Must be reimplemented in each question.
-