๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.dtp.tex
1 messages
1 total messages Started by robert Sun, 06 Dec 2009 23:29
\guilsinglleft i \guilsinglright cd
#16572
Author: robert
Date: Sun, 06 Dec 2009 23:29
46 lines
2150 bytes
Witam,
Moze sie komus przyda...
chcialbym podsumowac, jak osiagnac znaki \guilsinglleft i \guilsinglright (czyli
znaki "literackie" "<" i ">").

%& --translate-file=cp1250pl
\documentclass[a4paper,wide,10pt,twoside]{mwbk}%
\usepackage[QX]{polski}
\usepackage{tgbonum}

1. Rozwiazanie:
% TeX i LaTex:
\font\gsfontec=ec-qbkr at 11pt
def\nawiasl{{\gsfontec\char"0E}}
\def\nawiasp{{\gsfontec\char"0F}}

2. Rozwiazanie:
% Latex:
\newfont{\gsfontec}{ec-qbkr at 11pt}
\newcommand{\nawiasl}{{\gsfontec\symbol{"0E}}}
\newcommand{\nawiasp}{{\gsfontec\symbol{"0F}}}

3. Rozwiazanie:
%\DeclareFixedFont{\gsfontec}{T1}{qbk}{m}{n}{11}% ok
\DeclareFixedFont{\gsfontec}{T1}{\familydefault}{\seriesdefault}{\shapedefault}{11}%ok
i dalej jak 1. (\def...) lub 2. (\newcommand...)

4. Rozwiazanie - poprawne:
\newcommand{\nawiasl}{{\fontencoding{T1}\selectfont\symbol{"0E}}}
\newcommand{\nawiasp}{{\fontencoding{T1}\selectfont\symbol{"0F}}}

1., 2., i 3. rozwiazanie powoduje problem, gdy w tekscie np. jest czcionka
normalna i kursywa itd. oraz, gdy rozne rozmiary czcionek- trzeba osobno
definiowac znaki dla tych czcionek

4. rozwiazanie najlepsze.

Pozdrowienia
Robert





-- 
Wysล‚ano z serwisu OnetNiusy: http://niusy.onet.pl
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads