2012-11-01 63 views
5

Tôi là người mới bắt đầu ở LaTeX. Tôi đã thử vài ví dụ, nhưng tôi không thể thực hiện một sự căn chỉnh hoàn chỉnh. Có lẽ câu hỏi này không phải là rất khó chịu và bạn có thể giúp đỡ.Làm thế nào để tạo một căn chỉnh hoàn toàn hợp lý trong bài viết LaTeX?

Có ví dụ mã của tôi:

\documentclass[10pt,a4paper]{article} 
    \usepackage[utf8]{inputenc} 
    \usepackage[L7x]{fontenc} 
    \usepackage[lithuanian]{babel} 
    \usepackage{multicol} 
    \usepackage[left=1.5cm,right=1.5cm,top=2cm,bottom=2cm]{geometry} 

    \begin{document} 
    \title{text text text text text text text text text text text text} 
    \author {text text text text} 
    \date{} 
    \maketitle 
    \center{\textit{ text text text text text text}} 
    \center{\textit{ text text text text text text}}\\ 
    \small\textbf{Abstract.} 
    An abstract is a brief summary of a research article, thesis, review, conference proceeding or any in-depth analysis of a particular subject or discipline, and is often used to help the reader quickly ascertain the paper's purpose. When used, an abstract always appears at the beginning of a manuscript or typescript, acting as the point-of-entry for any given academic paper or patent application. Abstracting and indexing services for various academic disciplines are aimed at compiling a body of literature for that particular subject. 
    \begin{multicols}{2} 
    \section*{\large Preface} 
    Academic literature uses the abstract to succinctly communicate complex research. An abstract may act as a stand-alone entity instead of a full paper. As such, an abstract is used by many organizations as the basis for selecting research that is proposed for presentation in the form of a poster, platform/oral presentation or workshop presentation at an academic conference. Most literature database search engines index only abstracts rather than providing the entire text of the paper. Full texts of scientific papers must often be purchased because of copyright and/or publisher fees and therefore the abstract is a significant selling point for the reprint or electronic form of the full text. 
    \section*{\large Some theory} 
    An abstract allows one to sift through copious amounts of papers for ones in which the researcher can have more confidence that they will be relevant to his or her research. Once papers are chosen based on the abstract, they must be read carefully to be evaluated for relevance. It is commonly surmised that one must not base reference citations on the abstract alone, but the entire merits of a paper.\\ 
    \end{multicols} 
    \end{document} 

Cảm ơn bạn trước.

+0

Các câu hỏi liên quan đến LaTeX được đăng tốt hơn tại [TeX.SE] (http) : //meta.tex.stackexchange.com/questions/1436/welcome-to-tex-sx). Tôi đã gắn cờ điều này để di chuyển. –

Trả lời

5

này

\center{\textit{ text text text text text text}} 

không phải là cách đúng đắn để làm điều đó. Trung tâm này có hiệu lực đối với tài liệu eintire. (Điều này cũng là trường hợp với \ raggedright hoặc \ raggedleft) Không có cách nào để lấy lại căn chỉnh hợp lý khi bạn đặt căn chỉnh toàn cục thành cái gì khác (trung tâm raggedright hoặc raggedleft)

Bạn nên đặt dấu ngoặc vuông trước \ center tag ... đó là

{\center\textit{ text text text text text text}} 

(tuy nhiên, không đặt văn bản bạn muốn đặt ở giữa trang nhưng văn bản sẽ được đặt ở giữa). Cách sạch sẽ để làm những gì bạn có thể muốn làm là sử dụng môi trường trung tâm (\ begin {center} và \ end {center})

\begin{center}\textit{ text text text text text text}\end{center} 
Các vấn đề liên quan