Showing posts with label Tex. Show all posts
Showing posts with label Tex. Show all posts

Wednesday, August 8, 2007

latex: how to post text and graph on absolute position on one page

I copied the introduction from its home page http://nxg.me.uk/dist/textpos/ :

Textpos

Lay out text and graphics at arbitrary positions on the LaTeX page.

The textpos home page is at http://purl.org/nxg/dist/textpos

Version 1.7d, 2007 March 30.

This package facilitates placing boxes at absolute positions on the LaTeX page. There are several reasons why this might be useful, but the main one (or at least my motivating one) is to help produce a large-format conference poster. Other applications include placing material within, say, figures.

This package provides a single environment, which contains the text (or graphics, or table, or whatever) which is to be placed on the page, and which specifies where it is to be placed. The environment is accompanied by various configuration commands. See the manual (pdf).

Friday, April 20, 2007

Latex: how to comment out lines in emacs

If you are editing a latex file by using emacs, then how to comment out lines and uncomment out lines? As you know, commenting out is just add '%' before the lines and uncommenting is remove '%' before the lines.

People said:
It is often necessary to comment out temporarily a region of TeX or LaTeX code. This can be done with the commands C-c ; and C-c %. C-c ; will comment out all lines in the current region, while C-c % will comment out the current paragraph. To uncomment, simply type C-u - C-c ; to uncomment all lines in the region, or C-u - C-c % uncomment all comment lines around point.

But I find an easier way: just use C-c ; to switch. For example, you have 3 lines without '%', then use C-c ; to add '%', then to uncomment, just use C-c ; again! Remember, before using the keys, to mark your region which you wanna (un)comment.

Locations of visitors to this page