Text Formatting1. new page 2. sans serif whole document

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
7788
Posts: 17
Joined: Sat Aug 28, 2010 1:17 am

1. new page 2. sans serif whole document

Post by 7788 »

hi everyone
1. how do I force latex to start my subsection on a new page?
I put \newpage above \subsection{CAL variables}
but it's not working.

2. can someone tell me where to look for if I would like to make the whole thesis font sans serif. I know how to make \textsf{xx} but which command is it for the whole thesis. I did look at the formatting notes but got confused.

thanks very much
7788
Last edited by 7788 on Thu Oct 14, 2010 2:39 pm, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

1. new page 2. sans serif whole document

Post by frabjous »

These problems, and especially the first one, are hard to diagnose without a minimal working example to test with. You could try \clearpage but most likely if \newpage wasn't working, there's something your document class or set up preventing it from working right, and we'd need to see those and the context to see why.

From the second issue, the standard way is to use something like:

Code: Select all

\renewcommand*{\familydefault}{\sfdefault}
in your preamble, but again, there may be peculiarities of your particular document class or packages, etc., that would prevent that from working right. A minimal working example is really a must.
7788
Posts: 17
Joined: Sat Aug 28, 2010 1:17 am

Re: 1. new page 2. sans serif whole document

Post by 7788 »

hi frabjous
\clearpage pushed the section to another page!
it worked thanks very much

the \renewcommand line that you sent me, should that be put in the .sty file?
thank you so much
7788
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

1. new page 2. sans serif whole document

Post by frabjous »

7788 wrote: the \renewcommand line that you sent me, should that be put in the .sty file?
thank you so much
7788
What .sty file did you have in mind? You should just be able to put it in the preamble of your document.
7788
Posts: 17
Joined: Sat Aug 28, 2010 1:17 am

Re: 1. new page 2. sans serif whole document

Post by 7788 »

hi again frabjous
I'm using a thesis template; that's why I ask about the mathphdthesis.sty file.
All the commands are there.
thanks very much again
7788
7788
Posts: 17
Joined: Sat Aug 28, 2010 1:17 am

Re: 1. new page 2. sans serif whole document

Post by 7788 »

to Frabjous
thanks a lot
the \renewcommand*{\familydefault}{\sfdefault} worked
I put it in the thesis.tex

much appreciated
7788
Post Reply