Banner

Donate

You find LaTeX Community useful? Please donate! Learn why!

Amount:

Partner Sites

goLaTeX
TeXblog
TeXnicCenter

Who is online

In total there are 16 users online :: 0 registered, 0 hidden and 16 guests (based on users active over the past 5 minutes)
Most users ever online was 108 on Tue Jun 08, 2010 3:33 pm

Users browsing this forum: No registered users and 16 guests

Paper specifications

LaTeX specific issues not fitting into one of the other forums of this category.

Re: Paper specifications

Postby Humberto Munoz on Sat May 17, 2008 9:58 pm

Stefan_K wrote:Hi Humberto,

important is to write \thispagestyle{empty} at the right place. Not in the preamble. After \begin{document} and before the second page starts.
But as you don't need plain pagestyle at all you can set it to be equal to empty. Write into your preamble before \begin{document}:
Code: Select all
\makeatletter
\let\ps@plain\ps@empty
\makeatother


Stefan


Stefan,

Thanks it works very well. The last question that I have is how I can change the heading References to 6. REFERENCES and centered. I am using:

\begin{thebibliography}{9}
\bibitem{Clarke}
F. H. Clarke,
\newblock {\em Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{thebibliography}

Humberto
Humberto Munoz
 
Posts: 15
Joined: Fri May 16, 2008 2:07 pm

Re: Paper specifications

Postby Stefan_K on Sat May 17, 2008 10:57 pm

Hi Humberto,

how are your other headings? Centered and capitalized too?
How do you make the other headings? Using fancyhdr?
With the answers to the questions and if you show us you preamble for clarifying we should be able to provide a solution that fits.

Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Paper specifications

Postby Humberto Munoz on Sun May 18, 2008 12:46 am

Stefan_K wrote:Hi Humberto,

how are your other headings? Centered and capitalized too?
How do you make the other headings? Using fancyhdr?
With the answers to the questions and if you show us you preamble for clarifying we should be able to provide a solution that fits.

Stefan


Yes, the other heading are centered and capitalized, by using the code

\begin{center}
{\bf 5. CONCLUSIONS}
\end{center}

However for the references the square brackets leave an extra space inside. I want to know if I can eliminate the extra space.
Humberto Munoz
 
Posts: 15
Joined: Fri May 16, 2008 2:07 pm

Re: Paper specifications

Postby Stefan_K on Sun May 18, 2008 1:26 am

Hi Humberto,

that's an unusual (LaTeX) way to define the headings, usually one uses \chapter or \section etc. Perhaps you will use them later.
To help you with a quick solution, write directly before \begin{thebibliography}{9}:
Code: Select all
\def\chapter*#1{\begin{center}\bfseries\MakeUppercase{#1}\end{center}}

I don't like that but it should work. ;) Tell me if something is not ok.

Regarding the references and square brackets show some example code, I don't have unwanted space in references.

Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Paper specifications

Postby Humberto Munoz on Sun May 18, 2008 3:19 am

Stefan_K wrote:Hi Humberto,

that's an unusual (LaTeX) way to define the headings, usually one uses \chapter or \section etc. Perhaps you will use them later.
To help you with a quick solution, write directly before \begin{thebibliography}{9}:
Code: Select all
\def\chapter*#1{\begin{center}\bfseries\MakeUppercase{#1}\end{center}}

I don't like that but it should work. ;) Tell me if something is not ok.

Regarding the references and square brackets show some example code, I don't have unwanted space in references.

Stefan


Stefan,
I have tried \section before, but it does not centered the headings. Then I decided to make the headings with the code
\begin{center}
{\bf 1. REFERENCES}
\end{center}

It works, but I get the extra space in the square brackets. I also tried your quick solution but it does not work.

Humberto
Humberto Munoz
 
Posts: 15
Joined: Fri May 16, 2008 2:07 pm

Re: Paper specifications

Postby Stefan_K on Sun May 18, 2008 12:05 pm

Ah, you are using article, then the code above has to be changed slightly:
Code: Select all
\def\section*#1{\begin{center}\bfseries\MakeUppercase{#1}\end{center}}

Try this right before \begin{thebibliography}{9}.

I cannot see what you mean with the extra space in square brackets. Can you post a screenshot or small example pdf? Or have a look at this minmal example, compile it and look at the result:
Code: Select all
\documentclass[a4paper,10pt]{article}
\begin{document}
\begin{center}
{\bf 5. CONCLUSIONS}
\end{center}
See \cite{Clarke}.
\def\section*#1{\begin{center}\bfseries\MakeUppercase{#1}\end{center}}
\begin{thebibliography}{9}
\bibitem{Clarke}
F. H. Clarke,
\newblock {\em Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{thebibliography}
\end{document}


Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Paper specifications

Postby Humberto Munoz on Sun May 18, 2008 12:39 pm

Stefan_K wrote:Ah, you are using article, then the code above has to be changed slightly:
Code: Select all
\def\section*#1{\begin{center}\bfseries\MakeUppercase{#1}\end{center}}

Try this right before \begin{thebibliography}{9}.

I cannot see what you mean with the extra space in square brackets. Can you post a screenshot or small example pdf? Or have a look at this minmal example, compile it and look at the result:
Code: Select all
\documentclass[a4paper,10pt]{article}
\begin{document}
\begin{center}
{\bf 5. CONCLUSIONS}
\end{center}
See \cite{Clarke}.
\def\section*#1{\begin{center}\bfseries\MakeUppercase{#1}\end{center}}
\begin{thebibliography}{9}
\bibitem{Clarke}
F. H. Clarke,
\newblock {\em Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{thebibliography}
\end{document}


Stefan


The extra space ocurred when I use
\begin{center}
{\bf 6. REFERENCES}
\end{center}

\begin{itemize}
\item[[1]] F. H. Clarke, {\bf Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{itemize}

How can I number the heading references, 6. REFERENCES?
Humberto Munoz
 
Posts: 15
Joined: Fri May 16, 2008 2:07 pm

Re: Paper specifications

Postby Stefan_K on Sun May 18, 2008 1:01 pm

Hi Humberto,

Humberto Munoz wrote:The extra space ocurred when I use
Code: Select all
\begin{itemize}
  \item[[1]] F. H. Clarke, {\bf Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{itemize}

If you use thebibliography and \bibitem again, then it should go away.

Humberto Munoz wrote:How can I number the heading references, 6. REFERENCES?

the quick way:
Code: Select all
\renewcommand*\refname{6. REFERENCES}


In general it's not good LaTeX style to number manually etc. instead of using \section etc. If you want to customize your sectioning titles like centering the titlesec package helps.

Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Paper specifications

Postby Humberto Munoz on Sun May 18, 2008 1:11 pm

Stefan_K wrote:Hi Humberto,

Humberto Munoz wrote:The extra space ocurred when I use
Code: Select all
\begin{itemize}
  \item[[1]] F. H. Clarke, {\bf Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{itemize}

If you use thebibliography and \bibitem again, then it should go away.

Humberto Munoz wrote:How can I number the heading references, 6. REFERENCES?

the quick way:
Code: Select all
\renewcommand*\refname{6. REFERENCES}


In general it's not good LaTeX style to number manually etc. instead of using \section etc. If you want to customize your sectioning titles like centering the titlesec package helps.

Stefan


Stefan,
It works. You have helped me a lot to finish my paper specifications. I will use your advices to improve my LaTex style.
Thanks so much
Humberto
Humberto Munoz
 
Posts: 15
Joined: Fri May 16, 2008 2:07 pm

Re: Paper specifications

Postby Stefan_K on Sun May 18, 2008 1:43 pm

No problem, I understand if you have to finish your work and perhaps you have not yet enough time to read through a lot of documentation, but that will come. I just had to recommend titlesec - if I don't do it then somebody else would probably. ;)

After including titlesec the sectioning format can be changed with one line, for example:
Code: Select all
\titleformat*{\section}{\centering\large\bfseries\scshape}

For illustration one complete example follows. Not perfect, just illustrating titlesec.
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
\usepackage{titlesec,bold-extra,blindtext}
\titleformat*{\section}{\centering\large\bfseries\scshape}
\begin{document}
\tableofcontents
\section{Introduction} \blindtext
\section{More} \blindtext
\section{And More} \blindtext
\section{Still More} \blindtext
\section{Conclusions} \blindtext
See \cite{Clarke}.
\let\stdsection\section% workaround for numbering:
\def\section*#1{\stdsection{#1}}
\begin{thebibliography}{9}
\bibitem{Clarke}
F. H. Clarke,
\newblock {\em Optimization and Nonsmooth Analysis},
SIAM, Classics in Applied Mathematics, Philadelphia, 1990.
\end{thebibliography}
\end{document}

Just in case you don't have bold-extra or blindtext yet etc. I will attach a pdf file for demonstration and remove it later.

Stefan
Attachments
demo.pdf
(38.51 KiB) Downloaded 48 times
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 16 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group