summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-05-29 17:31:07 +0000
committerKarl Berry <karl@freefriends.org>2006-05-29 17:31:07 +0000
commit0fa508b270dee7a028a8ad97bf2482b6ab09b983 (patch)
treed5c92b6082f7dfffb76f4233c91858eeebba0159
parent279d9d8590eec42bd05bfad15109c83af050d5cd (diff)
new latex package lewis
git-svn-id: svn://tug.org/texlive/trunk@1611 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/tools/tpm-ctan-check2
-rw-r--r--Master/texmf-dist/doc/latex/lewis/README12
-rw-r--r--Master/texmf-dist/doc/latex/lewis/lewis.pdfbin0 -> 47067 bytes
-rw-r--r--Master/texmf-dist/tex/latex/lewis/lewis.sty26
-rw-r--r--Master/texmf-dist/tpm/lewis.tpm25
-rw-r--r--Master/texmf/lists/lewis7
-rw-r--r--Master/texmf/tpm/collection-latexextra.tpm1
7 files changed, 72 insertions, 1 deletions
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check
index 75603d09c7e..c8041221d04 100755
--- a/Build/tools/tpm-ctan-check
+++ b/Build/tools/tpm-ctan-check
@@ -43,7 +43,7 @@ sub main
"hyphen-norwegian", "hyphen-ukenglish", "hyphen-usorbian",
"ibygrk", "iopart-num",
"koma-script",
- "labelcase", "ledmac", "lfb", "lineno",
+ "labelcase", "ledmac", "lewis", "lfb", "lineno",
"lshort-bulgarian", "lshort-dutch", "lshort-english",
"lshort-finnish", "lshort-french", "lshort-german",
"lshort-italian", "lshort-japanese", "lshort-korean",
diff --git a/Master/texmf-dist/doc/latex/lewis/README b/Master/texmf-dist/doc/latex/lewis/README
new file mode 100644
index 00000000000..c588c29f443
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lewis/README
@@ -0,0 +1,12 @@
+LEWIS.STY - Lewis Structures LaTeX Package Version 0.1
+
+Author: Kent Horvath - 23 May 2006
+
+License: This software is provided as part of the public domain. Do with it as you wish.
+
+Requirements: LaTeX 2e
+
+Usage: \lewis{X}{1}{2}{3}{4}{5}{6}{7}{8}
+
+Where X is the element symbol and 1-8 are the symbols to be placed in the electron dot position where 1 is in the lower left hand corner and 1-8 proceed clockwise around X.
+
diff --git a/Master/texmf-dist/doc/latex/lewis/lewis.pdf b/Master/texmf-dist/doc/latex/lewis/lewis.pdf
new file mode 100644
index 00000000000..49193d5cdb0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/lewis/lewis.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/lewis/lewis.sty b/Master/texmf-dist/tex/latex/lewis/lewis.sty
new file mode 100644
index 00000000000..16e65158762
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/lewis/lewis.sty
@@ -0,0 +1,26 @@
+% lewis.sty version 0.1 22-May-2006.
+% Kent Horvath kenthorvath@gmail.com
+% I contribute this software to the public domain. No rights reserved.
+%
+% Commands:
+% ~~~~~~~~~
+% \lewis {X}{.}{.}{.}{.}{.}{.}{.}{.}{.}{.} - Draws rudimentary lewis structures around
+% - desired symbol X. Each {.} may be replaced
+% - by the desired symbol to be placed at the
+% - corresponding position. Note that the dots
+% - are drawn clockwise starting in the lower
+% - left hand side of the symbol X.
+% Examples:
+% ~~~~~~~~
+% The Lewis Structure for XeF_2 is
+% \lewis{\ce{F}}{.}{.}{.}{.}{}{}{.}{.}--\lewis{Xe}{}{.}{.}{.}{.}{}{.}{.}--\lewis{F}{}{}{.}{.}{.}{.}{.}{.}
+%
+% Caution:
+% ~~~~~~~
+% This package is provided without guarantees or support. I don't recommend
+% that you use this package at all.
+
+\ProvidesPackage{lewis}[2006/05/22 v0.1 Draw Lewis Structures]
+
+\providecommand{\lewis}[9]{ \mbox{\ensuremath{ \begin{array}{c} _{#4 \,\, #5}\\ \raisebox{0.25em}{\ensuremath{^{#3}_{#2}}}\,\mbox{#1}\, \raisebox{0.25em}{\ensuremath{^{#6}_{#7}}}\\ \raisebox{0.3em}{\ensuremath{^{#9 \,\, #8}}}\\ \end{array}}}}
+
diff --git a/Master/texmf-dist/tpm/lewis.tpm b/Master/texmf-dist/tpm/lewis.tpm
new file mode 100644
index 00000000000..cb64c77a7b2
--- /dev/null
+++ b/Master/texmf-dist/tpm/lewis.tpm
@@ -0,0 +1,25 @@
+<!DOCTYPE rdf:RDF SYSTEM "../../support/tpm.dtd">
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:TPM="http://texlive.dante.de/">
+ <rdf:Description about="http://texlive.dante.de/texlive/Package/lewis.zip">
+ <TPM:Name>lewis</TPM:Name>
+ <TPM:Type>Package</TPM:Type>
+ <TPM:Date>2006/05/23 04:55:00</TPM:Date>
+ <TPM:Version></TPM:Version>
+ <TPM:Creator>karl</TPM:Creator>
+ <TPM:Title>The lewis package.</TPM:Title>
+ <TPM:Description></TPM:Description>
+ <TPM:Author></TPM:Author>
+ <TPM:Size>48906</TPM:Size>
+ <TPM:Build/>
+ <TPM:RunFiles size="2272">
+texmf-dist/tex/latex/lewis/lewis.sty
+texmf-dist/tpm/lewis.tpm
+ </TPM:RunFiles>
+ <TPM:DocFiles size="47489">
+texmf-dist/doc/latex/lewis/README
+texmf-dist/doc/latex/lewis/lewis.pdf
+ </TPM:DocFiles>
+ <TPM:Provides>Package/lewis</TPM:Provides>
+ </rdf:Description>
+</rdf:RDF>
+
diff --git a/Master/texmf/lists/lewis b/Master/texmf/lists/lewis
new file mode 100644
index 00000000000..4b0fb952122
--- /dev/null
+++ b/Master/texmf/lists/lewis
@@ -0,0 +1,7 @@
+texmf-dist/doc/latex/lewis/README
+texmf-dist/doc/latex/lewis/lewis.pdf
+
+texmf-dist/tex/latex/lewis/lewis.sty
+texmf-dist/tpm/lewis.tpm
+
+texmf/lists/lewis
diff --git a/Master/texmf/tpm/collection-latexextra.tpm b/Master/texmf/tpm/collection-latexextra.tpm
index 4a7fb9daa21..46db019821c 100644
--- a/Master/texmf/tpm/collection-latexextra.tpm
+++ b/Master/texmf/tpm/collection-latexextra.tpm
@@ -264,6 +264,7 @@ A large collection of add-on packages for LaTeX.
<TPM:Package name="leftidx"/>
<TPM:Package name="lettre"/>
<TPM:Package name="lettrine"/>
+ <TPM:Package name="lewis"/>
<TPM:Package name="lexikon"/>
<TPM:Package name="lhelp"/>
<TPM:Package name="limap"/>