No subject

News Admin news at nimloth.ics.muni.cz
Fri Dec 23 00:17:19 CET 2005


>From news Fri Dec 23 00:16:54 2005
Received: (from news at localhost)
	by nimloth.ics.muni.cz (8.12.8/8.10.0.Beta12) id jBMNGrUS019939
	for newsmaster; Fri, 23 Dec 2005 00:16:53 +0100 (MET)
Newsgroups: cz.muni.redir.cstex
Path: news
From: =?ISO-8859-2?Q?Michal_R=F9=BEi=E8ka?= <xruzick7 at fi.muni.cz>
Subject: =?ISO-8859-2?Q?Uvozovky_z_CSLaTeXu_v_LaTeXu_s_Babele?=
 =?ISO-8859-2?Q?m_--_probl=E9m_s_kerningem?=
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.12) Gecko/20050915
Message-ID: <IrxA03.FDG at news.muni.cz>
Sender: xruzick7 at fi.muni.cz@r53s07p07.home.nbox.cz
Date: Thu, 22 Dec 2005 23:16:52 GMT
X-Nntp-Posting-Host: r53s07p07.home.nbox.cz
Reply-To: xruzick7 at fi.muni.cz
X-Accept-Language: cs, sk, en, en-gb, en-us, de
Content-Type: multipart/mixed;
 boundary="------------000403080709050804020502"
Mime-Version: 1.0
Organization: unknown

This is a multi-part message in MIME format.
--------------000403080709050804020502
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: quoted-printable

Dobr=FD den,

s=E1z=EDm LaTeXem s Babelem a T1 fonty, ale nebyl jsem spokojen s v=FDsle=
dky sazby=20
=E8esk=FDch uvozovek. Rozhodl jsem se proto "vyt=E1hnout" si uvozovky z C=
SLaTeXu=20
(konkr=E9tn=EC ze souboru `czech.sty'). Definoval jsem si p=F8=EDkazy pro=
 sazbu =E8esk=FDch,=20
francouzsk=FDch a anglick=FDch uvozovek (v jednoduch=E9 a dvojit=E9 varia=
nt=EC + p=F8=EDkaz=20
pro snadn=E9 p=F8=EDm=E9 uvozen=ED textu ka=BEd=FDm typem uvozovek), viz =
p=F8ilo=BEen=FD soubor=20
`cslatexquotes.sty'.
Funguje to, ale moc se mi nezd=E1 kerning mezi uvozen=FDm textem a znakem=
 uvozovek=20
(viz `test.tex'). Moc se v tom nevyzn=E1m a r=E1d bych proto touto cestou=
 po=BE=E1dal o=20
radu n=ECkoho zku=B9en=ECj=B9=EDho. Je definice v souboru `cslatexquotes.=
sty' v po=F8=E1dku a=20
j=E1 jen =B9patn=EC vid=EDm, nebo je pot=F8eba stylov=FD soubor upravit?
P=F8edem d=ECkuji za reakce.

S pozdravem
Michal R=F9=BEi=E8ka

--------------000403080709050804020502
Content-Type: text/plain;
 name="cslatexquotes.sty"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cslatexquotes.sty"

%%
%% This file `cslatexquotes.sty' is partly derived from file `czech.sty'
%% and is NOT a part of CsLaTeX. For more `czech.sty' information see
%% http://www.cstug.cz/cslatex/.
%%
%% Copyright (c) 1994--98, 2002 (`czech.sty')
%% Jaroslav Snajdr, Zdenek Wagner, Jiri Zlatuska and The LaTeX3 Project
%% Copyright (c) 2005 (`cslatexquotes.sty')
%% Michal Ruzicka
%%
% Czech double quotes
% left (\clqq command)
\DeclareTextCommand{\clqq}{T1}{\leavevmode\kern.1em
\char18 \kern-.0158em\nobreak\hskip0pt}
% right (\crqq command)
\DeclareTextCommand{\crqq}{T1}
{{\edef\@SF{\spacefactor\the\spacefactor}%
\nobreak\kern.06em \char16 \kern.024em \@SF\relax}}
% \uv{} command
\DeclareRobustCommand\uv[1]{{\leavevmode\clqq#1\crqq}}
%%
% Czech single quotes
% left (\clq command)
\DeclareTextCommand{\clq}{T1}{\leavevmode\kern.1em
\char13 \kern-.0158em\nobreak\hskip0pt}
% right (\crq command)
\DeclareTextCommand{\crq}{T1}
{{\edef\@SF{\spacefactor\the\spacefactor}%
\nobreak\kern.06em \char96 \kern.024em \@SF\relax}}
% \juv{} command
\DeclareRobustCommand\juv[1]{{\leavevmode\clq#1\crq}}
%%
% French double quotes
% left (\flqq command)
\DeclareTextCommand{\flqq}{T1}{\leavevmode\kern.1em
\char19 \kern-.0158em\nobreak\hskip0pt}
% right (\frqq command)
\DeclareTextCommand{\frqq}{T1}
{\nobreak\kern.06em \char20 \kern.024em \relax}
% \fuv{} command
\DeclareRobustCommand\fuv[1]{{\leavevmode\flqq#1\frqq}}
% \fuvcs{} command
\DeclareRobustCommand\fuvcs[1]{{\leavevmode\frqq#1\flqq}}
%%
% French single quotes
% left (\flq command)
\DeclareTextCommand{\flq}{T1}{\leavevmode\kern.1em
\char14 \kern-.0158em\nobreak\hskip0pt}
% right (\frq command)
\DeclareTextCommand{\frq}{T1}
{\nobreak\kern.06em \char15 \kern.024em \relax}
% \jfuv{} command
\DeclareRobustCommand\jfuv[1]{{\leavevmode\flq#1\frq}}
% \jfuvcs{} command
\DeclareRobustCommand\jfuvcs[1]{{\leavevmode\frq#1\flq}}
%%
% English double quotes
% left (\elqq command)
\DeclareTextCommand{\elqq}{T1}{\leavevmode\kern.1em
\char16 \kern-.0158em\nobreak\hskip0pt}
% right (\erqq command)
\DeclareTextCommand{\erqq}{T1}
{{\edef\@SF{\spacefactor\the\spacefactor}%
\nobreak\kern.06em \char17 \kern.024em \@SF\relax}}
% \auv{} command
\DeclareRobustCommand\auv[1]{{\leavevmode\elqq#1\erqq}}
%%
% English single quotes
% left (\elq command)
\DeclareTextCommand{\elq}{T1}{\leavevmode\kern.1em
\char96 \kern-.0158em\nobreak\hskip0pt}
% right (\erq command)
\DeclareTextCommand{\erq}{T1}
{{\edef\@SF{\spacefactor\the\spacefactor}%
\nobreak\kern.06em \char39 \kern.024em \@SF\relax}}
% \jauv{} command
\DeclareRobustCommand\jauv[1]{{\leavevmode\elq#1\erq}}
%%
%% End of file `cslatexquotes.sty'.

--------------000403080709050804020502
Content-Type: text/plain;
 name="test.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="test.tex"

\documentclass[12pt,a4paper,twoside]{book}
\usepackage{lmodern}

\usepackage{ifpdf}
\usepackage{multicol}

\usepackage[czech]{babel}
\usepackage{cslatexquotes}
\usepackage[latin2]{inputenc}
\ifpdf
    \usepackage{cmap}
\fi
\usepackage[T1]{fontenc}


\begin{document}
\begin{multicols}{4}
    Czech:

    \uv{test}

    \clqq test\crqq

    test\crqq

    \clqq test

    \smallskip

    \uv{Test.}

    \clqq Test.\crqq

    Test.\crqq

    \clqq Test.

    \medskip

    \juv{test}

    \clq test\crq

    test\crq

    \clq test

    \smallskip

    \juv{Test.}

    \clq Test.\crq

    Test.\crq

    \clq Test.

    \columnbreak
    English:

    \auv{test}

    \elqq test\erqq

    test\erqq

    \elqq test

    \smallskip

    \auv{Test.}

    \elqq Test.\erqq

    Test.\erqq

    \elqq Test.

    \medskip

    \jauv{test}

    \elq test\erq

    test\erq

    \elq test

    \smallskip

    \jauv{Test.}

    \elq Test.\erq

    Test.\erq

    \elq Test.

    \columnbreak
    French:

    \fuv{test}

    \flqq test\frqq

    test\frqq

    \flqq test

    \smallskip

    \fuv{Test.}

    \flqq Test.\frqq

    Test.\frqq

    \flqq Test.

    \medskip

    \jfuv{test}

    \flq test\frq

    test\frq

    \flq test

    \smallskip

    \jfuv{Test.}

    \flq Test.\frq

    Test.\frq

    \flq Test.

    \columnbreak
    French (cs):

    \fuvcs{test}

    \frqq test\flqq

    test\flqq

    \frqq test

    \smallskip

    \fuvcs{Test.}

    \frqq Test.\flqq

    Test.\flqq

    \frqq Test.

    \medskip

    \jfuvcs{test}

    \frq test\flq

    test\flq

    \frq test

    \smallskip

    \jfuvcs{Test.}

    \frq Test.\flq

    Test.\flq

    \frq Test.
\end{multicols}
\end{document}

--------------000403080709050804020502--




More information about the csTeX mailing list