Course: Primer in Computer Science 2

« Back
Course title Primer in Computer Science 2
Course code KMI/INFP2
Organizational form of instruction Seminary
Level of course Bachelor
Year of study not specified
Semester Winter
Number of ECTS credits 4
Language of instruction Czech
Status of course Compulsory-optional, Optional
Form of instruction Face-to-face
Work placements This is not an internship
Recommended optional programme components None
Lecturer(s)
  • Vychodil Vilém, doc. RNDr. Ph.D.
  • Ježková Lucie, Mgr.
  • Outrata Jan, doc. Mgr. Ph.D.
  • Krupka Michal, doc. RNDr. Ph.D.
  • Osička Petr, Mgr. Ph.D.
Course content
The primer in computer science is an orientation course for computer science students. The course lasts 20 lessons and it is covered during the first week of the fall semester. The primer prepares the students for writing documentation of their software projects, diploma theses, and scientific publications in the TeX typographic system. <ul> <li>Introduction to computer typesetting. Typographical system TeX, basic principles and algorithms. Output drivers. LaTeX format. Basic document structure. Blocks and environments. Plain composition and basic typesetting rules.</li> </ul> <li>Compound composition of the document. Paragraphs, special environments. Units in typography, TeX fonts, metrics, paragraph geometry, text environments, quotation, flushing and centering, verbatim output, lists.</li> </li>Tables and document structures. Tabbing, tables, floating objects and their position in a document. Document structure, labels and references. Title page, contents, lists of objects, text parts, chapters and sections, bibliographies, indices.</li> <li>Mathematical expressions typesetting. Definitions of new commands. Mathematical modes. Single expressions and equations. Elements of the mathematical mode: indices, exponent, fractions, roots, ellipses. Special symbols, symbol types, mathematical fonts. Boxes: LR boxes, parboxes, multiple columns.</li> <li>Figures in TeX, an introduction to MetaPost. Figures and TeX in general. Packages in LaTeX: graphics package. Introduction to MetaPost. Axes, basic drawing commands, open and closed paths. Interpolation and Bezier curves. Changing shape of curves. Basic expressions and variable types. Contour drawing and filling. Arrows, colors, and pens.</li> <li>Advanced MetaPost features. Labels, parametric path handling, automatic solutions of systems of linear equations, computing intersections. Affine transformations. Basic control constructions: conditional expressions, loops. Macro definitions and macro types. Object and path clipping.</li> </ul>

Learning activities and teaching methods
Lecture, Laboratory Work
Learning outcomes
The course covers an introduction to computer typesetting, introduction to TeX, LaTeX, and a graphical programming language MetaPost.
3. Application Create a document in the typographical system TeX (format LaTeX) and the Metapost language.
Prerequisites
Ability to use PC as a common user.

Assessment methods and criteria
Seminar Work

Credit: Working out a task verifying student's ability to create a document in TeX typographic system (LaTeX format) and Metapost language, the knowledge of which is necessary for writing documentation of bachelor and diploma theses.
Recommended literature
  • Daneš J., Veselý J. (1993). Jemný úvod do TeXu. Elektronický text. Československé sdružení uživatelů TeXu (překlad originálu), Praha.
  • F. Mittelbach a kol. (2004). The LaTeX companion. Addison-Wesley, Boston.
  • Hobby J. D. A User's manual for MetaPost..
  • J. Rybička. (1999). LaTeX pro začátečníky. Třetí vydání. nakladatelství KONVOJ, Brno.
  • Knuth, D. E. Computers & Typesetting.
  • Kočer M., Sýkora P. (1998). Ne příliš stručný úvod do systému LaTeX2e. Elelktronický text. Český překlad originálu The Not So Short.
  • Olšák, P. (2001). TeXbook naruby. Nakladatelství KONVOJ, Brno.
  • Olšák, P. (2000). Typografický systém TeX. Nakladatelství KONVOJ, Brno.


Study plans that include the course
Faculty Study plan (Version) Branch of study Category Recommended year of study Recommended semester