Annotation of loncom/html/adm/help/tex/Authoring_Daxe_Toolbar.tex, revision 1.1
1.1 ! raeburn 1: \label{Authoring_Daxe_Toolbar}
! 2:
! 3: \textbf{Daxe Toolbar}
! 4:
! 5: \includegraphics[width=0.03\paperwidth]{daxetoolbar}
! 6:
! 7: The toolbar provides the following buttons:
! 8: \begin{itemize}
! 9: \item \textbf{Save}: saves the document and updates the preview. A shortcut for this action is
! 10: \texttt{ctrl-S}. The ``Save and Edit'' button in the last LON-CAPA menu row above the Daxe menus performs the same action.
! 11: \item \textbf{Undo/Redo}: Daxe supports multiple undo/redo, which can also be called with
! 12: \texttt{ctrl-Z} and \texttt{ctrl-Y} or \texttt{ctrl-shift-Z}.
! 13: \item \textbf{Cut/Copy}: These buttons can be used to copy text, elements, or even the
! 14: whole document into the clipboard. The paste button is not available because of
! 15: browser security constraints, but the paste action can be done easily with
! 16: \texttt{ctrl-V} (web browsers want to make sure that a web site cannot read a user's clipboard
! 17: without an explicit user action such as \texttt{ctrl-V}).
! 18: \item \textbf{Search}: displays a dialog to search and possibly replace text in the document.
! 19: \item \textbf{Insert image}: displays a dialog to choose an already uploaded image.
! 20: If an image needs to be uploaded first, users currently have to switch to another tab
! 21: to do that outside of Daxe. Daxe will automatically measure an image's dimensions
! 22: and insert the width and height in the attributes. An \textit{alt} attribute should also be provided
! 23: as a text alternative. The image will display directly in the document. Attributes can be modified by clicking on it.
! 24: \item \textbf{Insert symbol}: provides a list of symbols that can be inserted as Unicode characters.
! 25: Note that, although this is less and less likely to happen, some Unicode characters might not be visible to
! 26: students who do not have the right fonts.
! 27: \item \textbf{Insert LaTeX math}: displays a dialog to type LaTeX math, with a real-time preview.
! 28: Note that the \$ signs are necessary for math to be correctly displayed in LON-CAPA.
! 29: \texttt{\$\$...\$\$} can be used instead of \texttt{\$...\$} to display the math as a block, centered.
! 30: Alternatively, the other LaTeX math delimiters can be used:
! 31: \texttt{$\backslash$(...$\backslash$)} for inline math and \texttt{$\backslash$[...$\backslash$]} for display math.
! 32: LaTeX math should always be inside an \texttt{m} element, which is created automatically when the \$ button is used.
! 33: \item \textbf{Insert LON-CAPA math}: use this button to directly type math with the LON-CAPA math syntax in the document.
! 34: A real-time preview is displayed underneath, and a click outside the text field replaces the text by the preview.
! 35: There are two options for interpreting the math: \textit{symbols} and \textit{units}.
! 36: With \textit{symbols}, all letters are interpreted as variables and displayed with an italic font.
! 37: With \textit{units}, units such as ``m'' are recognized and displayed normally.
! 38: Internally with an LON-CAPA document, the math expression you type is wrapped within \texttt{$<$lm$>$ $<$/lm$>$} tags.
! 39: If a resource containing these tags is rendered on a LON-CAPA server running an older (pre-2.12) version of LON-CAPA,
! 40: the tags will be ignored and the text will be displayed without any special formatting.
! 41: \item \textbf{Insert table}: asks for the table attributes and inserts it with 2 rows and columns.
! 42: Rows and columns can be changed with the table toolbar.
! 43: \item \textbf{Bulleted list}: turns the current paragraph into a bulleted list, or removes the list.
! 44: \item \textbf{Ordered list}: turns the current paragraph into an ordered list, or removes the list.
! 45: \item \textbf{Rise list level}: turns a first-level list item into a simple paragraph, or moves the list indent left.
! 46: \item \textbf{Lower list level}: moves the list indent right.
! 47: \item \textbf{Add hyperlink}: adds a hyperlink over the selected text. Make sure to fill in the \textit{href} attribute
! 48: with the link address, which can be relative or absolute.
! 49: \item \textbf{Insert anchor}: inserts an HTML anchor at the cursor position. Make sure to fill the \textit{name} attribute.
! 50: \item \textbf{Styles}: turns selected text into one of these styles: bold, italic, superscript, subscript.
! 51: A CSS stylesheet should be used for more style control. When the style is chosen before typing (with no selection),
! 52: the style element's tags are visible, which makes it possible to remove empty style elements.
! 53: \item \textbf{Remove styles}: removes all styles from the current selection.
! 54: \item \textbf{Paragraph alignment}: changes the current paragraph alignment.
! 55: This is only possible if the cursor is within a paragraph.
! 56: \item \textbf{Font type}: changes the font family for the selected text.
! 57: A CSS stylesheet should be used for more style control.
! 58: \item \textbf{Insert section}: inserts a section with the chosen class at the cursor location.
! 59: Sections are useful to structure the text with explicit roles for each block, and the icons can be useful
! 60: for students to recognize each role. Once several sections of a given class are defined,
! 61: it is easy to change the display for all of them at the same time using CSS.
! 62: \end{itemize}
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>