diff options
| author | Bartosz Leper <bl.nero@gmail.com> | 2015-06-24 18:33:43 +0200 |
|---|---|---|
| committer | Bartosz Leper <bl.nero@gmail.com> | 2015-06-24 18:33:43 +0200 |
| commit | b0995850dabfd95a268cbab0ba5f09cd8dba7a77 (patch) | |
| tree | fc8b411e4a7657709800359ed1800fe8bb4b34eb /help/manual/common | |
| parent | 2676521231679cfd24114d38ce6c5b2208568530 (diff) | |
| download | snap-b0995850dabfd95a268cbab0ba5f09cd8dba7a77.tar.gz snap-b0995850dabfd95a268cbab0ba5f09cd8dba7a77.zip | |
First batch of translation
Diffstat (limited to 'help/manual/common')
| -rw-r--r-- | help/manual/common/defs.tex | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/help/manual/common/defs.tex b/help/manual/common/defs.tex index 4453b67..b35b373 100644 --- a/help/manual/common/defs.tex +++ b/help/manual/common/defs.tex @@ -1,15 +1,35 @@ \usepackage{baskervald} % Default font \usepackage{cabin} % Sans serif font \usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} \usepackage{setspace} \onehalfspacing \usepackage{graphicx} \usepackage{textcomp} \usepackage{hyperref} -\newcommand{\Snap}{{\sf Snap{\it !}}} +% This macro produces a "Snap!" logo. +% +% Note that in Polish (and other languages), nouns are inflected. The form "Snap!" with suffix looks plain stupid, so the macro takes a suffix as argument. If the suffix is non-empty, no exclamation mark is generated, and the suffix is used instead. +\newcommand{\Snap}[1]{% + {% + \sf% + Snap% + \ifx\\#1\\{\it !}% + \else #1% + \fi% + }% +} +\newcommand{\Foo}[1]{ +\ifx\\#1\\foo\else bar\fi +} + \newcommand{\code}[1]{\textsf{#1}} \newcommand{\defaultGraphicsScale}{0.6} +\renewcommand{\thechapter}{\Roman{chapter}} +\renewcommand{\thesection}{\Alph{section}} +\renewcommand{\thesubsection}{} + \newcommand{\inlinepic}[1]{% \raisebox{-4pt}{% \includegraphics[scale=\defaultGraphicsScale]{#1}% |
