![]() A box is a chunk of text that TeX treats as a unit. To better understand this, we have to answer the first question and explain what boxes are. In paragraph mode, your input is regarded as a sequence of words and sentences to be broken into lines, paragraphs, and pages. Paragraph mode is LaTeX’s normal mode, the one used when processing ordinary text. When LaTeX processes your input text, it is always in one of three modes: ![]() Here arise two concrete questions: first, what are boxes, and second, what is paragraph mode. Parboxes are nothing but boxes written in paragraph mode. Don’t worry if you don’t care about technical details: I am going to put it in simple terms, so it is not a dense read, and you have the basic ideas to understand the following sections. ![]() To do so, however, we will have to dive into the basics of LaTeX and its underlying system TeX. Probably this doesn’t tell anything to you, so we are going to break it down and see what it means. The short answer is that minipage is an environment to produce parboxes in LaTeX. Finally, we will see how to rotate a minipage environment and how to use it to write text in two columns when inside a single-columned document and vice versa.After all of this, we will see how to put frames around the minipage environment and how to customize the background color using the capabilities of the xcolor package.However, we will exploit some commands that the caption package offers to emulate the behavior of the figure environment inside the minipage. This is not a trivial matter, since we can’t insert a figure environment inside a minipage (we will explain why is that). Next, we will focus on how to insert figures inside a minipage environment. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |