Customary rules on latex style files and their use in documents
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Customary rules on latex style files and their use in documents
Am struggling to understanding where and when to call packages. I have a style file `galex.sty` that needs the `xcolor` package. In the document `article.ltx` I also need to use `xcolor`.
I do as follows for `galex.sty`
Code:
% galex.el
\RequirePackage[dvipsnames*,svgnames,x11names]{xcolor}
\definecolors{Lavender}
% More code here
Here is my document `article.ltx`
Code:
% article.ltx
\documentclass[b5paper,12pt]{article}
\usepackage[body={13cm,18cm}]{geometry}
\usepackage{galex}
% More code here
Does the `xcolor` package bleed through for use in `article.ltx` from the style file `galex.sty`?
What are the customary rules on style files and how they are to be used with documents.
Last edited by Faki; 09-22-2022 at 07:40 PM.
Reason: Introduced code sections
Am struggling to understanding where and when to call packages. I have a style file `galex.sty` that needs the `xcolor` package. In the document `article.ltx` I also need to use `xcolor`.
I do as follows for `galex.sty`
Code:
% galex.el
\RequirePackage[dvipsnames*,svgnames,x11names]{xcolor}
\definecolors{Lavender}
% More code here
Here is my document `article.ltx`
Code:
% article.ltx
\documentclass[b5paper,12pt]{article}
\usepackage[body={13cm,18cm}]{geometry}
\usepackage{galex}
% More code here
Does the `xcolor` package bleed through for use in `article.ltx` from the style file `galex.sty`?
What are the customary rules on style files and how they are to be used with documents.
I ask the question for those more knowledgeable about its contents. I do not see anything untoward to ask.
Sorry, no. We are happy to HELP with things, but your question is (essentially), "I want to do something with latex, but don't really want to read the documentation. Can someone tell me exactly how to do this?"
Did you try putting "how to use latex style files" into a search engine, and look at what you find?? Again, we are happy to help if you're stuck, but you haven't seemed to have done any research of your own. There are no 'customary' rules when it comes to writing something up, other than the technical aspects which are in the documentation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.