version 1.4, 2013/07/08 18:15:17
|
version 1.5, 2013/08/05 15:24:47
|
Line 11 can be published to use in multiple cour
|
Line 11 can be published to use in multiple cour
|
Use of a specific CSS style within a resource can be set using an html tag within a text |
Use of a specific CSS style within a resource can be set using an html tag within a text |
block that refers to a class by name, where the class is included in the |
block that refers to a class by name, where the class is included in the |
published css file. You would specify use |
published css file. You would specify use |
of the css file with a \textless link\textgreater tag, and indicate a file dependency with |
of the css file with a $<$link$>$ tag, and indicate a file dependency with |
an allow tag (if the \textless allow\textgreater tag is not specified LON-CAPA should add it |
an allow tag (if the $<$allow$>$ tag is not specified LON-CAPA should add it |
at the first publication step). |
at the first publication step). |
|
|
\begin{verbatim} |
\begin{verbatim} |
Line 146 file, then click "Save Changes" in main
|
Line 146 file, then click "Save Changes" in main
|
|
|
Style files can contain different instructions for different |
Style files can contain different instructions for different |
targets (e.g., web or tex). For example, the following style file would replace |
targets (e.g., web or tex). For example, the following style file would replace |
the \textless h1\textgreater-tag in all |
the $<$h1$>$-tag in all |
incorporated pages by the annoying \textless blink\textgreater-tag: |
incorporated pages by the annoying $<$blink$>$-tag: |
|
|
\begin{verbatim} |
\begin{verbatim} |
<definetag name = "h1"> |
<definetag name = "h1"> |
Line 174 To use the .sty in a course, within the
|
Line 174 To use the .sty in a course, within the
|
you can specify a style file for your course under "Default XML Style File". |
you can specify a style file for your course under "Default XML Style File". |
|
|
When printing, LON-CAPA will use the tex \textbackslash section as |
When printing, LON-CAPA will use the tex \textbackslash section as |
\textless h1\textgreater-rendering. |
$<$h1$>$-rendering. |
|
|
Note that .css is perhaps a more modern way to acheive formatting. |
Note that .css is perhaps a more modern way to acheive formatting. |
|
|