Mac OSx SystemUIServer usando 100% CPU

Se seu mac osx estiver usando quase 100% de CPU por causa do SystemUIServer, faça o seguinte:

1) Altere a hora do seu computador para além das 2 horas da manhã!

Parece estranho, mas o problema tem a ver com o horário de verão!

Alterando a hora vai fazer com que o systema volte a operar normalmente.

Enjoy it!

Aprenda como Forçar o MacOS Fechar aplicação / Learn how to force quit an application in MacOS

Quando uma aplicação não responde, e o disco de cores aparece no lugar do cursor por um longo tempo, pode ser que a aplicação está congelada. Para resolver este problema você pode seguir estes três passos:
a) Pressione as teclas Command + opção + esc simultaneamente.
b) Na janela que se abre, escolha a aplicação que não está respondendo.
c) Clique no botão “Force Quit”.

Enjoy it!

————— ENGLISH —————
When you have an application that does not respond, and the spinning disk of colors is in place of cursor for a long time, it means that application is frozen. In order to solve this problem you may follow these steps:
a) Press the keys Command + option + esc simultaneously. This will open a “force quit application” window;
b) Select the application which is not responding;
c) Click the button “Force Quit”.

Enjoy it!

Como alinhar pontos decimais no Latex / How to align Decimal Points in Latex

Se precisar alinhar os pontos decimais numa coluna do Latex, você pode usar o pacote dcolumn. Contudo, encontrei um .cgi que foi escrito por Michael Zhang que faz o trabalho para você.

Teste você mesmo, clicando aqui.

Enjoy it!

————————— ENGLISH ———————————–

In order to get the decimal points into a Latex table you can use the dcolumn package. However, I found an interesting .cgi that was written by Michael Zhang and make the work for you. :)

You can try this in here.

Enjoy it!

BibTex do Google Acadêmico / BibTex from Google Scholar

Você pode importar referências no formato bibtex (entre outros) a partir do Google Acadêmico. Para fazer isto, aceda as “Preferências do Google Acadêmico” (no canto superior direito) e, na seção “Gerenciador Bibliográfico” selecione “mostre links para importar citações para o BibTex”. Note the também podem utilizar sistemas alternativos, como o EndNote, RefMan and RefWorks…

Eu usei esta dica com o BibDesk e funcionou perfeitamente. Você pode também integrar o Google Acadêmico com outros organizadores de citações, como o JabRef.

Enjoy it!

Ajude-nos a melhorar este post, escreva um comentário!

—————– ENGLISH ———————–

Hi!

You can import the bibtex (among others) format reference from Google Scholar. To do that, you have first going to Scholar preferences (look at the up right corner) and, in the Bibliography Manager, select “Show links to import citations into (Bibtex)”. Note that you can chose from different citation systems, such as EndNote, RefMan, RefWorks… It’s a very useful feature.

I use this feature to import citations to BibDesk and it works like a charm. You can also combine Google Scholar with other citation organizers, such as JabRef.

Enjoy it!

If you can improve this post, please write a comment!
If you are an English native speaker (or an english expert), please correct my writing (if needed)!

Aprenda a criar um índice remissivo no Latex / Learning how to create an index with Latex

O índice remissivo é usado para mostrar onde um conceito X aparece no texto.

Para criar um índice remissivo no Latex, vamos usar o pacote makeidx. Siga os passos:

1) Adicionar as linhas abaixo no preambulo do arquivo principal .tex (antes do \begin{document}).

\usepackage{makeidx}
\makeindex

2) Adicionar a linha abaixo onde o índice remissivo deve aparecer no texto.

\printindex

3) Indicar no texto, onde cada conceito aparece. Cada entrada (única) resultará em uma linha no índice. Para entradas múltiplas o índice exibe uma linha com a entrada e as páginas onde aparecem. Segue alguns exemplos de entrada.

\index{Amplificador ótico} % Indica uma entrada simples.
\index{Amplificador ótico!EDFA} % Indica que EDFA é uma sub-entrada de Amplificador ótico.

veja mais opções na documentação do pacote makeindex.

obs.: O pacote makeidx suporta até 3 subníveis (subentradas).

4) Talvez será preciso correr o makeindex para cada ficheiro antes de compilar. Eu uso o TexShop, não foi preciso!

Se você sabe como fazer o mesmo de outra forma, escreva um comentário e compartilha seu conhecimento conosco!

Enjoy it!

————————— ENGLISH —————–

For the ones who use Latex, the makeidx package can be used to create an index that shows the pages where a concept X appears. Follow the steps:

1) Introduce the following commands into the preamble of your .tex (before \begin{document})

\usepackage{makeidx}
\makeindex

2) Introduce the following commands at the place where the index have to appears.

\printindex

3) Indicate where each concept appears on the text. Each entry yields a line in the index. For multiple equal entries the index will show a line with the page numbers where each entry appears. Each entry should follow these examples

\index{Optical Amplifier} % Indicates a simple entry.
\index{Optical Amplifier!EDFA} % indicates a subentry.

For more information, see the makeindex documentation.

4) After all, run makeindex for the .tex file before compile. I use Texshop + TexLive so this step was not necessary.

It you know another approach to create an index, please, write a comment and share with us!

Enjoy it!

Ps. Please, correct my English grammar if you can!

Aprenda a instalar o dicionário português no Office 2007

Se você instalou o Office 2007 e agora percebeu que ele não reconhece a ortografia portuguesa, não se apavore!

Uma das formas de resolver o problema é utilizando o instalador do Office 2003 (Portugues). Proceda da seguinte forma:
a) Execute o instalador (insira o CD e tal…) e escolha instalação personalizada;
b) Ao abrir a janela para você escolher os aplicativos que deseja instalar, desmarque todos. Deixe somente a opção “escolher a personalização avançada das aplicações” marcado, e clique em “seguinte”;
c) Na tela da personalização avançada, procure por “Ferramentas Linguisticas” e clique no sinal de “+” (para abrir as subopções). (Note que, se aparecer um sinal de “-” então as subopções já estão visíveis;
d) Clique com o botão direito do mouse sobre a opção “portugues” e escolha “Executar a partir do meu computador”;
e) Os demais itens devem aparecer com um “X” vermelho, para que não sejam instalados. Se não aparecer, clique com o botão direito a opção “não disponível”. Assim o item não será instalado.
f) Continue a instalação até o final. Depois abra o Office 2007, clique no menu “Review”, depois em Set Language, selecione a opção “portugues” e clique no botão “Default” para deixar este corretor como padrão.

É tudo!

Enjoy it!

Se você conhece outra maneira de fazer o mesmo, escreva nos comentários!

(solved) TexShop without list of References from BibDesk

If you updated TeXShop to version 2.36, you will no more get the list of references from BibDesk when you press
“option+esc”.

However, the solution is quite simple: istead of “option+esc”, press just “esc” :) . This solution may result in some unexpected result, as commented by Herbert Schulz (thank you guy).

So the right way to go is with F5 (or “fn+F5″ depending on the configuration of your keyboard).

Enjoy!

Como ler arquivos CHM no MAC OS X / Reading CHM on Mac OS X Leopard

Se você precisar de um aplicativo para ler seus arquivos .chm no MAC OS X, vá direto ao arCHMock. Depois de testar vários aplicativos para esta finalidade (Chamonix, Chmosx, Chmox, iChm, xCHM) este parece ser o mais rápido, tem uma ótima interface e recursos de busca. Ah, e claro, é grátis!

enjoy it!

—– ENGLISH ——
If you are searching for an application to read .chm files on MAC OSX, go with arCHMock. After trying a number of options (Chamonix, Chmosx, Chmox, iChm, xCHM), arCHMock appears to be the faster one, it has a great interface and search resources. Uh, and it is free!

Enjoy it!

Learn how to vertically align two figures on latex / Como alinhar duas figuras verticalmente no latex

Putting two figures side-by-side using the subfig package is very easy. When the figures have the same size (height), they are shown as expected. However, when a big and a small figure should be arranged side by side, it may not be that trivial task.

Here you can see what I do to put two figures side-by-side when they are different in size. In this example I put a figure and a tabular side-by-side, but you can (and must of course) adjust it as you need.


\newsavebox{\leftfig}
\newsavebox{\rightfig}
\begin{figure}[!h]
\centering
\sbox{\leftfig}{\includegraphics[width=5.5cm]{nameOfaFigure.eps}}%
\sbox{\rightfig}{
[m] = \begin{tabular}{|cccccc|}
0 &1 &1 &0 &0 &0\\
1 &0 &1 &1 &0 &0\\
1 &1 &0 &0 &1 &0\\
0 &1 &0 &0 &1 &1\\
0 &0 &1 &1 &0 &1\\
0 &0 &0 &1 &1 &0
\end{tabular}
}%
\subfloat[subfloat 1\label{fig:graph}]{%
\begin{minipage}[b]{0.49\linewidth}\centering%
\usebox{\leftfig}
\end{minipage}
}%
\hfill%
\subfloat[subfloat 2\label{fig:matrix}]{%
\begin{minipage}[b]{0.49\linewidth}\centering%
\raisebox{1.5cm}{\usebox{\rightfig}}
\end{minipage}
}%
\caption{The caption goes here}
\label{fig:label of the whole figure}
\end{figure}

Aprenda! Espaçamento entre linhas no LaTeX / Learn it! Adjust spaces between lines on LaTex.

Uma dica importante para aqueles que trabalham com LaTeX é o uso do pacote “setspace” para ajustar o espaçamento entre linhas do texto.

Para definir espaçamentos simples, 1.5 (um e meio) e duplo, tudo o que você precisa fazer é inserir o pacote setspace no preâmbulo do seu .tex.

\usepackage{setspace}

Depois disto, no corpo do texto (entre \begin{document} e \end{document}, você pode usar os comandos:

\singlespace para espaçamento simples.
\onehalfspace para espaçamento 1.5.
\doublespace para espaçamento duplo.

Exemplo:

\documentclass{xxx}

\usepackage{setspace}

\begin{document}
bla bla bla...

\onehalfspace
Tudo o que estiver escrito aqui, estará formatado com espaçamento 1.5 entre linhas.

\singlespace
Tudo o que estiver escrito aqui, estará formatado com espaçamento simples entre linhas.

\doublespace
Tudo o que estiver escrito aqui, estará formatado com espaçamento duplo entre linhas.

\end{document}

Enjoi it!

——————– English —————————–

An interesting tip for the ones who work with LaTeX is the use of “setspace” package. It allow us to determine the space between the lines of a text.

In order to obtain single, one and half and double space, all you have to do is to insert the setspace package in the preamble of the .tex file.

\usepackage{setspace}

Thereafter, in the text body (between \begin{document} and \end{document}, you can call the follow commands:

\singlespace
\onehalfspace
\doublespace

Example:

\documentclass{xxx}

\usepackage{setspace}

\begin{document}
bla bla bla...

\onehalfspace
All that you write here will appear with 1.5 spacing between lines.

\singlespace
All that you write here will appear with singlespace spacing between lines.

\doublespace
All that you write here will appear with double spacing between lines.

\end{document}

Enjoi it!

Próxima Página »



Seguir

Obtenha todo post novo entregue na sua caixa de entrada.