Page LayoutArticle for both A4 and Kindle

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Borneq
Posts: 14
Joined: Tue May 24, 2016 9:28 am

Article for both A4 and Kindle

Post by Borneq »

I include \input{A4.txi} or \input{Kindle.txi} {.txi = tex include, maybe .tex extension is better}
But have some problems with Kindle:

Code: Select all

%+Title
\title{Adaptacyjny parsing LL(*): moc dynamicznej analizy }
\author{ Terence Parr, University of San Francisco, parrt@cs.usfca.edu \and  Sam Harwell, University of Texas at Austin, samharwell@utexas.edu \and  Kathleen Fisher, Tufts University, ksher@eecs.tufts.edu}
\date{10 listopada 2016}
\maketitle
%-Title
author is non breaking,
worse is

Code: Select all

\begin{translation}
%\center\href{http://www.antlr.org/papers/allstar-techreport.pdf}{http://www.antlr.org/papers/allstar-techreport.pdf}
\end{translation}
not compiling, is possible conditional using %\center\href ?
also not compiling:

Code: Select all

%+Contents
%\tableofcontents
%-Contents

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Article for both A4 and Kindle

Post by Stefan Kottwitz »

\center is not a command. Use \centering instead.

Regarding the other non-breaking things: perhaps post a Infominimal working example that shows the issue. Just an \author line without a document cannot be tested.

Stefan
LaTeX.org admin
Post Reply