| 1 |
Logical markup utility packages for LaTeX |
| 2 |
========================================= |
| 3 |
|
| 4 |
Written by Michał Masłowski. Please report bugs to <[email protected]>. |
| 5 |
|
| 6 |
This package is published under the GNU General Public License, |
| 7 |
version 3 or later with the following exception for LaTeX packages |
| 8 |
(based on the exception used in Texinfo's texinfo.tex file): |
| 9 |
|
| 10 |
As a special exception, when this file is read by TeX when |
| 11 |
processing a TeX source document, you may use the result without |
| 12 |
restriction. |
| 13 |
|
| 14 |
Introduction |
| 15 |
------------ |
| 16 |
|
| 17 |
Two packages are contained here -- ``quoted'' providing a single |
| 18 |
command to use inline quotes in a specific language, and ``onedash'' |
| 19 |
to typeset dashes in a specific style and language. |
| 20 |
|
| 21 |
Unlike widely used alternatives, the exact appearance of the |
| 22 |
characters produced by these packages is specified only in their |
| 23 |
options. |
| 24 |
|
| 25 |
Getting this package |
| 26 |
-------------------- |
| 27 |
|
| 28 |
This package has a website at |
| 29 |
``http://mtjm.eu/projects/logical-markup-utils''. |
| 30 |
|
| 31 |
It is currently available from a Mercurial repository at |
| 32 |
``http://hg.mtjm.eu/logical-markup-utils/''. |
| 33 |
|
| 34 |
Usage of quoted |
| 35 |
--------------- |
| 36 |
|
| 37 |
\usepackage[options]{quoted} |
| 38 |
|
| 39 |
Supported options are: |
| 40 |
- ``american'' (default) |
| 41 |
- ``british'' |
| 42 |
- ``german'' |
| 43 |
- ``polish'' |
| 44 |
Their meaning should be obvious. |
| 45 |
|
| 46 |
Four commands are defined to be used: ``\quoted'' formats its argument |
| 47 |
in correct quotes. If it is used inside of the argument, the quotes |
| 48 |
are changed to the inner format. If they are chosen incorrectly, the |
| 49 |
command ``\inquote'' will change the style to the other one. The |
| 50 |
commands ``\lquote'' and ``\rquote'' just typeset the quote marks in |
| 51 |
the current style without changing it. |
| 52 |
|
| 53 |
When not using multi-paragraph quotes, most probably only the |
| 54 |
``\quoted'' command will be needed. |
| 55 |
|
| 56 |
No punctuation is moved in or out of the quotes. |
| 57 |
|
| 58 |
Usage of onedash |
| 59 |
---------------- |
| 60 |
|
| 61 |
\usepackage[options]{onedash} |
| 62 |
|
| 63 |
Supported options are: |
| 64 |
- ``american'' (default) |
| 65 |
- ``british'' |
| 66 |
- ``polish'' -- with endash |
| 67 |
- ``polish-emdash'' |
| 68 |
|
| 69 |
The package declares the ``\dash'' command which typesets a dash using |
| 70 |
style selected by the option. |
| 71 |
|
| 72 |
Two more available commands are useful only in Polish texts: |
| 73 |
- ``\pdash'' typesets a dash beginning a line of dialogue (in English |
| 74 |
it is not needed, since quotes are used to mark dialogue) |
| 75 |
- ``\hyph'' typesets a correct hyphenable hyphen for Polish words like |
| 76 |
``biało-czerwony'' (in English hyphens are hyphenated differently so |
| 77 |
they do not need this command) |
| 78 |
|
| 79 |
License of this file |
| 80 |
-------------------- |
| 81 |
|
| 82 |
Copyright (C) 2009 Michał Masłowski |
| 83 |
|
| 84 |
Copying and distribution of this file, with or without modification, |
| 85 |
are permitted in any medium without royalty provided the copyright |
| 86 |
notice and this notice are preserved. |