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.
Document Classes ⇒ Wrong orientation in documentclass{article}
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Wrong orientation in documentclass{article}
Welcome to the forum!
minimal working example or at least your document preamble.
Stefan
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 aftmeiere wrote:documentclass(article) supposedly has the default as "portrait"

Stefan
LaTeX.org admin
Wrong orientation in documentclass{article}
Thanks. Here is the start and end of the LaTeX file.
Code: Select all
Code, edit and compile here:
\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}\noindentThe 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.\\\noindentWhy 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.\\\noindentOur 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}
Re: Wrong orientation in documentclass{article}

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.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Wrong orientation in documentclass{article}
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
Next time we see a real LaTeX question.

See you later,
Stefan
LaTeX.org admin