Document Classes ⇒ beamer undefined control sequence \set@color ->\pdfliteral
beamer undefined control sequence \set@color ->\pdfliteral
I am new with Beamer and I try to build a presentation, I installed the need files but appears an undefined control sequence :
! Undefined control sequence.
\set@color ->\pdfliteral
{\current@color }\aftergroup \reset@color
l.1095 \color{black}
can anybody help ? thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
beamer undefined control sequence \set@color ->\pdfliteral
welcome to the LaTeX Community board!
Could you show us a minimal working example, that gives that error? Just a small compilable document that shows how you build the presentation and includes the error. The we could test it and suggest a specific adjustment.
Stefan
Re: beamer undefined control sequence
This is What I made
- Attachments
-
- presentacionfinal.tex
- (298 Bytes) Downloaded 471 times
Re: beamer undefined control sequence
- Attachments
-
- presentacionfinal.tex
- (298 Bytes) Downloaded 443 times
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
Re: beamer undefined control sequence
I can see that you are using special characters. On my Linux system they are not shown, but I can compile without error. Do you use Windows, or Linux or what?
Does this example presentacionfinal.tex give the error too? Does it work if you remove the 4 special characters for testing this example?
Stefan
beamer undefined control sequence \set@color ->\pdfliteral
Code: Select all
\documentclass[compress]{beamer}\mode<presentation>\usetheme{Warsaw} ...
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
beamer undefined control sequence \set@color ->\pdfliteral
Because you type those characters directly into your source code you should use the inputenc package. Just add this line to your preamble:
Code: Select all
\usepackage[latin1]{inputenc}
Stefan
Re: beamer undefined control sequence
I added that line but the problem still persists.
- Stefan Kottwitz
- Site Admin
- Posts: 10326
- Joined: Mon Mar 10, 2008 9:44 pm
Re: beamer undefined control sequence
Stefan
Re: beamer undefined control sequence
- Attachments
-
- presentacionfinal.log
- (4.89 KiB) Downloaded 421 times