http://www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/node41.html
To typeset special purpose text, LATEX defines many different environments
for all sorts of formatting:
http://www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/img61.gif文本对齐方式" />
Where name is
the name of the environment. Environments can be called several
times within each other as long as the calling order is
maintained.
http://www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/img62.gif文本对齐方式" />
In the following sections all important environments are
explained.
www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/node43.html
The environments flushleft and flushright generate paragraphs which
are either left or right aligned. The
center environment generates centred text. If you do not issue to
specify linebreaks, LATEX will automatically determine
linebreaks.
http://www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/img64.gif文本对齐方式" />
http://www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/img65.gif文本对齐方式" />
http://www.cosy.sbg.ac.at/~held/teaching/wiss_arbeiten/latex/lshort2e/img66.gif文本对齐方式" />
转自:http://blog.163.com/chen_dawn/blog/static/1125063201351734719153/
http://s11/middle/5e16f177072dcfd9b659a&690
解决方案代码:
\documentclass{article}
\usepackage{lipsum}
% used to auto-generate-text
\usepackage{titling}
\usepackage{abstract}
\title{Great
Title Here}
\author{Roy
G. Biv}
\date{\today}
\pretitle{\begin{flushright}\LARGE}
% makes document title flush right
\posttitle{\end{flushright}}
\preauthor{\begin{flushright}\large}
% makes author flush right
\postauthor{\end{flushright}}
\predate{\begin{flushright}\large}
% makes date title flush right
\postdate{\end{flushright}}
\renewcommand{\absnamepos}{flushright}
% makes word ``Abstract'' flushright
\setlength{\absrightindent}{0pt}
% makes abstract go all the way to right
\setlength{\absleftindent}{0.2\textwidth}
% makes abstract skip the left quarter of page
\renewcommand{\abstracttextfont}{\normalfont\small\raggedleft}
% makes the abstract text flush right -- very ugly, don't do
this!
\begin{document}
\maketitle
\begin{abstract}
\lipsum[1-2]
% autogenerates abstract text; replace with yours
\end{abstract}
\lipsum[3-15]
% auto-generate body text.
\end{document}
转自:http://blog.sina.com.cn/s/blog_5e16f1770100grxj.html
加载中,请稍候......