GeneralPaper specifications

LaTeX specific issues not fitting into one of the other forums of this category.
Humberto Munoz
Posts: 15
Joined: Fri May 16, 2008 3:07 pm

Paper specifications

Post by Humberto Munoz »

Stefan_K wrote: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
Stefan,
It really is a very useful package.
Tell me I am using graphicx to include in my text a graph that I generated with Latexcad. The following code
\begin{figure}[ht]
\centering
\includegraphics[bb=80 350 1400 900, width=5.67in,height=4.72in,keepaspectratio]{slope5}
\caption{Graph of the function in Example 3 }
\end {figure}

shows a graph where the numbers and labels cannot be seens clearly. How I can improve the display of the graph?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Paper specifications

Post by Stefan Kottwitz »

Hi Humberto,

LaTeX-CAD is able to produce tex output that should have the correct quality. Show us the file slope5 and if possible the tex output of LaTeX-CAD to examine it. You can post it or them as attachments here.

Stefan
LaTeX.org admin
Humberto Munoz
Posts: 15
Joined: Fri May 16, 2008 3:07 pm

Paper specifications

Post by Humberto Munoz »

Stefan_K wrote:Hi Humberto,

LaTeX-CAD is able to produce tex output that should have the correct quality. Show us the file slope5 and if possible the tex output of LaTeX-CAD to examine it. You can post it or them as attachments here.

Stefan
I have attached the tex output slope5 and the pdf file.

Humberto
Attachments
slope5.pdf
(9.08 KiB) Downloaded 288 times
slope5.tex
(2.72 KiB) Downloaded 327 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Paper specifications

Post by Stefan Kottwitz »

I can see type3 fonts in slope5.pdf. For better quality it should be type1. One possibility is that you use T1 fontencoding (or a package) but you don't have the corresponding T1 fonts installed. I've seen this often. In that case it's enough to install the cm-super package, it contains type1 computer modern fonts in T1 encoding. You don't have to change anything in your tex documents, they will be used automatically if T1 is required. For installing cm-super you can use the MiKTeX package manager. Install cm-super and recompile your tex file.

Stefan
LaTeX.org admin
Humberto Munoz
Posts: 15
Joined: Fri May 16, 2008 3:07 pm

Paper specifications

Post by Humberto Munoz »

Stefan_K wrote:I can see type3 fonts in slope5.pdf. For better quality it should be type1. One possibility is that you use T1 fontencoding (or a package) but you don't have the corresponding T1 fonts installed. I've seen this often. In that case it's enough to install the cm-super package, it contains type1 computer modern fonts in T1 encoding. You don't have to change anything in your tex documents, they will be used automatically if T1 is required. For installing cm-super you can use the MiKTeX package manager. Install cm-super and recompile your tex file.

Stefan
Stefan,

This is new to me. I am using MiKTeX in one PC and PCTeX in other, in both of them the cm-super package is as a zip file. I need tu unziped it? Where I should add all its files?

Humberto
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Paper specifications

Post by Stefan Kottwitz »

Hi Humberto,

don't use the zip package, it could be easier.
Start the MiKTeX package manager: Start menu -> MiKTeX -> Browse packages (or similar), type cm-super as search keyword or look into the list. That manager will install it.

Stefan
LaTeX.org admin
Humberto Munoz
Posts: 15
Joined: Fri May 16, 2008 3:07 pm

Paper specifications

Post by Humberto Munoz »

Stefan_K wrote:Hi Humberto,

don't use the zip package, it could be easier.
Start the MiKTeX package manager: Start menu -> MiKTeX -> Browse packages (or similar), type cm-super as search keyword or look into the list. That manager will install it.

Stefan
Actually, I am using TotalMiKTeK# instead of MiKTeK, and the shortcut for using Latex is called TeXnicCenter. TotalMiKTeK# is My Documents instead of the Start menu. I searched for Miktex Packages and I do not see it. In the other pc with PCTeX I only have the shortcut for PCTeXv6. What I can do?

Thanks
Post Reply