I wanted to keep together a paragraph and following quote on a document written in LaTeX. However, the \nopagebreak command does not work properly in this case. Indeed, \nopagebreak does not suppress the page breaks that are deliberately inserted around environments like {quote}. The solution was enclosing the text I want to keep in the same page within {samepage} environment. Something like this:
\begin{samepage}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit:
\begin{quote}
Quisque leo.
\end{quote}
\end{samepage}
"AFj's PhD" blog was created in 2004 to report on-line the PhD work of Alfredo Ferreira (Jr). After finishing his PhD in July 2009, the posting was suspended.
However, after several requests, the blog was reactivated in October 2010."AFj's PhD and after" blog will provide information on Alfredo Ferreira's work as a researcher in INESC-ID and his activities as a Assistant Professor at IST/TULisbon.
Tuesday, September 25, 2007
Monday, September 17, 2007
Running programs does not appear in XP taskbar
I have no idea why, but the XP taskbar of my TabletPC stop showing the list of running programs. Surprisingly, this is a quite annoying failure, making it hard for me to continue working without solving this problem.
After a few searches on the internet, I found out that this is not supposed to happen. Thus, since there are no way to turn off the running programs listing, there are no obvious way to turn this feature on.
Fortunately, I found a solution at Kelly's Korner, where Kelly Theriot, a Microsoft MVP has a set of tweaks. A VBScript that will change the registry to reset the properties of the XP taskbar is available on the tweaks page, item #240, referred as "Programs Aren't Minimized in the Taskbar". It worked fine for me. The "running programs" area returned to my taskbar and I just needed to restore the personalized settings.
After a few searches on the internet, I found out that this is not supposed to happen. Thus, since there are no way to turn off the running programs listing, there are no obvious way to turn this feature on.
Fortunately, I found a solution at Kelly's Korner, where Kelly Theriot, a Microsoft MVP has a set of tweaks. A VBScript that will change the registry to reset the properties of the XP taskbar is available on the tweaks page, item #240, referred as "Programs Aren't Minimized in the Taskbar". It worked fine for me. The "running programs" area returned to my taskbar and I just needed to restore the personalized settings.
Monday, September 03, 2007
Insert a static date or time on a Excel worksheet
When I was creating a table on MS-Excel I needed to insert in several places the current date. Instead of writing the whole date numerous times, I thought that Excel should have a way to do it automatically. Indeed it does and it is very simple. Thus, if one wants to insert a static current date or time on a Excel worksheet just have to use the keyboard shortcuts described below:
Note: These shortcuts are for the international Excel version on a Portuguese keyboard. I cannot guarantee these will work on other versions. Try it for yourself and if you think your experience will help others, leave a comment here.
Current date
Select a cell and press CTRL+;
Current time
Select a cell and press CTRL+:
Current date and time
Select a cell and press CTRL+; then SPACE then CTRL+:
Note: These shortcuts are for the international Excel version on a Portuguese keyboard. I cannot guarantee these will work on other versions. Try it for yourself and if you think your experience will help others, leave a comment here.
Subscribe to:
Posts (Atom)