Archive for January, 2011

iPhone Video Screen Capture

There are lots of screen capture tools in the market. Two well-known tools are TechSmith’s Camtasia Studio and Jing. Both are available for Windows and Mac and can be used to capure everything you want on your screen. Here you can find a list of 27 useful screen capture tools.

For capturing the iPhone simulator there is also a special plugin which works with the built in iSight on a MacBook.

Categories: iOS

Mac OS X default keybindings

Command Character
Shift-7 /
Shift-Alt-7 \
Alt-5 [
Alt-6 ]
Alt-7 |
Alt-8 {
Alt-9 }
Alt-n ~
Categories: Mac OS X

Resizing and horizontal placement of images in Wiki/MediaWiki

Normal images




Categories: Wiki

Mac OS X german keyboard layout keybindings

Here are the keybindings for the german keyboard layout:

Command Character
shift-7 /
shift-alt-7 or alt-ß \
alt-5 or alt-8 [
alt-6 or alt-9 ]
alt-< |
alt-7 {
alt-q }
alt-0 @
alt-+ ~
fn-backspace del command
ctrl-z undo command
ctrl-shift-z redo command
Categories: Mac OS X

start PowerPoint presentation from current slide

January 14, 2011 1 comment

Press Shift+F5 in PowerPoint or Control+Shift+B in PowerPoint X/Macintosh to start a presentation from the current slide

Categories: MS Office 2007

How big is a ‘A4’ image in pixel?

The ISO standard for A4 is 210 x 297 mm (8.27 in. 11.69 in.)  The size of an image depends on the image resolution. For example an image with 300 dpi resolution should have a size of 2480 x 3508 pixel ((300 x 8.27) x (300 X 11.69)). Of course, you might want to subtract for your margins.

More examples:
72 dpi (web) = 595 x 842 pixel
300 dpi (print) = 2480 x 3508 pixel
600 dpi (print) = 4960 x 7016 pixel

Categories: Misc

Synchronization with HTC Legend

HTC provids the HTC Sync tool to synchronize data between the phone and your computer.

I installed the tool on my computer but it didn’t detected the phone. After i deactivated AntiVir and the firewall HTC Sync detects my Legend. But after clicking at the sychronize button nothing happens. In a forum i read about problems with the Sync tool by using poor quality USB cables. So I connected the phone directly to the computer via the orignal cable and the synchronization worked then. But I could still not enable the synchronization of the contacts.

At the end i decided to use MyPhoneExplorer with the Android Client. It’s a really great tool to manage your contacts and data on your phone.

Categories: Android, Apps

Page margins and the \footheight command

Page margins

There are a few commands to redefine the page layout:

\baselinestretch A decimal value for the spacing. 


To set double-spacing on your document, use the command: \renewcommand{\baselinestretch}{2}

\textwidth The normal width of the text on the page. 


To change this, use the command: \setlength{\textwidth}{x}
where x is a length.

NOTE: If you change the textwidth, you will almost certainly want to change the evenside- and oddsidemargin.

\textheight The normal height of the body of a page.
One inch less than the distance from the left edge of the paper to the left margin of the text on right-hand pages.
\evensidemargin The same as \oddsidemargin except for left-hand pages.
\marginparwidth The width of marginal notes.
\marginparsep The amount of horiz. space between the outer margin and a marginal note.
\topmargin One inch less than the distance from the top edge of the paper to the top of the page’s head.
\headheight The height of a box containing the header.
\headsep The amount of vertical space between the header and the body of a page.
\toskip The minimum distance from the top of the body to the bottom of the first line of text.
\footheight The height of a box containing the page’s footer.
\footskip The distance from the bottom of the last line of text in the body to the bottom of the footer.

You can use the commands like this:

\newlength{cmd} define cmd to be a length
\setlength{cmd}{len} set length of cmd to be len
\addtolength{cmd}{len} add len to length cmd
\settowidth{cmd}{txt} set cmd to width of txt

latex margins


cm Centimetres
The width of the letter M in the current font
The height of the letter x in the current font
Picas (1pc = 12pt)
Points (1in = 72.27pt)


The \footheight command will not affect the way the style works with LaTeX2.09.  You can use the other commands like \textheight25.5cm instead to format your page.

Categories: LaTeX

Latex font sizes and styles

Font sizes

Note that the font size definitions are set by the document class. Depending on the document style the actual font size may differ from that listed above. And not every document class has unique sizes for all 10 size commands.

Absolute Point Sizes in the article, proc, report, book, and letter Document Classes
size 10pt (default) 11pt option 12pt option
\tiny 6.80565 7.33325 7.33325
\scriptsize 7.97224 8.50012 8.50012
\footnotesize 8.50012 9.24994 10.00002
\small 9.24994 10.00002 10.95003
\normalsize 10.00002 10.95003 11.74988
\large 11.74988 11.74988 14.09984
\Large 14.09984 14.09984 15.84985
\LARGE 15.84985 15.84985 19.02350
\huge 19.02350 19.02350 22.82086
\Huge 22.82086 22.82086 22.82086
Absolute Point Sizes in the memoir, amsart, and amsbook Document Classes
size 10pt (default) 11pt option 12pt option
\tiny 7.33325 7.97224 8.50012
\scriptsize 7.97224 8.50012 9.24994
\footnotesize 8.50012 9.24994 10.00002
\small 9.24994 10.00002 10.95003
\normalsize 10.00002 10.95003 11.74988
\large 10.95003 11.74988 14.09984
\Large 11.74988 14.09984 15.84985
\LARGE 14.09984 15.84985 19.02350
\huge 15.84985 19.02350 22.82086
\Huge 19.02350 22.82086 22.82086
Absolute Point Sizes in the slides Document Class
\tiny 17.27505
\scriptsize 20.73755
\footnotesize 20.73755
\small 20.73755
\normalsize 24.88382
\large 29.86258
\Large 35.82510
\LARGE 43.00012
\huge 51.60014
\Huge 51.60014
Absolute Point Sizes in the beamer Document Class
size 10pt (default) 11pt option 12pt option
\tiny 5.31258 6.37509 6.37509
\scriptsize 7.43760 8.50012 8.50012
\footnotesize 8.50012 9.24994 10.00002
\small 9.24994 10.00002 10.95003
\normalsize 10.00002 10.95003 11.74988
\large 11.74988 11.74988 14.09984
\Large 14.09984 14.09984 16.24988
\LARGE 16.24988 16.24988 19.50362
\huge 19.50362 19.50362 23.39682
\Huge 23.39682 23.39682 23.39682

Font styles

There are three main font families: roman (e.g., Times), sans serif (e.g., Arial) and monospace (e.g., Courier). You can also specify styles such as italic and bold.

The following table lists the commands you will need to access the typical font styles:

LaTeX command Equivalent to Output style Remarks
\textnormal{…} {\normalfont …} document font family this is the default or normal font
\emph{…} {\em …} emphasis typically italics
\textrm{…} {\rmfamily …} roman font family
\textsf{…} {\sffamily …} sans serif font family
\texttt{…} {\ttfamily …} teletypefont family this is a fixed-width or monospace font
\textup{…} {\upshape …} upright shape the same as the normal typeface
\textit{…} {\itshape …} italic shape
\textsl{…} {\slshape …} slanted shape a skewed version of the normal typeface (similar to, but slightly different from, italics)
\textsc{…} {\scshape …} Small Capitals
\uppercase{…} uppercase (all caps) Also \lowercase. There are some caveats, though; see here.
\textbf{…} {\bfseries …} bold
\textmd{…} {\mdseries …} medium weight a font weight in between normal and bold

You may have noticed the absence of underline. Although this is available via the \underline{…} command, text underlined in this way will not break properly. This functionality has to be added with the ulem (underline emphasis) package. Stick \usepackage{ulem} in your preamble. By default, this overrides the \emph command with the underline rather than the italic style. It is unlikely that you wish this to be the desired effect, so it is better to stop ulem taking over \emph and simply call the underline command as and when it is needed.

  • To restore the usual em formatting, add \normalem straight after the document environment begins. Alternatively, use \usepackage[normalem]{ulem}.
  • To underline, use \uline{…}.
  • To add a wavy underline, use \uwave{…}.
  • And for a strike-out \sout{…}.
Categories: LaTeX