From b0995850dabfd95a268cbab0ba5f09cd8dba7a77 Mon Sep 17 00:00:00 2001 From: Bartosz Leper Date: Wed, 24 Jun 2015 18:33:43 +0200 Subject: First batch of translation --- help/manual/common/defs.tex | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'help/manual/common') 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}% -- cgit v1.3.1