Wednesday, March 28, 2012

Unity 5.8 released with optimized visuals, new multimonitor options, new animations and more | Iloveubuntu: Ubuntu blog

Unity 5.8 released with optimized visuals, new multimonitor options, new animations and more | Iloveubuntu: Ubuntu blog

Google's Deep Shot patent: It's all about the screens | ZDNet

Google's Deep Shot patent: It's all about the screens | ZDNet

Again, this technology sounds cool!

Precise's Ubuntu Software Center gained progressbar support | Iloveubuntu: Ubuntu blog

Precise's Ubuntu Software Center gained progressbar support | Iloveubuntu: Ubuntu blog

Cradle Song, New Visual Novel/Game for Linux ~ Ubuntu Vibes | Daily Ubuntu Linux Updates

Cradle Song, New Visual Novel/Game for Linux ~ Ubuntu Vibes | Daily Ubuntu Linux Updates

This sounds pretty cool too, and they say Linux is dead...

Mozilla Releases Fully HTML5, Open Source Browser MMORPG ~ Ubuntu Vibes | Daily Ubuntu Linux Updates

Mozilla Releases Fully HTML5, Open Source Browser MMORPG ~ Ubuntu Vibes | Daily Ubuntu Linux Updates

Uh, this looks pretty darn cool.  Must resist...

Friday, March 23, 2012

Enabling the CTRL+ATL+BACKSPACE key sequence in Ubuntu 11.10 for X Screen kill

System settings -> Keyboard -> Layout Options -> Options




Chromium daliy builds PPA

In order to add the Chromium daily builds PPA to your Ubuntu repositories use the terminal and type the command:

sudo apt-add-repository ppa:chromium-daily/ppa

Ubuntu 11.10 - GNOME classic install

To install the classic GNOME interface use in the terminal the command:


sudo apt-get install gnome-session-fallback

Found here:

http://www.liberiangeek.net/2011/08/return-to-ubuntu-classic-desktop-in-ubuntu-11-10/

http://www.webupd8.org/2011/08/installing-using-classic-gnome-desktop.html

http://ubuntugenius.wordpress.com/2011/10/23/ubuntu-11-10-fix-how-to-add-the-classic-desktop-and-gnome-3-shell-as-login-options/

However this site uses:

sudo apt-get install gnome-panel

I guess both would work. I used the first

http://tombuntu.com/index.php/2011/09/11/install-the-classic-desktop-in-ubuntu-11-10/

LaTeX - Beamer - Adding a logo to your slides

In order to add a logo to your LaTeX Beamer slides (I think default is bottom right) use the command:

\logo{\includegraphics[height=1cm]{UTSI_logo.png}}

in your preamble. Screenshot:


Found here:

http://tex.stackexchange.com/questions/18410/how-can-i-add-more-than-one-logo-to-my-beamer-presentation

http://tex.stackexchange.com/questions/27906/positioning-logo-in-the-front-page-as-well-as-slides

(comments section of this site) http://www.shawnlankton.com/2008/02/beamer-and-latex-with-keynote-theme/

To make the logo appear on title slide only try:

http://groups.google.com/group/beamer-class/browse_thread/thread/9dbc2552a398ade2?pli=1

Also see:

http://texblog.org/2011/01/27/add-your-logo-to-the-title-page/

Friday, March 16, 2012

Beamer class (presentation mode) in LaTeX - an example of subfloats

I'd thought I'd post an example of a subfloat (a subfigure, but subfig is the package and subfloat the command; the subfigure package and command are older, see http://www.faqoverflow.com/tex/1966.html and http://texblog.org/tag/subfigure/) in Beamer, a presentation class for LaTeX.

\begin{frame}

  \begin{figure}[t]
   \centering
   \captionsetup[subfloat]{labelformat=empty}
   \subfloat[]{\label{} \includegraphics[scale = 0.15]{Sentinel_Bradford_et_al_07.png}} 
   \subfloat[]{\label{} \includegraphics[scale = 0.15]{Hyperion_(3)_Olds_et_al_99.png}}\\
   \subfloat[]{\label{} \includegraphics[scale = 0.15]{Stargazer_Olds_et_al_99.png}}
   \subfloat[]{\label{} \includegraphics[scale = 0.15]{Quicksat_(2)_Bradford_et_al_04.png}}
%    \captionsetup{labelsep=period, labelfont=sc} %\caption{} \label{fig:}
  \end{figure}

\end{frame}

Screenshot:


These are some concept hypersonic vehicles.  I just used this as an ending slide for my MS defense presentation.

Clockwise beginning at top-right:

Sentinel:
Bradford, J. E., Olds, J. R., & Wallace, J. G. (2007). Concept Assessment of a Hydrocarbon Fueled RBCC-Powered Military Spaceplane. 54th Joint Army-NavyNASA-Air Force (JANNAF) Propulsion Meeting (JPM) and 5th Modeling and Simulation / 3rd Liquid Propulsion / 2nd Spacecraft Propulsion Joint Subcommittee Meeting. Denver, Colorado.

Hyperion:
Olds, J. R., Bradford, J. E., Charania, A. C., Ledsinger, L., McCormick, D. J., & Sorensen, K. L. (1999). Hyperion: An SSTO Vision Vehicle Concept Utilizing Rocket-Based Combined Cycle Propulsion. 9th International Space Planes and Hypersonic Systems and Technologies Conference and 3rd Weakly Ionized Gases Workshop. Norfolk, VA.


Quicksat:
Bradford, J. E., Charania, A., Wallace, J., & Eklund, D. R. (2004). Quicksat: A Two-Stage to Orbit Reusable Launch Vehicle Utilizing Air-Breathing Propulsion for Responsive Space Access. Space 2004 Conference and Exhibit. San Diego, California.


Stargazer:
Olds, J. R., Ledsinger, L., Bradford, J. E., Charania, A., McCormick, D., & Komar, D. R. (1999). Stargazer: A TSTO Bantam-X Vehicle Concept Utilizing Rocket-Based Combined Cycle Propulsion. 9th International Space Planes and Hypersonic Systems and Technologies Conference and 3rd Weakly Ionized Gases Workshop. Norfolk, VA.

LaTeX - formatting - utilizing vertical space - \vspace

Again, I was adjusting the look of my CV using the \vspace command because there were extra spaces between section headings, an horizontal line, and the first entry of the section like so:


Here is that section of code:

\section*{Employment} 
\HRule 
\begin{itemize}
\item \textbf{Graduate Research Assistant}
\item University of Tennessee Space Institute, Tullahoma, TN
\item November 2011 - Present
 \begin{itemize}
 \item AFRL Prime Contract No. FA9300-06-C-0023
 \item Assisted major advisor who was a reviewer for journal papers in critiquing and writing summaries
 \item Assisted major advisor in building and proofreading research grant proposals
 \end{itemize}
\end{itemize}
\HRule
\begin{itemize}
\item \textbf{Graduate Research Assistant}
\item University of Tennessee Space Institute, Tullahoma, TN
\item August 2006 - May 2011
 \begin{itemize}
 \item Worked on AFOSR grant No. FA9101-06-D-0001/0003, Advanced High-Speed Propulsion Development; Out of the grant I produced and presented one AIAA conference paper and my MS thesis in Aerospace Engineering

So I tightened it like this:


\section*{Employment} \vspace{-5 mm}
\HRule \vspace{-6 mm}
\begin{itemize}
\item \textbf{Graduate Research Assistant}
\item University of Tennessee Space Institute, Tullahoma, TN
\item November 2011 - Present
 \begin{itemize}
 \item AFRL Prime Contract No. FA9300-06-C-0023
 \item Assisted major advisor who was a reviewer for journal papers in critiquing and writing summaries
 \item Assisted major advisor in building and proofreading research grant proposals
 \end{itemize}
\end{itemize}
\HRule \vspace{-6 mm}
\begin{itemize}
\item \textbf{Graduate Research Assistant}
\item University of Tennessee Space Institute, Tullahoma, TN
\item August 2006 - May 2011
 \begin{itemize}
 \item Worked on AFOSR grant No. FA9101-06-D-0001/0003, Advanced High-Speed
Propulsion Development; Out of the grant I produced and presented one AIAA conference paper and my MS thesis in Aerospace Engineering

So little things like this make LaTeX, IMO, very versatile/customizable and small changes can make big differences in looks.

LaTeX formatting - right alignment \ruggedleft

Here is a small thing, but I'd thought I'd post it since the small things can be big. Anyways, I was cleaning up my CV and the template I found and am using had my information at the top using this code.

\begin{minipage}[t]{0.5\textwidth}
  212 E. Emerald Ave \\
  Knoxville, TN 37917-5531
\end{minipage}
\begin{minipage}[t]{0.5\textwidth}
 Phone: (812) 531-9006 \\
Email: \href{mailto:timothy.andrew.barber@gmail.com}{timothy.andrew.barber@gmail.com} \\
Homepage: \href{http://timothyandrewbarber.blogspot.com/}{http://timothyandrewbarber.blogspot.com/}
\end{minipage}


Now the CV looked like this.





Now this is ok, but I decided I wanted it aligned to the right.  So I use the command \raggedleft to do this.  Found here: http://en.wikibooks.org/wiki/LaTeX/Paragraph_Formatting

The code now looks like this:

\begin{minipage}[t]{0.5\textwidth}
  212 E. Emerald Ave \\
  Knoxville, TN 37917-5531
\end{minipage}
\begin{minipage}[t]{0.5\textwidth}
 \raggeleft Phone: (812) 531-9006 \\
\href{mailto:timothy.andrew.barber@gmail.com}{timothy.andrew.barber@gmail.com} \\
\href{http://timothyandrewbarber.blogspot.com/}{http://timothyandrewbarber.blogspot.com/}
\end{minipage}

So I decided to remove the "Email:" and "Homepage:" as well.  Don't worry, my CV is a page on my blog and a few other sites so my info is out there anyways.

Ride on Hypersonic Plane to Cost $10,000 or More | Innovationnewsdaily.com

Ride on Hypersonic Plane to Cost $10,000 or More | Innovationnewsdaily.com

New Biplane Design Stops Sonic Booms | Silent Supersonic Aircraft | LiveScience

New Biplane Design Stops Sonic Booms | Silent Supersonic Aircraft | LiveScience

Tuesday, March 13, 2012

Latex - formatting - date

Most document classes automatically use the current date on the title page.  To change the date the date manually simply use the command \date{text} where the "text" is where you put in your date of course (\date{October 9, 1998}).  In order to have no date show up simply put nothing in the \date command braces (\date{}).

Thursday, March 8, 2012

Transferring files, syncing, and authorizing-deauthorizing on iTunes

So, I decided to finally update my iOS on my iPhone 3GS.  I haven't done this in awhile since I don't usually use Windows and I could never get iTunes to work in Wine (I don't remember if it will at all) nor I have finished my VirtualBox Windows installation (I have to do something to get it to recognize USB drives and just haven't done it).  Anyways, I wanted to back my iPhone up before updating from 4.3.3 to 5.1 and was having trouble doing it.  I needed to authorize a laptop but couldn't since I already had 5 other computers authorized.  I decided to deauthorize all 5 (yes all 5 since there is no option to pick or choose, BOO).  I selected this option, signed in, but iTunes gave me a message saying it couldn't access iTunes and to come back later and try again.  What the heck?!  I tried it a few more times with the same result.  So I then began to look for help on Apple's website.  Garbage.  The website is no help and this is why I am writing this blog.  Couldn't find an email address for customer support like Apple's site suggested.

Anyways, I went back and tried the deauthorization route a few minutes later.  Wow, it magically worked.  I then clicked under File the option to transfer all purchases.  Woohoo!  It finally worked.  So, I am writing this in case anyone got as frustrated as I did for this simple task.

Monday, March 5, 2012

GNOME-Pie 0.5 released with slice labels, new effect and more | Ubuntu + Ubuntu = Iloveubuntu

GNOME-Pie 0.5 released with slice labels, new effect and more | Ubuntu + Ubuntu = Iloveubuntu

Huh, never heard of this. Thought I'd share.

Highlighting text in LaTeX - changing hl colors too

Please Make A Note: How to highlight text in LaTeX
Utilize the "soul" package.  (Side note, I think the "color" package should be loaded for this to work as well. The class I am using for my thesis already has it loaded, and I saw this somewhere, so just in case.)

\usepackage{soul}

Then use the following command to highlight text:

\hl{text to be highlighted}

Screenshots:



Although, it seems you cannot highlight citations using this command.  There is probably a way to do this.

Update: 3-9-12

You can use the \hl command around text options such as \textit and \textbf.  To use different colors to highlight I found this neat command here:

http://tex.stackexchange.com/questions/5959/cool-text-highlighting-in-latex

\newcommand{\hlc}[2][yellow]{ {\sethlcolor{#1} \hl{#2}} }

which is to go into the preamble.  The command is then:


\hlc[green]{Text goes here.}


Screenshot: