• No results found

Lewis Structures in L

N/A
N/A
Protected

Academic year: 2021

Share "Lewis Structures in L"

Copied!
3
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Lewis Structures in L

A

TEX

Using the lewis package

Kent Horvath

May 23, 2006

Introduction

From the Wikipedia article on Lewis Structures:

Lewis structures, also called dot structures or electron-dot diagrams, are diagrams that show the bonding between atoms of a molecule, and the lone pairs of electrons that may exist in the molecule. A Lewis structure can be drawn for any covalently-bonded molecule, as well as coordination compounds. The Lewis Structure was named after G.N. Lewis, who introduced it in his 1916 article The Molecule and the Atom.

Lewis structures show each atom in the structure of the molecule using its chemical symbol. Lines are drawn between atoms that are bonded to one another (rarely, pairs of dots are used instead of lines). Excess electrons that form lone pairs are represented as pair of dots, and are placed next to the atoms on which they reside.

Thus, the lewis package enables the user to typeset rudimentary Lewis Structures within LATEX documents.

(2)

Usage

There is but one command in the lewis package:

\lewis{X}{.}{.}{.}{.}{.}{.}{.}{.}

Such that X is the desired chemical symbol around which the electron dots will be placed. Each {.} represents the symbol that will be placed in the elec-tron dot position, beginning with the lower left hand position and proceeding clockwise around the symbol, X. Thus, \lewis{X}{1}{2}{3}{4}{5}{6}{7}{8} would produce:

3 4 2 1X56

8 7

Because the most common usage of the lewis structures is to place dots within positions 1-8, the period {.} is an ideal choice:

. . . .X..

. .

There is one caveat, however, which is that the infinite configurability of lewis structure diagrams is very difficult to program and so arrays and alignment tweaks such as \hspace may ultimately be needed to achieve the desired results. What follows are several textbook examples of Lewis Struc-tures, as well as the code needed to produce them.

(3)

Examples

1) The bonding of two fluorine atoms with a xenon atom to produce xenon

difluoride (XeF2) may be represented as

. . . .F . .– . . Xe . . – . . F.. . .

The responsible code:

\lewis{F}{.}{.}{.}{.}{}{}{.}

{.}\hspace{-0.5em}--\hspace{-0.75em}\lewis{Xe}

{}{}{.}{.}{}{}{.}{.}\hspace{-0.5em}--\hspace{-0.75em}\lewis{F} {}{}{.}{.}{.}{.}{.}{.}

2) Carbon dioxide (CO2) would look like

. . .O . = C = . O.. .

The responsible code:

\lewis{O}{.}{.}{.}{}{}{}{}

{.}\hspace{-0.5em}=\,C\,=\hspace{-0.75em}\lewis{O} {}{}{}{.}{.}{.}{.}{}

3) Water (H2O) might look like H \ H / .O. . .

The responsible code:

\lewis{O}{.}{}{

\lewis{H}{}{}{}{}{}{}{{\backslash}}{}}{ \lewis{H}{}{}{}{}{}{}{}{{/}} }{}{.}{.}{.}

As you can see from the third example, more complex structures are both harder to code and less elegant. Nonetheless, the building blocks for indi-vidual electron dot diagrams are present and lend themselves naturally to more complex structures. Hopefully future versions will reduce the number of alignment issues and provide additional commands for higher energy level elements.

Referenties

GERELATEERDE DOCUMENTEN

3.3.10.a Employees who can submit (a) medical certificate(s) that SU finds acceptable are entitled to a maximum of eight months’ sick leave (taken either continuously or as

Interlocking is a mechanism what uses the roughness of the surrounded tissue for adhesion, instead of the surface free energy what is the main adhesion mechanism used by

(2) In stmaryrd.sty, the commands \binampersand and \bindnasrepma are defined as delimiters, but their names clearly imply that they are intended to be binary operations (and

The independent variables are amount of protein, protein displayed and interest in health to test whether the dependent variable (amount of sugar guessed) can be explained,

Marktpartijen moeten kunnen vertrouwen op de data bij de besluiten die ze nemen en toezichthouders hebben de data nodig om de markt te monitoren.. De gepubliceerde data

Contrary to the implications given by the Sharpe ratio, the Treynor ratio shows that green funds tend to outperform their conventional alternatives in 20% of

In addition, in this document the terms used have the meaning given to them in Article 2 of the common proposal developed by all Transmission System Operators regarding

(i) (Bonus exercise) Find explicitly the matrices in GL(n, C) for all elements of the irreducible representation of Q for which n is