problem about roman-numerals-Record and share programming errors


  • Andrea L.
    table-of-contents lyx page-numbering roman-numerals
    I’m currently writing my second thesis template for LyX 2.0.6 under MiKTeX 2.9, and since I’m using the article document class I have to manually organize the page numbering inside the ToC, LoF, LoT et similia.Thanks to fancyhdr I had no problems for the specific page number typesetting on the document body, which will be shown in the MWE; but when I began to organize my ToC formatting I encountered an issue that required this kind of help.My goal is to obtain the Roman numbering for the pseudo-frontmatter inside the ToC without selecting pagenumbering{Roman}, because I want to use the Small Caps font selection.The MWE is as follows:\documentclass[11pt,twoside,british,italian]{article} % \usepackage[T1]{fontenc} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{babel} \usepackage{lipsum} % \makeatletter % % define the page style, note \pagestyle{fancy} already in the preamble \renewcommand{\sectionmark}[1]{\markboth{Sezione\ \thesection.\ #1}{}} \renewcommand{\subsectionmark}[1]{\markright{#1}} \fancyhf{} \fancyhead[RE]{\nouppercase{\slshape \leftmark}} \fancyhead[LO]{\nouppercase{\slshape \lastrightmark}} \fancyhead[LE,RO]{\itshape \thepage} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0pt}% create new \fancypagestyles in respect to short sections \usepackage{slantsc} \usepackage{extramarks} % \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[CE,CO]{\slshape{\scshape \thep

Originally posted 2013-09-26 03:15:49.