Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

Wednesday, June 19, 2013

Useful Links

This blog is just used as reference and put some useful links together for future convenience. Will update this blog from time to time.

How to Install Oracle Java JDK on Ubuntu Linux

Introduction to SVN

How to Install Android on Ubuntu Linux With Eclipse Ide

Wednesday, October 26, 2011

Highlight Section in Blog

Method:
Add corresponding CSS style into head section. Name classes meaningful.

Here is a simple example ...
======================================================

Hello, World!
I just want to highlight this section. I just want to highlight this section. I just want to highlight this section. I just want to highlight this section.

Also, I want to highlight this word only. Also, I want to highlight this word only. Also, I want to highlight this word only.

This is a table aligned to left:
112345
123451

This is a table aligned to center:
112345
123451

Goodbye ...

Monday, October 17, 2011

Convenient Way to Edit Tables in Blogger?

Sometimes I need edit tables in my posts, and found that the HTML coding for tables, especially when I want various features, is tedious. I searched online to see if there are some good ways to do this. Unfortunately, I haven't found any.

As for now, WYSIWYG style is preferred for me to edit tables. So I edit the tables in other editor like Dreamweaver, and then just copy the HTML code back to my blog. I wish there is some better way I can handle tables!

Are there some convenient ways for TABLEs in blog?


================================================================

After I posted above content, I did find that if I can use CSS style well, the table can be edited in a controllable way. Also, the code wasn't be prohibitive, and I can play with it in various ways. Glad that it won't be an obstacle for me to continue with my blog! Hopefully I can learn more along with blogging!

This is a sample table I just edited. Yes, if I really know something, it will be simple.

Header1Header2Header3
Row1, Col1Row1, Col2Row1, Col3
Row2, Col1Row2, Col2Row2, Col3
Row3, Col1Row3, Col2Row3, Col3
Row4, Col1Row4, Col2Row4, Col3
Row5, Col1Row5, Col2Row5, Col3

I think I need some summary, so just post here.
  1. Style can be made for entire table, each row, each column, or each cell.
  2. Style options for columns are limited, and maybe overruled by row styles.
  3. Some options for styles:
    background-color, color, text-align, font-face, font-size, font-weight, text-decorator

Friday, October 14, 2011

LaTeX Style with Blogger

The other day when I edited mathematical formula with Blogger for the first time, I tried the online latex editor credited by CodeCogs (http://www.codecogs.com/latex/eqneditor.php). It is good for formulae in separate lines from texts and center alignment; however, for inline formulae or equations, they cannot be beautifully aligned with texts.

I explored some more and found that mathjax server is offering such functions I want. All I need to do is add an HTML/Javascript gadget and copy the code for that gadget, or copy the code directly into the <head> section of Template HTML script. The code was found in this forum seed: http://tex.stackexchange.com/questions/13865/how-to-use-latex-on-blogspot. Also, I am attaching it here.

Here I am trying some examples.
This is an inline equation \(3x^2-2x+17=0\) and an inline formula \(\mu=\frac{f}{N}\).
Also, a separate equation is here \[\frac{dy}{dx}=y^2-5y+\sqrt{y}+f(x)\]

They look much better to me. Great gratitude to MathJax (http://www.mathjax.org)!

Wednesday, October 12, 2011

Formula -- CodeCogs

Testing how to insert formulae into posts. The tool used here is online latex equation editor credited by CodeCogs (http://www.codecogs.com/latex/eqneditor.php).

Here is a simple example.

Noticed that there should be some other and more convenient ways to insert formulae into posts. Will learn more in the future.

Acknowledgment to CodeCogs.com!

Code -- Pastebin

Testing code block from Pastebin (http://www.pastebin.com). Acknowledgement to Pastebin.com!