Pages

Showing posts with label Latex. Show all posts
Showing posts with label Latex. Show all posts

19.12.14

Change EASILY the default program (and other actions) when opening a file

This is a quick post in which I will simply describe my problem and the wonderful solution I found: -I needed to open two .tex files, and I use TexStudio as my default editor (so far it's the best editor I know).
However, TexStudio's default behavior is to open just ONE INSTANCE of the program and load all the files I open on that same instance.
If I want to open a new instance, I found a I nice solution here:
http://tex.stackexchange.com/questions/123660/start-texstudio-portable-in-multiple-instances

Simply go to my direct link access to TexStudio's link icon and add at the end of the target field (i.e. after "(path)\texstudio.exe" to:

" --start-always "%1"
That way, everytime you open Texstudio from this link, you'll open a new instance.
However, if you want to open a new instance everytime you open a .tex file, apparently the best solution is to download this beautiful program:

http://defaultprogramseditor.com/

which allows you to easily change the behavior of your default opening programs. For example:

(I learned this trick from here: http://superuser.com/questions/136133/how-do-i-set-advanced-file-associations-in-windows-7)

And that's all for today.




7.6.13

Latex on PowerPoint

This is just too good to be true... I've always loved how easy it is to make presentations on MS PowerPoint, but we have to admit that when it comes to writing equations, Latex is the way to go.
The bad thing is that Beamer (the latex package for presentations) doesn't have all the nice (and above all "Click and Go") options that PowerPoint has. So, for those like me that want something pretty looking and fast to do, but prefer equations on latex, the solution is Iguana Tex, an add in for PPT that allows you to write equations in latex directly on your ppt document.
Just be sure that you have:
A latex installation (such as MikTex)
The dvipng package
the zhmetrics package

Here is the Iguana Tex site, which includes a very helpful FAQ:

http://www.technion.ac.il/~zvikabh/software/iguanatex/


Another option (which might work better in some cases) is this:

http://thd.pnpi.spb.ru/~gromov/mytexpoint.html

in this case, you should install first pstoedit: http://www.pstoedit.net/
and ghostscript:   http://www.ghostscript.com/
and indicate their paths the first time you run the program.