Hello,
I came across a bug in my document whereby appendix sections (in an article) are referred to as sections, rather than as appendices. The problem is caused by the titlesec package. Here is an MWE:
\documentclass{article}
\usepackage{titlesec,hyperref}
\begin{document}
\appendix ...
Search found 26 matches
- Thu Jul 07, 2011 6:58 pm
- Forum: General
- Topic: titlesec, hyperref, and appendix
- Replies: 1
- Views: 2406
- Wed Jul 28, 2010 10:55 am
- Forum: Page Layout
- Topic: How to restore header of appendix to APPENDIX again
- Replies: 7
- Views: 7538
How to restore header of appendix to APPENDIX again
you could substitute
for
Chris
Code: Select all
Appendix
Code: Select all
\appendixname
- Tue Feb 09, 2010 5:20 pm
- Forum: Page Layout
- Topic: How to restore header of appendix to APPENDIX again
- Replies: 7
- Views: 7538
How to restore header of appendix to APPENDIX again
You just need to redefine the \chaptername which is called in the header definition:
Simply renew it in the appendix:
HTH,
Chris
Code: Select all
\renewcommand{\chaptermark}[1]{\markboth{\chaptername\ \thechapter.\ #1}{}}
Code: Select all
\appendix
\renewcommand{\chaptername}{Appendix}
\part{Appendix}
Chris
- Mon Feb 08, 2010 1:44 pm
- Forum: Math & Science
- Topic: Make a widetext environment out of RevTeX4 for another class
- Replies: 4
- Views: 11039
Make a widetext environment out of RevTeX4 for another class
Hey, I recently found an implementation and posted a link to it on the forum here: http://www.latex-community.org/forum/vi ... =47&t=7656 (I also had a question/suggestion for it...)MasaYan wrote:Anyone, let me know if there is one creat widetext environment, please.
Chris
- Mon Feb 08, 2010 12:28 pm
- Forum: Page Layout
- Topic: conditional statement: text is at the top/bottom of a page
- Replies: 0
- Views: 3316
conditional statement: text is at the top/bottom of a page
Hi,
I've needed to put some long equations into a two-column paper recently. I found that Anjishnu Sarkar ( http://www.iopb.res.in/~anjishnu/ ) posted widetext.sty , an implementation of the environment from REVTeX4, which nicely places a page-wide column at the point you specify. Great. It also ...
I've needed to put some long equations into a two-column paper recently. I found that Anjishnu Sarkar ( http://www.iopb.res.in/~anjishnu/ ) posted widetext.sty , an implementation of the environment from REVTeX4, which nicely places a page-wide column at the point you specify. Great. It also ...
- Tue Sep 15, 2009 1:00 pm
- Forum: Document Classes
- Topic: Margin in ams math
- Replies: 6
- Views: 8188
Margin in ams math
For reference, I recently came up with a better solution by redefining the math environments:
\usepackage{calc} % to make calculations with lengths
\newlength{\myMargin}
\setlength{\myMargin}{5em}
% For align environments:
\let\oldalign\align
\let\endoldalign\endalign
\renewenvironment{align ...
\usepackage{calc} % to make calculations with lengths
\newlength{\myMargin}
\setlength{\myMargin}{5em}
% For align environments:
\let\oldalign\align
\let\endoldalign\endalign
\renewenvironment{align ...
- Thu May 07, 2009 4:01 pm
- Forum: Graphics, Figures & Tables
- Topic: vector graphics
- Replies: 3
- Views: 2365
Re: vector graphics
Cheers, that worked (the first option). Slightly more work but a satisfying result. Now it's a shame I can't do the same with Matlab as exporting directly to PDF from it still leaves lines looking "rubbish" and looking the same as exporting to EPS and converting with epspdfconversion.
- Tue May 05, 2009 12:07 pm
- Forum: Graphics, Figures & Tables
- Topic: vector graphics
- Replies: 3
- Views: 2365
vector graphics
Hi,
When I open my LaTeX output pdf file in Acrobat, the vector graphics look rubbish, but it looks fine in OS X Preview and when printed. By rubbish, I mean heavily aliased when zoomed out (<125%), but better when zoomed in close (>125%). I guess it's not the end of the world, just a little ...
When I open my LaTeX output pdf file in Acrobat, the vector graphics look rubbish, but it looks fine in OS X Preview and when printed. By rubbish, I mean heavily aliased when zoomed out (<125%), but better when zoomed in close (>125%). I guess it's not the end of the world, just a little ...
- Tue Dec 16, 2008 9:26 pm
- Forum: Document Classes
- Topic: Indenting the bibliography
- Replies: 1
- Views: 5203
Indenting the bibliography
Ok so I've migrated to the natbib package (it's compatibiltity with Hyperef is great!) and managed to fudge a fix:
\makeatletter
\renewcommand\@biblabel[1]{\rule{\MyIndent+2em}{0em}}
\makeatother
However, the additional 2em is necessary to make the distance between the left margin and the first ...
\makeatletter
\renewcommand\@biblabel[1]{\rule{\MyIndent+2em}{0em}}
\makeatother
However, the additional 2em is necessary to make the distance between the left margin and the first ...
- Wed Dec 10, 2008 4:20 pm
- Forum: Document Classes
- Topic: Indenting the bibliography
- Replies: 1
- Views: 5203
Indenting the bibliography
Hi everyone,
I'm currently trying to change the indent of the bibliography - both the first line indent and the hang indent. I have managed to change the hanging indent by setting the 'labelsep' length (just before invoking the bibliography), but cannot find a dimension that will change the first ...
I'm currently trying to change the indent of the bibliography - both the first line indent and the hang indent. I have managed to change the hanging indent by setting the 'labelsep' length (just before invoking the bibliography), but cannot find a dimension that will change the first ...