Thursday, September 15, 2011

[Matlab] Generation of nice and light .eps from matlab figures

*From matlab:
-> generate a bitmap file with a good resolution
hX=figure(X)
...
print(hX,'-dtiffn','-r500','name_of_the_output_file');

*In inkscape (in French !):
-fichier/importer -> name_of_the_output_file.tif
-fichier/propriétés du document -> ajuster la page à la sélection
-define the quadrangle that will be the frame of the final image
-select the imported image and the frame
-object/découpe/définir
-fichier/propriétés du document -> ajuster la page à la sélection
-fichier/save as -> .eps

Matlab:
http://www.mathworks.com/
Inkscape:
http://inkscape.org/

Wednesday, September 14, 2011

[Bibtex] Respecting capital letters in an article title

Just have to change in the .bib file:

title = {Bla Bla Bla},

by

title = {{Bla Bla Bla}},

in order to disable bibtex re-interpretation

Jabref bibliography manager:
http://jabref.sourceforge.net/