{"id":3489,"date":"2023-05-14T19:16:09","date_gmt":"2023-05-14T18:16:09","guid":{"rendered":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/?page_id=3489"},"modified":"2023-06-01T11:48:09","modified_gmt":"2023-06-01T10:48:09","slug":"moodle-et-latex","status":"publish","type":"page","link":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/moodle-et-latex\/","title":{"rendered":"Moodle et LaTeX"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-content\/uploads\/Moodle_LaTeX-300x169-1.png\" alt=\"Moodle et LaTeX\" class=\"wp-image-3443\"\/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">Des formules math\u00e9matiques avec LaTeX dans Moodle<\/h5>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Principe<\/strong><\/p>\n\n\n\n<p>Pour obtenir, une formule en ligne, le code LaTeX, pr\u00e9fix\u00e9 avec <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">\\( \\backslash( \\)<\/mark> <\/strong>et postfix\u00e9 avec <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">\\(\\backslash) \\) <\/mark><\/strong>est \u00e0 ins\u00e9rer au sein du texte.<\/p>\n\n\n\n<p>Exemple :<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong> \\( \\backslash( \\)<\/strong><\/mark><strong> f(x)=x^2-5x+2<\/strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong> \\(\\backslash) \\)<\/strong> <\/mark>donne : \\( f(x)=x^2-5x+2 \\) .<\/p>\n\n\n\n<p>Pour obtenir, une formule centr\u00e9e isol\u00e9e sur une ligne , le code LaTeX est \u00e0 encadrer par  \\(\\$\\$ \\) .<\/p>\n\n\n\n<p>Exemple : <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong>\\( \\$\\$ \\) <\/strong><\/mark><strong>f(x)=x^2-5x+2<\/strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\"><strong> \\(\\$\\$ \\) <\/strong><\/mark>donne : $$ f(x)=x^2-5x+2 $$ .<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Quelques exemples :<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table aligncenter is-style-stripes\"><table><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">Code LaTeX<\/th><th class=\"has-text-align-center\" data-align=\"center\">Formule<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) (x+4)^2 \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( (x+4)^2 \\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) \\sqrt{2} \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\(\\sqrt {2}\\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) \\frac{2x-1}{x+3} \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( \\frac{2x-1}{x+3} \\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) 5 \\in \\mathbb{Q} \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( 5 \\in \\mathbb{Q} \\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) P(\\overline{A \\cap B}) \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( P( \\overline{A \\cap B}) \\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) \\overrightarrow{AB} \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( \\overrightarrow{AB} \\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) \\lim\\limits_{x \\to +\\infty} \\ln (x) = +\\infty \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( \\lim\\limits_{x \\to +\\infty} \\ln (x) = +\\infty \\)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\\(\\backslash(\\) \\displaystyle\\int_0^2 f(x) \\text{d}x \\(\\backslash)\\)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\\( \\displaystyle\\int_0^2 f(x) \\text{d}x \\)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>O\u00f9 peut on peut-on ins\u00e9rer du code LaTeX ?<\/strong><\/p>\n\n\n\n<p>Quasiment partout o\u00f9 le filtre s\u2019applique et o\u00f9 il n\u2019y a pas de conflits avec un autre filtre :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Dans presque toutes les questions et r\u00e9ponses des \u00ab\u00a0tests\u00a0\u00bb&nbsp;ou des \u00ab\u00a0questionnaires\u00a0\u00bb ;<\/li>\n\n\n\n<li>Dans les \u00ab\u00a0pages\u00a0\u00bb de cours ;<\/li>\n\n\n\n<li>Dans les \u00ab\u00a0\u00e9tiquettes\u00a0\u00bb ou les \u00ab\u00a0descriptions\u00a0\u00bb ;<\/li>\n<\/ul>\n\n\n\n<p>\u2026 Mais pas dans le nom des sections par exemple.<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p><strong>Auteur :<\/strong> <em>Christophe THOMAS<\/em>, IAN pour les math\u00e9matiques dans l&rsquo;acad\u00e9mie de Nancy-Metz.<br><strong>Date :<\/strong> Juin 2023<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Des formules math\u00e9matiques avec LaTeX dans Moodle Principe Pour obtenir, une formule en ligne, le code LaTeX, pr\u00e9fix\u00e9 avec \\( \\backslash( \\) et postfix\u00e9 avec \\(\\backslash)&#8230;<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"class_list":["post-3489","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/pages\/3489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/comments?post=3489"}],"version-history":[{"count":3,"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/pages\/3489\/revisions"}],"predecessor-version":[{"id":3517,"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/pages\/3489\/revisions\/3517"}],"wp:attachment":[{"href":"https:\/\/sites.ac-nancy-metz.fr\/mathematiques\/wp-json\/wp\/v2\/media?parent=3489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}