|
|
This is an incomplete list of available macros. Consult the files `laweb.cfg` and `laweb.sty` for more information.
|
|
|
|
|
|
# Geogebra Applets
|
|
|
|
|
|
References to [Geogebra](https://www.geogebra.org/) can be placed with
|
|
|
|
|
|
`
|
|
|
\geogebra[height]{material_id}
|
|
|
`
|
|
|
`\geogebra[height]{material_id}`
|
|
|
|
|
|
The applet is embedded as IFRAME.
|
|
|
|
|
|
## Parameters
|
|
|
- material_id: Geogebra assigns an ID called *material_id* to every applet uploaded to geogebra.com. You can find it at the end of an URL: htt<span>ps://</span>www.geogebra.org/m/**wpaftey6**
|
|
|
- height: by default the height is set to 500px. Values are in *px*, omit the unit and use plain integers
|
|
|
|
|
|
- material_id: Geogebra assigns an ID called _material_id_ to every applet uploaded to geogebra.com. You can find it at the end of an URL: htt<span dir="">ps://</span>www.geogebra.org/m/**wpaftey6**
|
|
|
- height: by default the height is set to 500px. Values are in _px_, omit the unit and use plain integers
|
|
|
|
|
|
## Results
|
|
|
|
|
|
- Print: the complete URL
|
|
|
- Web: IFRAME pointing to the applet
|
|
|
|
|
|
# "Details" Dropdown
|
|
|
The (details)[https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details] element shows a summary text and can be extended to display additional content:
|
|
|
|
|
|
`
|
|
|
\details{The summary is always visible}{A longer explanation is displayed on demand}
|
|
|
`
|
|
|
The (details)\[<https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details>\] element shows a summary text and can be extended to display additional content:
|
|
|
|
|
|
`\details{The summary is always visible}{A longer explanation is displayed on demand}`
|
|
|
|
|
|
## Results
|
|
|
|
|
|
- Print: both arguments are taken as is
|
|
|
- Web: first argument is the summary and always visible, opening the element displays the 2nd argument
|
|
|
|
|
|
Note that no formatting is applied to the print output. Use appropriate environments for the arguments.
|
|
|
|
|
|
# General HTML
|
|
|
|
|
|
Arbitrary HTML code may be inserted with the macro
|
|
|
|
|
|
`
|
|
|
\webonly{Text and <html-tags></html-tags>}
|
|
|
`
|
|
|
`\webonly{Text and <html-tags></html-tags>}`
|
|
|
|
|
|
## Results
|
|
|
|
|
|
- Print: no insertions
|
|
|
- Web: argument added to HTML unmodified
|
|
|
|
|
|
# Printed Output only
|
|
|
|
|
|
No output in the HTML produced with
|
|
|
|
|
|
`
|
|
|
\texonly{Bonus for the printed version only}
|
|
|
`
|
|
|
`\texonly{Bonus for the printed version only}`
|
|
|
|
|
|
## Results
|
|
|
|
|
|
- Print: macro argument in print output
|
|
|
- Web: no output |
|
|
\ No newline at end of file |