Comments (3)
tudapub requires xcolor and tikz itself.
You can add the Options by switchching to
\PassOptionsToPackage{cmyk, dvipsnames}{xcolor}
before loading tudapub.
It would be possible to add a PassingOption to tudapub as well. But I think for this case this wouldn't be necessary.
Plase pay attention to the fact, that pdfa-mode will switch to rgb colors. You should turn that one off for cmyk.
from tuda_latex_templates.
tudapub is loaded within \documentclass[options]{tudapub}
, right? So should I put this comand line
\PassOptionsToPackage{cmyk, dvipsnames}{xcolor}
before \documentclass
?
from tuda_latex_templates.
Yes.
To add a short explanation:
if you load a package twice with a different set of options, you get an option clash.
That's why you receive one as soon as loading xcolor yourself.
\PassOptionsToPackage
adds the options to the options list to be loaded in case the package will be loaded later. Therefore you have to add it before loading the package which means before documentclass.
tudapub already choses cmyk mode, except you have the pdfa mode switched on. This is due to pdfa requires rgb, since it focusses on the digital storage and not printing.
The dvipsnames option isn't loaded so you can also get the desired setup by simply turning pdfa to false and adding \PassOptionsToPackage{dvipsnames}{xcolor}
This generally is the way to do it, when you want to add any option to any automatically loaded package.
from tuda_latex_templates.
Related Issues (20)
- TOC entries with a page number of over 99 cause an overfull hbox when using the tudapub class HOT 3
- Affidavit text differs from TU Template HOT 8
- Automatic computation of points HOT 4
- Broken links to ULB Latex page in README.md HOT 1
- conflict between siunitx and tuda-ci color option (tudabeamer)
- Spelling mistakes in affidavit since 8db26fe HOT 4
- Glossary does not show up in TUDaThesis HOT 9
- Lualatex in TU Design mit epslatex terminal in Gnuplot macht Probleme HOT 1
- Undefined control sequence durch Bibliografie HOT 4
- \submissiondate and \examdate on first and second title page in different languages HOT 3
- New Slide Layout via design2023 (beta) HOT 3
- How to use BCORtitlepage=true with custommargins=true? HOT 2
- License w/o TUPrints Info HOT 7
- table of contents in beamer design2023 HOT 5
- Custom margins for specific pages HOT 2
- tudasciposter change boxstyle within document HOT 2
- \tuprints new additional licence preset for copyright (ULB request) HOT 9
- \tuprints add 's' for https links (ULB request) HOT 3
- \tuprints Text in docu/demo-file TUDaPhD+Thesis (ULB request) HOT 8
- Typst port of tudapub thesis template - how font sizes are calculated HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuda_latex_templates.