From 841463c39d1799ddc54c8530ed3580c82ec22b35 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Dec 2007 01:45:01 +0000 Subject: new latex package quotmark (19dec07) git-svn-id: svn://tug.org/texlive/trunk@5834 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/quotmark/CHANGES | 3 ++ Master/texmf-dist/doc/latex/quotmark/README | 60 ++++++++++++++++++++++ Master/texmf-dist/doc/latex/quotmark/quotmark.pdf | Bin 0 -> 184032 bytes Master/texmf-dist/doc/latex/quotmark/sample.tex | 33 ++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/quotmark/CHANGES create mode 100644 Master/texmf-dist/doc/latex/quotmark/README create mode 100644 Master/texmf-dist/doc/latex/quotmark/quotmark.pdf create mode 100644 Master/texmf-dist/doc/latex/quotmark/sample.tex (limited to 'Master/texmf-dist/doc/latex/quotmark') diff --git a/Master/texmf-dist/doc/latex/quotmark/CHANGES b/Master/texmf-dist/doc/latex/quotmark/CHANGES new file mode 100644 index 00000000000..e9b22e7a067 --- /dev/null +++ b/Master/texmf-dist/doc/latex/quotmark/CHANGES @@ -0,0 +1,3 @@ +Change log for quotmark.sty: + +v1.0: Initial release. diff --git a/Master/texmf-dist/doc/latex/quotmark/README b/Master/texmf-dist/doc/latex/quotmark/README new file mode 100644 index 00000000000..d5374483593 --- /dev/null +++ b/Master/texmf-dist/doc/latex/quotmark/README @@ -0,0 +1,60 @@ +LaTeX Package : quotmark v 1.0 + +Last Modified : 10 December 2007 + +Author : Nicola Talbot + +Files : quotmark.dtx - documented source file + quotmark.ins - installation script + sample.tex - sample file + +The purpose of this package is to provide consistent quotation +marks throughout your document. To quote text use either \tqt{text} +or \begin{qt}text\end{qt}. + +The style can be changed either via package options, or through the +use of commands, so if, say, you have used single inverted commas +throughout your document, and then your publisher tells you that you +must use double inverted commas, this can be achieved by editing a +single line, rather than trying to work out how to get your editor's +search and replace function to work on closing quotes without changing +apostrophes or acute accents. + +There is also an added advantage in that using the text-block +command or the environment provided by this package will +ensure that failing to close a quotation will result in an error. +Paragraph breaks within a quotation are dealt with +automatically. + +This package detects if babel has been loaded, and will use the +punctuations marks for the current language. + +See the documentation for more details. + +To extract the code from the documented source file do: + +latex quotmark.ins + +This will create the file quotmark.sty and some .def files. + +Move quotmark.sty and the .def files to somewhere LaTeX will find it +(e.g. texmf/tex/latex/quotmark/) and remember to update the TeX +database. + +To extract the documentation do: + +latex quotmark.dtx +makeindex -s gind.ist quotmark +latex quotmark.dtx +latex quotmark.dtx + +Place the resulting file (quotmark.dvi) into the documentation +directory (e.g. texmf/doc/latex/quotmark/). + +Read the file CHANGES for version changes. + +This material is subject to the LaTeX Project Public License. +See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for +the details of that license. + +http://theoval.cmp.uea.ac.uk/~nlct/ diff --git a/Master/texmf-dist/doc/latex/quotmark/quotmark.pdf b/Master/texmf-dist/doc/latex/quotmark/quotmark.pdf new file mode 100644 index 00000000000..f90e1d1b872 Binary files /dev/null and b/Master/texmf-dist/doc/latex/quotmark/quotmark.pdf differ diff --git a/Master/texmf-dist/doc/latex/quotmark/sample.tex b/Master/texmf-dist/doc/latex/quotmark/sample.tex new file mode 100644 index 00000000000..d87f984e926 --- /dev/null +++ b/Master/texmf-dist/doc/latex/quotmark/sample.tex @@ -0,0 +1,33 @@ +\documentclass{article} + +\usepackage{quotmark} + +\begin{document} + +First quote uses an environment: +\begin{qt}This is a quote.\end{qt} This isn't a quote. + +The next quote uses a text-block command: +\tqt{This is a quote.} This isn't a quote. + +Now for some nested quotes: + +\tqt{Did she say \tqt{I am here}?} he asked. + +\tqt{She said \tqt{where am I?}\,} he replied. + +\tqt{He said to me \tqt{I am Harry \tqt{Mad} Hatter},} I said. + +Paragraphs within the quotes are dealt with automatically: + +\begin{qt}Dear Sir/Madam, + +I am writing to inform you that I would like you to quote this +letter in your so-called \tqt{funny} article, which I don't find +the least bit amusing. + +Yours etc\end{qt} + +Back to unquoted text. + +\end{document} -- cgit v1.2.3