Text FormattingChanging numbering of subsections

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Fryems
Posts: 2
Joined: Sat May 01, 2010 10:15 pm

Changing numbering of subsections

Post by Fryems »

Hello

I am having trouble creating a command to change the subsection numbering type. I.e Roman, alph etc

I am using xkeyval, and the problem exists within one of my keys. The command works for the ordinary section, yet refuses to with subsection.

\define@key{secch}{num}{\renewcommand \thesection{#1{section}}}
good version....................also works on this command:
\secch[font=ptm, count=3, num=\Roman]

\define@key(ssech){num}{\renewcommand\thesubsection{#1{subsection}}}
bad version.......................

Thankyou.

Duncan

P.S

Any help would be appreciated

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Fryems
Posts: 2
Joined: Sat May 01, 2010 10:15 pm

Re: Changing numbering of subsections

Post by Fryems »

Don't worry about it!
solved

Simple error..had () instead of {}
Post Reply