Category Archives: Mac OS

An workaround for mex within MATLAB, “No supported compiler or SDK was found.”

I faced an error “No supported compiler or SDK was found.” when I tried to compile mexlised cpp file on MATLAB2015a (Mac 10.10.5).

MATLAB complains as fellow when “mex -setup” command is issued.

“No supported compiler or SDK was found.” which means that either no compiler has been installed on your system or not properly been linked with MATLAB’s mex.

The following link worked for my case and I could successfully compile mexlised cpp files.

http://www.mathworks.com/matlabcentral/answers/246507-why-can-t-mex-find-a-supported-compiler-in-matlab-r2015b-after-i-upgraded-to-xcode-7

And the attached xcode7_mexopts

Hope this save some your time.

 

XtraFinder, Awesome tool for adding useful features to Finder.

I have been looking for a way of adding a menu of “create a new text file” by just one right click on Mac (Yosemite). It is similar to a function what Windows already has but not for Mac. In order to create a blank text file, that is very common when you are using PC, I need to open a text editor and put some text in the file and save it to the path you want. This takes time and annoying sometimes when your path is a bit complicated.

Here is a workaround. XtraFinder will do all these things for you. All what you need to do is just install file and one click “New file” in Add items to Finder menus tab.

It is a free software and no limitations as far as know.

Screen Shot 2015-07-06 at 3.33.07 pm

https://www.trankynam.com/xtrafinder/

Enjoy!

How to edit text in Keynote 6 including super-, subscription.

Original source from: https://support.apple.com/kb/PH16984?locale=en_US

Keynote for Mac 6.0: Adjust character spacing and formatting

Some fonts include ligatures, a decorative joining of two characters to form a single typographic character. You can use ligatures if the font you’re using supports them.

Text with and without ligatures.

In addition to ligatures, you can make other adjustments to the spacing between characters, and change the spacing of text in relation to other text.

Turn ligatures on or off for selected text

  1. In the Text pane of the Format inspector, click the Style button.

  2. In the Font section, click Advanced options button, then choose an item in the Ligatures pop-up menu.

    • Use Default: Uses a subset of ligatures for the font.

    • Use None: Uses regular spacing with no ligatures for the font.

    • Use All: Uses all available ligatures for the font.

To remove ligatures from selected text, choose “Use None” from the Ligatures pop-up menu.

Widen or narrow the space between characters

  1. Select the text box you want to change.

  2. In the Text pane of the Format inspector, click the Style button.

  3. In the Font section, click Advanced options button, then use the arrows to change the Character Spacing value.

    The default spacing is zero. Increasing the value widens the spacing, and decreasing the value tightens it.

Selecting a text box applies the spacing to all of the text in the text box as well as any text you enter in the text box after you apply the change.

If you select specific text, your setting affects only the selected text, so any new text you enter won’t be spaced the same way. If you want other text in the presentation to use the same settings, you can define a new paragraph style from your selection, then use that style for other text in your presentation.

Make characters superscript or subscript

You can adjust the baseline of characters to make them superscript or subscript. A trademark symbol, for example, is raised above the trademarked term (superscript). In a chemical formula, the number of atoms is lowered below the symbol of the atom (subscript). In Keynote, you can quickly apply a default superscript or subscript to selected text, or you can tweak the baseline of selected text by small increments.

  1. Select the text you want to make superscript or subscript.

  2. In the Text pane of the Format inspector, click the Style button.

  3. In the Font section, click Advanced options button, then choose Superscript or Subscript from the Baseline pop-up menu.

  4. To adjust the placement, use the arrows to change the Baseline Shift value.