2

I have the code:

\documentclass[11pt]{article}
\usepackage[utf8]{vietnam}   
\usepackage{xymtex}   
\begin{document}   
\LewistetrahedralB{0==C;1==A;2==B;3==X;4==Y} \\   
\LewisTetrahedralA{0==C;1T==A;2T==B;3T==X;4T==Y}   
\end{document}

But when typesetting, I got the error like this

enter image description here

And when I delete the line

\LewisTetrahedralA{0==C;1T==A;2T==B;3T==X;4T==Y}

Then everything will be ok.

enter image description here

I don't know what's the problem here. Can someone help me?

1

I think that \verticalpair in lewisstruc.sty shoud be changed:

\documentclass[11pt]{article}
\usepackage[utf8]{vietnam}
\usepackage{xymtex}
%%
\def\verticalpair{\vbox{%
%\dotnodimension % change this line
\hbox{\dotnodimension}
\nointerlineskip
\kern0.3em
%\dotnodimension}} % change this line
\hbox{\dotnodimension}}}
%%
\begin{document}
\LewistetrahedralB{0==C;1==A;2==B;3==X;4==Y} \\
\LewisTetrahedralA{0==C;1T==A;2T==B;3T==X;4T==Y}
\end{document}
2
  • 1
    Can you please add an screenshot of your result to your answer?
    – Mensch
    Jun 24 '19 at 2:10
  • Thank you very much, everything 's fine now.
    – Le Ngoc
    Jun 24 '19 at 4:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.