Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
b1a7658a
Commit
b1a7658a
authored
8 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
LaTeX exercises
parent
d57900a9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/Tdoc/exercise.xml
+111
-0
111 additions, 0 deletions
Doc/Tdoc/exercise.xml
with
111 additions
and
0 deletions
Doc/Tdoc/exercise.xml
+
111
−
0
View file @
b1a7658a
...
...
@@ -51,5 +51,116 @@ This may become a real subsection when adding further text ...
</qandadiv>
</qandaset>
</section>
<section
xml:id=
"tdocExerciseLatexElements"
>
<title>
Important elements
</title>
<qandaset
defaultlabel=
"qanda"
xml:id=
"tdocQandaLatexElements"
>
<qandadiv>
<qandaentry>
<question>
<para>
Create an
<classname>
article
</classname>
document creating
separate sections each containing one of the following
items:
</para>
<itemizedlist>
<listitem>
<para>
Nested lists and enumerations
</para>
</listitem>
<listitem>
<para>
Complex table using sophisticated formatting possible
spanning multiple pages (
<classname>
supertabular
</classname>
environment?)
</para>
</listitem>
<listitem>
<para>
A figure based on either raster or symbolic
format.
</para>
</listitem>
<listitem>
<para>
Complex formula
</para>
</listitem>
</itemizedlist>
</question>
</qandaentry>
</qandadiv>
</qandaset>
</section>
<section
xml:id=
"tdocExerciseLatexMacro"
>
<title>
Macro
</title>
<qandaset
defaultlabel=
"qanda"
xml:id=
"tdocQandaLatexMacro"
>
<qandadiv>
<qandaentry>
<question>
<para>
Create a user defined command
<code>
\mysalute
</code>
expecting two parameters to be used in the following way:
</para>
<programlisting
language=
"tex"
>
\mysalute{Mr.}{Jim Bean}
</programlisting>
<para>
The formatting expectation is:
</para>
<blockquote>
<para>
Mr Jim
<emphasis
role=
"bold"
>
Bean
</emphasis></para>
</blockquote>
<para>
Mind the user's name to become boldface.
</para>
<tip>
<para>
Read about
<code>
\newcommand
</code>
optionally allowing
for parameters.
</para>
</tip>
</question>
<answer>
<programlisting
language=
"tex"
>
\newcommand{\mysalute}[2]{Hello #1 \textbf{#2}}
</programlisting>
</answer>
</qandaentry>
</qandadiv>
</qandaset>
</section>
<section
xml:id=
"tdocExerciseLatexExampleDoc"
>
<title>
Macro
</title>
<qandaset
defaultlabel=
"qanda"
xml:id=
"tdocQandaLatexExampleDoc"
>
<qandadiv>
<qandaentry>
<question>
<para>
Use one of your previous writings (e.g
<quote
xml:lang=
"de"
>
Wissenschaftliches Arbeiten
</quote>
) to create a
LaTeX document based on the following features:
</para>
<itemizedlist>
<listitem>
<para>
Bibliography residing in an external BiBtex file
</para>
</listitem>
<listitem>
<para>
Internal cross references implemented by
<code>
\label
</code>
,
<code>
\ref
</code>
and
<code>
\pageref
</code>
. You may want to define appropriate
macros.
</para>
</listitem>
<listitem>
<para>
An index containing an alphabetical list of words and
expressions with the pages of the book upon which they are
to be found.
</para>
<tip>
<para>
Use the
<package>
makeidx
</package>
package
</para>
</tip>
</listitem>
</itemizedlist>
</question>
</qandaentry>
</qandadiv>
</qandaset>
</section>
</section>
</chapter>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment