Clear Option Clash error [closed]

Course Queries Syllabus Queries 2 years ago

0 1 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Syllabus Queries related to Course Queries. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (1)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I'm working with a template to create a course syllabus. The package requires an .sty file, which I have in the same folder. No matter what I try, I can't clear an error: "Option clash for package color" on line 53. I've read that this has something to do with a repeated package, but I can't figure out where that is. Any help appreciated. [The .sty file is below as well]

%
% 
%
\documentclass[11pt,article,oneside]{memoir}

%% Script-based version control (requires vc package)
% \input{vc}

\usepackage{graphicx,url}
\usepackage{rotating}
\usepackage{memoir-article-styles} % in latex-custom-kjh/needs-memoir

%% Choose font system. Comment out these lines if you are not using xelatex
\usepackage{fontspec}
\usepackage{xunicode}

% Biblatex
\usepackage[american]{babel}
\usepackage[babel]{csquotes}
\usepackage[style=authoryear,
            bibstyle=authoryear,
            citestyle=authoryear-comp,
            uniquename=false,
            hyperref=true,
            backend=biber, babel=hyphen, bibencoding=inputenc]{biblatex}

%% Fix biblatex's odd preference for using In: by default.
\renewbibmacro{in:}{%
  \ifentrytype{article}{}{%
  \printtext{\bibstring{}\intitlepunct}}}

%% Bibliography from http://kjhealy.github.com/socbibs/
\addbibresource{/Users/kjhealy/Documents/bibs/socbib.bib}

% Definitions
\def\myauthor{Kieran Healy}
\def\mytitle{Sociology 155: Organizations and Management}
\def\mysubtitle{Syllabus}
\def\mycopyright{\myauthor}
\def\mykeywords{}
\def\mybibliostyle{plain}
\def\mybibliocommand{}
\def\mysubtitle{}
\def\myaddress{276 Soc/Psych}
\def\myemail{kjhealy@soc.duke.edu}
\def\myweb{http://www.kieranhealy.org}
\def\myphone{660-5737}
\def\myaffiliation{\ \\Duke University}
\def\mykeywords{Sociology, Syllabus, Undergraduate, Organizations, Management}

%% Links
\usepackage[usenames,dvipsnames]{color}
\usepackage[xetex,
colorlinks=true,
urlcolor=BrickRed,
plainpages=false,
   pdfpagelabels,
   bookmarksnumbered,
   pdftitle={\mytitle},
   pdfauthor={\myauthor},
   pdfkeywords={\mykeywords}
   ]{hyperref}

%% Uncomment to make a "DRAFT" watermark
% Page watermark
% \usepackage{type1cm,eso-pic}
% \makeatletter
% \AddToShipoutPicture{%
% \setlength{\@tempdimb}{.5\paperwidth}%
% \setlength{\@tempdimc}{.5\paperheight}%
% \setlength{\unitlength}{1pt}%
% \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
% \makebox(0,0){\rotatebox{45}{\textcolor[gray]{0.9}%
% {\fontsize{3cm}{3cm}\selectfont{Draft Only}}}}%
% Marginal Watermark
% \makebox(-100,-300){\rotatebox{45}{\textcolor[gray]{0.95}%
% {\fontsize{2cm}{2cm}\selectfont{}}}}
% \makebox(-500,-0){\rotatebox{90}{\textcolor[gray]{0.95}%
% {\fontsize{0.7cm}{0.7cm}\selectfont{}}}}
% }%
% }
% \makeatother

\begin{document}

%%% xelatex font choices
%\defaultfontfeatures{}
%\defaultfontfeatures{Scale=MatchLowercase}
% You will need to buy these fonts, change the names to fonts you own, or comment out if not using xelatex.
\setromanfont[Mapping=tex-text]{Minion Pro}
\setsansfont[Mapping=tex-text]{Myriad Pro}
\setmonofont[Mapping=tex-text,Scale=0.8]{Pragmata}


                                                
                                                
0 views
0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community