Wednesday, 28 August 2013

MS Word facts, really useful

Store them for later reference.
  • Fast swap current paragraph with upper/lower: Alt+Shift+↑/↓
  • Select current sentence: Ctrl+MouseLeft (on any word)
  • Select current paragraph: tripple left mouse click
  • Move text: F2 on selection → Enter at the destination
  • Clear formatting of the selection: Ctrl+Space
  • =rand(N,M) — generate N paragraphs, each of M sentences from help
  • =lorem(N,M) — the same, but not random and from "Lorem Ipsum"
  • You can insert EPS images into Word document by "Insert picture"
  • Excel: Alt+Enter to enter new line in a current cell

Friday, 16 August 2013

Batch to remove empty dirs in Windows

Staring from its directory: for /f "usebackq delims=" %%d in (`"dir /ad/b/s | sort /R"`) do rd "%%d"

Wednesday, 7 August 2013

Tuesday, 2 July 2013

Note on LaTeX in Windows

A convenient way of using LaTeX in Windows:
1) Use MikTeX package,
2) Install SumatraPDF,
3) Set MikTeX to show PS and PDF in SumatraPDF.
What it gives. SumatraPDF automatically updates the view of the document after its change on a disk. Important thing is that you point of focus in SumatraPDF doesn't change at all during the update — no scrolling, jumping to the first page, hitting Ctrl-R. So, you can recompile your LaTeX in MikTeX window, and you'll see updates in PS or PDF immediately, even without moving to SumatraPDF window. To enjoy this way fully, place MikTeX window on the right and SumatraPDF window on the left, and here we go.

Will post here some useful stuff on preparing ACL articles later.