General ⇒ Package Improvement
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Package Improvement
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Suggestion
This is certainly what I like if someone has a suggestion for one of my packages.
Regards
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Package Improvement
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Package Improvement
The address of the
lewis
developer is in the .sty file, at the top. You can contact him. The package is public domain, so anybody may improve it, even without notice, such as if you don't get an answer.Btw. a more specific topic title would be meaningful.
Stefan
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Re: Package Improvement
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Package Improvement
Since class (*.cls) and package (*.sty) files are plain text files like your LaTeX sources (*.tex), they can be opened with every text editor. Hence TeXworks can do that, too.ghostanime2001 wrote:[…] Also, How do you open .sty files ? I am using MiKTeX 2.9 so can TeXworks open this format ? […]
The place you are searching for is called CTAN. And package documentations are either available by browsing the package list or opening a command line and typing in the following.ghostanime2001 wrote:[…] So I suggested having people organize many documents into maybe one or two websites or by other means of organization so people could access information faster and have available up to date documents.
Code: Select all
texdoc lewis
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Package Improvement
On Linux, I useghostanime2001 wrote:Also, How do you open .sty files ?
Code: Select all
gedit `kpsewhich lewis.sty`
Code: Select all
kpsewhich lewis.sty
Just look on CTAN. That's the authoritative source. In such cases, I quickly open http://ctan.org/pkg/lewis, i.e. attaching the package name. Of course CTAN has a search feature, but already knowing this link pattern saves time.ghostanime2001 wrote:I am forced to search through endless webpages and posts and other documents.
Stefan
-
- Posts: 402
- Joined: Fri May 20, 2011 9:41 am
Package Improvement
\lewis
is made from ?
Code: Select all
\providecommand{\lewis}[9]{ \mbox{\ensuremath{ \begin{array}{c} _{#4 \,\, #5}\\ \raisebox{0.25em}{\ensuremath{^{#3}_{#2}}}\,\mbox{#1}\, \raisebox{0.25em}{\ensuremath{^{#6}_{#7}}}
Package Improvement
Yes, it is. Interestingly enough it's also the entire code of the package... I agree with the following comment in the sty file:ghostanime2001 wrote:There is a very long command line in .sty file. Is this the command\lewis
is made from ?
TheThis package is provided without guarantees or support. I don't recommend that you use this package at all.
\lewis
and \Lewis
commands provided by chemfig are surely more powerful.Regards