[texhax] how to include \subsection and \cite on the same line

Mohamed HOUSSNI houssni at e-press.co.ma
Mon Nov 8 10:29:19 CET 2004


Lars Madsen a écrit :

> rbsingh13 at bellsouth.net :
>
>> Hello,
>>
>> I would like to know how to manipulate latex in such a way to include
>> a reference after \subsection{} on the same line?
>>
>> This is what I would like to accomplish:
>>
>> \subsection (or \chapter or \section) then have the \cite on the same
>> line then continue with the rest of the text as the normal subsection
>> format (i.e. a line below).
>>
>> This is how I would like it to look:
>>
>> 1.1.2 Amplifier Design(Subsection Font) [2](body font)
>>
>> Body Text
>>
>>
>> Anytime I try to place the \cite command, the only way I know how
>> (i.e. within the \subsection environment to be on the same line), it
>> shows up in the table of contents (which I don't want!) and also shows
>> up as the same font as the \subsection.
>>
>> PLEASE HELP!!!!
>>
>
> you have just gotten your answer on comp.text.tex
>
> just to recap:
>
> \subsection[toc and header text]{subsection title}
>
> \cite should go in the {...} bit and you *have* to remember the [...] 
> part
>
right, and to have the cite command in body font you jsut type

\subsection[Amplifier Design]{Amplifier Design \normalfont\cite{...}}

Best regards

-- 
Dr. Mohamed Houssni
Assistant d'Edition
e-Press, 
Casablanca Technopark
20100 Casablanca - Maroc
Phone : 212 (0)22 52 58 00
Fax   : 212 (0)22 21 42 21



More information about the texhax mailing list