Search found 28 matches

by gkl
Fri Sep 30, 2011 6:55 pm
Forum: Text Formatting
Topic: Where is \leftmark defined?
Replies: 7
Views: 12350

Re: Where is \leftmark defined?

Dear All,

Many thanks for the prompt replies. Emilio you are right, I am looking for the case where you have two sections running in the same page. My idea was to look into the leftmark variable, see if it is empty and if not append the value of the section's name. I haven't tried it yet, hopefully ...
by gkl
Wed Sep 28, 2011 6:57 pm
Forum: Text Formatting
Topic: Where is \leftmark defined?
Replies: 7
Views: 12350

Where is \leftmark defined?

OK, I found this line:

\def\leftmark{\expandafter\@leftmark\botmark\@empty\@empty}

which I think is what assigns a value to the variable leftmark.

Does anyone know where is the code that actually works out what the value of \@leftmark is?

Finally, could you please suggest any books containing ...
by gkl
Wed Sep 28, 2011 4:44 pm
Forum: Text Formatting
Topic: Where is \leftmark defined?
Replies: 7
Views: 12350

Where is \leftmark defined?

Dear All,

I am trying to change the definition of \leftmark so that if you are on a page that has text from Chapter 1 and the start of Chapter 2 it will print Chapter 1 and Chapter 2 rather than just Chapter 2.

I looked at article.cls and fancyhdr.sty but found only uses of it, no definitions ...
by gkl
Mon Sep 19, 2011 1:21 pm
Forum: Text Formatting
Topic: Font Selection Specification for References
Replies: 1
Views: 1611

Font Selection Specification for References

Dear All,

Does anyone know where Latex gets the information about what fonts to use for the Bibliography section?

I am writing an article for a Springer journal and when using natbib with their specified bibliography style (splncs03) I get one font size and when using commenting natbib out I am ...
by gkl
Wed Jul 20, 2011 2:02 pm
Forum: Text Formatting
Topic: hyperref | Hyperlinked URLs without back References
Replies: 3
Views: 3037

hyperref | Hyperlinked URLs without back References

Sure. This is my tex file:


\documentclass[a4paper,12pt,twoside]{article}
\usepackage{path}
\usepackage{url}
\usepackage[comma,square,sort&compress]{natbib}
\usepackage[pdftex]{hyperref}
\usepackage{hypernat}
\begin{document}
\section{Introduction}
\label{sec:intro}
The advancements in ubiquitous ...
by gkl
Tue Jul 19, 2011 7:34 pm
Forum: Text Formatting
Topic: hyperref | Hyperlinked URLs without back References
Replies: 3
Views: 3037

hyperref | Hyperlinked URLs without back References

Dear All,

I am using hyperref with the pdftex driver to create a pdf file from my LaTex source files. I have a BiBTeX style (no-plain) that allows for URLs in citations and I am using the url package to format the URLs.

Now, I would like to achieve the following: I want the URLs to show up as ...
by gkl
Fri Jul 01, 2011 3:54 am
Forum: Text Formatting
Topic: Need help with hyperref and BiBTeX integration
Replies: 9
Views: 15964

Need help with hyperref and BiBTeX integration

Hi,

I do apologise for the late reply (was caught up in preparing a journal and a conference paper); hope the reply comes in good time.

Your problems are caused by the cite package. Remove it from the preamble and replace it with

\usepackage[pdftex,pagebackref]{hyperref}
\usepackage{natbib ...
by gkl
Mon Jun 27, 2011 6:31 pm
Forum: Text Formatting
Topic: Need help with hyperref and BiBTeX integration
Replies: 9
Views: 15964

Re: Need help with hyperref and BiBTeX integration

Could you please post on the forum a minimal file (one with the package declarations and some text) of the latex file you are trying to use so that I can compile and get a feeling of the errors?

If you remove the \hypersetup directive, does everything work (just in case you do not have hyperref ...
by gkl
Mon Jun 27, 2011 3:06 pm
Forum: Text Formatting
Topic: Need help with hyperref and BiBTeX integration
Replies: 9
Views: 15964

Need help with hyperref and BiBTeX integration

Try this:

Code: Select all

\renewcommand{\backrefpagesname}{ \protect\\  \textit{Cited on
page(s):}~}
\renewcommand{\backref}{\backrefpagesname}
by gkl
Sun Jun 26, 2011 2:37 pm
Forum: Text Formatting
Topic: Need help with hyperref and BiBTeX integration
Replies: 9
Views: 15964

Need help with hyperref and BiBTeX integration

I think backref (or hyperbackref) needs to be setup as an option when you load the package, otherwise its value is set and you can not change it.

So you should write

Code: Select all

\usepackage[hyperref,backpageref]{hyperref}