{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1986","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1986/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1986/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1986/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/1986","id":99977718,"number":1986,"title":"Title in PDF Output","user":{"login":"NoralK","id":13447087,"avatar_url":"https://avatars.githubusercontent.com/u/13447087?v=3","gravatar_id":"","url":"https://api.github.com/users/NoralK","html_url":"https://github.com/NoralK","followers_url":"https://api.github.com/users/NoralK/followers","following_url":"https://api.github.com/users/NoralK/following{/other_user}","gists_url":"https://api.github.com/users/NoralK/gists{/gist_id}","starred_url":"https://api.github.com/users/NoralK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoralK/subscriptions","organizations_url":"https://api.github.com/users/NoralK/orgs","repos_url":"https://api.github.com/users/NoralK/repos","events_url":"https://api.github.com/users/NoralK/events{/privacy}","received_events_url":"https://api.github.com/users/NoralK/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/latex","name":"latex","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-10T05:39:12Z","updated_at":"2015-11-30T08:23:01Z","closed_at":null,"body":"In my `conf.py` I am using `'fncychap': '\\\\usepackage[Sonny]{fncychap}'` for generating my PDFs.\r\n\r\nMy chapters are generating correctly:\r\n![chapter](https://cloud.githubusercontent.com/assets/13447087/9159925/f767a3c8-3ee6-11e5-880f-dfdb12513de5.png)\r\n\r\nHowever the index font is much smaller than the chapter:\r\n![index](https://cloud.githubusercontent.com/assets/13447087/9159927/faabeb20-3ee6-11e5-891c-f1bcc3da810a.png)\r\n\r\nHow can this be fixed?\r\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments/160552834","html_url":"https://github.com/sphinx-doc/sphinx/issues/1986#issuecomment-160552834","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/1986","id":160552834,"user":{"login":"tk0miya","id":748828,"avatar_url":"https://avatars.githubusercontent.com/u/748828?v=3","gravatar_id":"","url":"https://api.github.com/users/tk0miya","html_url":"https://github.com/tk0miya","followers_url":"https://api.github.com/users/tk0miya/followers","following_url":"https://api.github.com/users/tk0miya/following{/other_user}","gists_url":"https://api.github.com/users/tk0miya/gists{/gist_id}","starred_url":"https://api.github.com/users/tk0miya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tk0miya/subscriptions","organizations_url":"https://api.github.com/users/tk0miya/orgs","repos_url":"https://api.github.com/users/tk0miya/repos","events_url":"https://api.github.com/users/tk0miya/events{/privacy}","received_events_url":"https://api.github.com/users/tk0miya/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T08:23:01Z","updated_at":"2015-11-30T08:23:01Z","body":"It caused by Sphinx. Sphnx redefines style parameters for fncychap on `sphinx.sty`::\r\n```\r\n% This sets up the fancy chapter headings that make the documents look\r\n% at least a little better than the usual LaTeX output.\r\n%\r\n\\@ifundefined{ChTitleVar}{}{\r\n  \\ChNameVar{\\raggedleft\\normalsize\\py@HeaderFamily}\r\n  \\ChNumVar{\\raggedleft \\bfseries\\Large\\py@HeaderFamily}\r\n  \\ChTitleVar{\\raggedleft \\textrm{\\Huge\\py@HeaderFamily}}\r\n  % This creates chapter heads without the leading \\vspace*{}:\r\n  \\def\\@makechapterhead#1{%\r\n    {\\parindent \\z@ \\raggedright \\normalfont\r\n      \\ifnum \\c@secnumdepth >\\m@ne\r\n        \\DOCH\r\n      \\fi\r\n      \\interlinepenalty\\@M\r\n      \\DOTI{#1}\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n`sphinx.sty` is generated automatically on every time you run `make latex`.\r\nWe need to patch to Sphinx that does not redefine these parameters by default.\r\n\r\nMEMO:\r\nThis style came from the Python documentation (3d74adea2595f35994093091410bc8607bd49f74)"}}