Search found 22 matches

by jaykemper
Wed Jun 19, 2013 5:25 pm
Forum: Page Layout
Topic: Extra Spacing below Figures placed at Top of Page
Replies: 2
Views: 3671

Re: Extra Spacing below Figures placed at Top of Page

Great, I knew there were some lengths being used there, I just had no idea what they were.

For reference, I attached the PDF output.
by jaykemper
Wed Jun 19, 2013 12:50 am
Forum: Page Layout
Topic: Extra Spacing below Figures placed at Top of Page
Replies: 2
Views: 3671

Extra Spacing below Figures placed at Top of Page

I noticed that when a figure doesn't have enough space below it, it pushes the figure to the next page and fills in text that was entered after it. I completely under stand the reasoning for that, however, there is more space below the figure caption of the pushed back figure than there is if it ...
by jaykemper
Tue Jun 11, 2013 5:59 pm
Forum: General
Topic: PDF Bookmark Format
Replies: 0
Views: 3157

PDF Bookmark Format

I'm writing a class that has parts that need to be all caps. I've defined \part like so

\def\@partPrefix{}
\def\@partPrefixTable{}
\def\@stepAppendix{}
\renewcommand\part{%
\if@noskipsec \leavevmode \fi
\par
\addvspace{4ex}%
\@afterindentfalse
\secdef\@part\@spart}

\def\@part[#1]#2 ...
by jaykemper
Fri Feb 03, 2012 10:34 pm
Forum: General
Topic: Hyperref and pageref
Replies: 1
Views: 2947

Hyperref and pageref

I have some more information...I made a copy of the hyperref package and started makeing a few changes. I found some interesting things, but still got a dead end:

1. Changed all \thepage to \pagetoref (\def\pagetoref{\thepage}} for default usage). This did change the table of contents and all ...
by jaykemper
Fri Feb 03, 2012 9:15 pm
Forum: General
Topic: Hyperref and pageref
Replies: 1
Views: 2947

Hyperref and pageref

I have a document that needs \pageref to produce something other than \thepage. I've gotten it to work like this


\documentclass[twoside,11pt]{article}
%\usepackage{hyperref}

\makeatletter

\newcounter{minipage}
\setcounter{minipage}{3}
\renewcommand\theminipage{M-\@arabic\c@minipage}

\def ...
by jaykemper
Thu Jan 26, 2012 11:30 pm
Forum: Graphics, Figures & Tables
Topic: Tabularx and multicolumn problem
Replies: 5
Views: 6859

Re: Tabularx and multicolumn problem

My question is along this line, but more general, I think.

I just want to have a cell span across a tabularx. In the documentation for tabularx, it says not to use multicolumn across an X column (section 4.3, page 3), but in the very first example (section 2, page 1), it clearly shows a multicolumn ...
by jaykemper
Thu Dec 08, 2011 7:01 pm
Forum: General
Topic: Alter the \ref result appearance?
Replies: 5
Views: 4056

Alter the \ref result appearance?

I had a similar question, but I'll ask it in a more general format.

If I had a label that would normally reference as "3", how would I get it "(See item 3)", or some other arbitrary format?

I notice that in the package "enumitem", it adds an optional argument to change the labelling of the ...
by jaykemper
Wed Dec 07, 2011 12:28 am
Forum: Text Formatting
Topic: MakeUppercase, hyperref, and addcontentsline
Replies: 3
Views: 10841

MakeUppercase, hyperref, and addcontentsline

I guess that does work, but it gives this message:

Code: Select all

Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref)                removing `\uppercase' on input line 5.
But I guess you can ignore the messages.
by jaykemper
Tue Dec 06, 2011 11:18 pm
Forum: Text Formatting
Topic: MakeUppercase, hyperref, and addcontentsline
Replies: 3
Views: 10841

MakeUppercase, hyperref, and addcontentsline

Found a solution, use \texorpdfstring with an empty second argument.

Code: Select all

\documentclass{article}

\usepackage{hyperref}

\begin{document}
\tableofcontents
\addcontentsline{toc}{section}{\texorpdfstring{\MakeUppercase{section}}{}}
\end{document}
by jaykemper
Tue Dec 06, 2011 10:44 pm
Forum: Text Formatting
Topic: MakeUppercase, hyperref, and addcontentsline
Replies: 3
Views: 10841

MakeUppercase, hyperref, and addcontentsline

Is there a workaround to the problem this creates?

\documentclass{article}

\usepackage{hyperref}

\begin{document}
\tableofcontents
\addcontentsline{toc}{section}{\MakeUppercase{section}}
\end{document}


yields

Package hyperref Warning: old toc file detected, not used; run LaTeX again ...