Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have already created 25 different files that I whish to include in a long document. My first attempt is as shown below:

\documentclass[10pt, twoside,letterpaper]{report}
\usepackage{amsmath,amssymb,amsfonts} % Typical maths resource packages
\usepackage{graphics}                 % Packages to allow inclusion of graphics
\usepackage{color}                    % For creating coloured text and background
\usepackage{hyperref}               % For creating hyperlinks in cross references
\usepackage{xfrac}                     % For creating inline fractions        
\usepackage{caption}
\usepackage{subcaption}
\usepackage[explicit]{titlesec}
\usepackage{lipsum}
\usepackage{helvet}
\usepackage{wrapfig}
\usepackage{titlesec} 
\usepackage{fancyhdr}
\usepackage[utf8]{inputenc}
\usepackage{mathptmx}
\usepackage{lmodern}

%\setlength{\headheight}{12pt}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\numberwithin{equation}{chapter}
\graphicspath{my_images}
\makeindex

\begin{document}

\input{./title.tex}

\input{Chapter1.2}

\end{document}

File Chapter1.2 is:

\chapter{Contravariant and Covariant Tensors - Part 1}
Let's begin with two curvilinear coordinates systems as shown in Figure 1.1 
\begin{figure}[ht]
\begin{center}
\includegraphics[width=0.65\textwidth]{Curv_Coord}
\caption{Curvilinear Coordinate systems}
\end{center}
\label{myfig1.1}
\end{figure}
and assume that we know how to transform from one system to the other so that if we know the components of a contravariant tensor in the x-coordinate system, we know its components in the y-coordiante system by an equation such as:

The difficulty I have is that I want to have a smaller font size for the Chapter title - Contravariant and Covariant Tensors - Part 1 - Furthermore, where should I write the command that would allow such font change, in main.tex or in Chapter 1.2.tx

Unfortunately, after many hours of trial and error, I have to admit defeat.

Can someone help with this problem? Thank you kindkly

share|improve this question

closed as unclear what you're asking by Andrew Swann, Guido, percusse, Red, Keks Dose Oct 29 '13 at 8:50

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
the fonts used in chapters (you may as well use the facilities of titlesec since you are loading it anyway) seem to be unrelated to issues about modularity and file inclusion. If your question is about chapter fonts you could change the question title and make the example a single file example that people could run. –  David Carlisle Oct 22 '13 at 16:37

1 Answer 1

I'd recommend to do the font change in the main file:

\commandtochangechapterfont %for example from `titlesec`
\input{Chapter1.2}
\commandtochangechapterfontback %depends on the first command

If you change the way you handle the typesetting of chapters, you'll probably do this in main file. If that happens, it's easier to find this code in the main file, than in the chapter file.

"Which chapter did I change the font size in last week?"

share|improve this answer
    
Ah, I had the grouping when I thought, that the code would only font changing commands. I forgot to delete them after I changed that. –  Toscho Oct 22 '13 at 17:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.