Document ClassesWrong orientation in documentclass{article}

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
ftmeiere
Posts: 3
Joined: Sat Apr 25, 2015 3:08 am

Wrong orientation in documentclass{article}

Post by ftmeiere »

documentclass(article) supposedly has the default as "portrait" but my latex file compiles to a pdf document which is landscape. I can change settings on my printer or on the TexWorks printer to portrait but I don't think that helps.

I am sending the "raw" latex file and jpeg images to arXiv.org which they require. The fear is that they will be in landscape mode which pretty much ruins the article.

Anyone know how to have my latex file compile to pdf in portrait orientation?

Using TeXworks editor in MiKTex 2.9 package with Windows 8.1.

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
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Wrong orientation in documentclass{article}

Post by Stefan Kottwitz »

Welcome to the forum!
ftmeiere wrote:documentclass(article) supposedly has the default as "portrait"
That's correct, so your document does something different. One of your settings causes the landscape mode. So we need to know your document settings. Please post a Infominimal working example or at least your document preamble.

Stefan
LaTeX.org admin
ftmeiere
Posts: 3
Joined: Sat Apr 25, 2015 3:08 am

Wrong orientation in documentclass{article}

Post by ftmeiere »

Thanks. Here is the start and end of the LaTeX file.

Code: Select all

\documentclass{article}
\usepackage[affil-it]{authblk}
\usepackage{amsmath}
\usepackage[top=1in, bottom=1in]{geometry}
\usepackage{graphics}

\begin{document}

   \title{Temperature Rise in a Heat Diffusion Model}
   \author{Forrest T. Meiere%
        \thanks{Electronic address: \texttt{meiere@iupui.edu}}}
   \affil{Department ofPhysics, IUPUI, Emeritus}
  \affil{Indianapolis, Indiana 46202, USA}

  \date{April 30, 2015}
  \maketitle

\begin{center}
\section*{Abstract}
\end{center}
\noindent
The following describes an analytic solution to a Heat Diffusion problem which models a real apparatus currently used in sponsored research in cryobiology$^{(1)}$.  At first glance the problem looks soluble following a straightforward application of textbook methods using eigenfunction expansions.  Those textbook methods fail here.  Our solution apparently does not appear in the literature$^{(2,3)}$.\\

\subsection*{Statement of Problem}

Find the Temperature Distribution $ T(r,t)$ for a homogenous sphere of radius $ b $  subject to a time-independent heat source and boundary condition $ \vec{ \nabla} \: T(b,t)=0$ at the surface.  The initial distribution $ T(r,0) $  and the heat source are given.

\subsection*{Solution}

The standard approach is to find a steady-state solution $T_S(r,t)$ which generates the source and subtract it from the desired temperature $ T(r,t) $.  This difference satisfies the homogenous equation (no heat source) and can be expanded in known eigenfunctions.\\

\noindent
Why does this fail?  The physics is simple; the boundary condition says that heat does not escape so the source increases the temperature indefinitely with time.  Thus there is no steady state solution.  Furthermore, conventional eigenfunctions contain terms such as $e^{-\lambda _n t}$ which decay with time and are not suitable to describe a function that increases indefinitely with time.\\

\noindent
Our approach is equally simple; find the asymptotic behavior and subtract this from the desired solution.  The difference is bounded, has a steady state solution and is amenable to the standard approach. Specifically:

\begin{align}
c_P\:  \rho\:  \frac{\partial T(r,t)}{\partial t} - k \: \nabla^2 \:T(r,t)=q(r)
\end{align}


\subsection*{References}
\noindent
1.  F.W. Kleinhans and Peter Mazur, Physical Parameters, Modeling, and Methodological Details in Using IR Laser Pulses to Warm Frozen or Vitrified Cells Ultra-Rapidly, Cryobiology. Apr;70(2) (2015) 195-203.\\

\
\end{document}
ftmeiere
Posts: 3
Joined: Sat Apr 25, 2015 3:08 am

Re: Wrong orientation in documentclass{article}

Post by ftmeiere »

:D
Sorry. Apparently my problem has nothing to do with LaTex.
Although I tried everything I could think of with options in LaTex (pdf) and my Acrobat XI without success, I finally went to control panel (Windows 8.1) and set the preferences in my printer driver there. All seems OK now.
Sorry for bothering you.
Thanks for your time and service to the community.
Paper gets submitted on Monday.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Wrong orientation in documentclass{article}

Post by Stefan Kottwitz »

Thank you for returning to tell us the solution. And good luck with your paper!

Next time we see a real LaTeX question. ;-)

See you later,

Stefan
LaTeX.org admin
Post Reply