I am using the dramatist package for a libretto. I want to replace the word of the \scene command with the word Aria. So, every time I place a \scene command I would get the word Aria with a number. Any help would be appreciated.

  • Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) including \documentclass and the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem. – user36296 Nov 25 '18 at 11:58
  • 1
    dramatist is quite a specialized package and you'll not find many people accustomed to it. A small example of code will definitely help in finding a good solution. – egreg Nov 25 '18 at 17:11

Well, you gave no MWE so I had to guess a little bit.

In the documentation of package dramatist (type texdoc dramatist on your terminal/console) you can see that \scene uses \scenename you can simply rename with

\renewcommand{\scenename}{Aria} % <=====================================

So the following code



%% This will print the name of the speaking actor in boldface
\renewcommand{\scenename}{Aria} % <=====================================


\Character[Wilheim - a person]{Wilheim}{will} % define characters



\willspeaks Vivamus varius tellus et mi pretium elementum iaculis tellus semper. Donec semper iaculis ante, 
convallis convallis arcu laoreet vitae. Aliquam id leo ac eros ultrices rhoncus porta sed ipsum.



gives you:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.