Exploring LaTeX planet

In my previous blogs, I had already told about its installation and basic documentation making steps.

Today we will discuss about some more features of LaTeX.

I am starting with “Beamer”. Beamer is simply  a package for creating presentations in LaTeX. By default it uses prerex editor for showing the presentation.

You need to use frame for separating various slides.

I had used different commands for this. You may visit here  to have a look at presentation and here to check the code.

There are various colors and themes available in beamer for making presentations a level higher. Check this

After you go through the code you may see I had used a \pause command.

The \pause is to show only part of a slide. In this way you can have multiple slides in a single frame.
There are several other packages apart from presentation, article. Do check this
You may also like to visit here for different Font Styles and size.
For some more related content you may refer my friend blog.
P.S: Presentations are not that much effective. As I had made it just for being familiar with LaTeX syntax.

LATEX

LaTeX is a great tool to create documents, it’s based on the wysiwym (what you see is what you mean) idea, meaning you only have focus on the contents of your document and the computer will take care of the formatting. With LaTeX it is very easy to create professional-looking material.

To run LATEX on your own computer, you need  to use a latex distribution. A distribution includes a latex program and (typically) several thousand packages.
  • On Windows: MikTEX or TEXLive
  • On Linux: TEXLive
  • On Mac: MacTEX

LaTeX was first developed in 1985 by Leslie Lamport, and is now being maintained and developed by the LaTeX3 Project.

I created simple working document first.

You need to first install latex. I had told about its procedure in my blog

By default latex documents open up using vprerex (visual prerex) editor.

I typed latex on terminal and under that I gave command:

echo ‘

\documentclass{article}
 
\begin{document}
LaTeX is a great tool to create document. It is very easy to create 
professional-looking material using this. 
\end{document}' >lat.tex

It will create a file lat.tex

Online compiler for latex is here

Apart from this lat.aux, lat.log, lat.pdf files are created by default.

  • AUX is a data file format used by Latex
  • AUX is a data file format used by LaTeX. LaTeX is a macro package which uses TeX typesetting language in its documents. AUX files contain information used for cross-referencing, and is also used to transport information from one compiler run to the next.
  • Some of the compilers are pdftex, Xelatex, Lualatex etc.
  • A log file is usually a flat text file that contains a list of events that happend when a program was running, with one event on each line. Often times errors are recorded in log files.
  • .pdf: The common output format for your document.
    Created by pdflatex/ xelatex/ ps2pdf/ dvipdf .

For Beginners, this is a good tutorial.

 Some Features:

  • To make the text bold, wrap it in \textbf{text here}
  • To make text italic, wrap it in \emph{text}
  • If you just type these, you’ll get an error. If you want one to appear in the output, you have to escape it by preceding it with a backslash.
    \$\%\&\#!
    $%&#!
  •  For quotes use a backtick (`)
  • Also you can write \date{\today} else it came by default also
  •  LATEX  handles spacing automatically; it ignores your spaces.
  • A simple mathematical equation:
    \begin{equation}
    \sum_{k=1}^{n} \frac{1}{2^k}
    \end{equation}

Congrats! Till now I already learned how to . . .

  • Typeset text in LaTeX
  • Use lots of di erent commands.
  • Handle errors when they arise.
  • Typeset some beautiful mathematics.
  • Use several di erent environments and load packages

Moving ahead,

  • You can set image prederences using
    includegraphics[
    width=0.3\textwidth,
    angle=270]{big_chick.jpg}
  • Use \documentclass[twocolumn]{article} to put content in two columns
  • A without box table can be created using
    \begin{tabular}{lrr}
    Item & Qty & Unit  \\
    Widget & 1 & 199.99 \\
    Gadget & 2 & 399.99 \\
    Cable & 3 & 19.99 \\
    \end{tabular}
  • Mathematics stuff
    \begin{equation}
    \sum_{k=1}^{n} \frac{1}{2^k}
    \end{equation}
  • This is for different font sizes:

    {\tiny this will show different font sizes} and also \textsc{different font styles}

    You may visit here to see a pdf file made in latex

Code of this file is this

There is much more about LaTeX yet…

Stay tuned and Happy TeXing 😀

Keep Educating Yourself (KEY)

Today I got a site which offers free courses. It is a collection done by GNE college for their students. I found this really impressive.

Apart from this I learnt many things related to HTML & CSS.  I also got to know about meteor which is an opensource platform for mobile and desktop to create Apps with Javascript.

I also cropped images using LibreDraw and Shotwell Viewer.

Link is beneficial for seraching about books. Link is  this

There is also Google Maps

One more term is ‘svg’

eg. Under Images search motivation svg

Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. SVG images and their behaviors are defined in XML text files.

There is also a site pexel for seeing good images. Also I got to know much about LaTeX which I am gonna share in my next blog.

I also got to know about many useful commands used on Terminal like HISTSIZE , ranger, different shells etc.

You can see it here

I uploaded it using this

“An expert in anything was once a beginner” 🙂

Work is Worship

Today I helped my dad in his computer work somewhere. He told me that pdf files are not able to open up in system. So I first checked to view it using notepad, microsoft office etc. But It doesn’t work. Though I know it won’t still I was trying. Then I installed  a pdf viewer from here

I checked whether system is of Windows X64 or X86 by typing dxdiag .

DxDiag (“DirectX Diagnostic Tool “) : It tells about the functionality of the system in windows OS.

I also got to know about some ubuntu terminal games like greed, moon-buggy etc.

sudo apt-get install moon-buggy

You can have a look over here

One thing more I did today is filtering messages in Gmail.

What I did is, I first open a message from the email which I want to filter out. I click on more options then filter message like this.

Now a screen will open up having Has the words option. Don’t change it. Now click on Create filter with this search. Now on the next window you can set your preferences and label name. Click on create filter and done.

Apart from this I checked out some E-commerce websites like Snapdeal, Flipkart, Amazon, Paytm, shopclues etc.

I also got to know about a new term “Gnuplot”

gnuplot is a command-line program that can generate 2 & 3-dimensional plots of functions, data.  The program runs on all major computers and operating systems (GNU/Linux, Unix, Microsoft Windows, Mac OS X, and others).

just write gnuplot on terminal and it will open up. To plot you need to install plotutility.

sudo apt-get install plotutils

I learn about uploading images at a site and getting its URL, so that instead of sending image I can use the URL.

I had done it using this

One of the image I had uploaded is this

“You are responsible for your own happiness” 🙂

 

 

Up & Downs

So what’s new today? Actually I am asking this question to myself :/

I hadn’t done that much fruitful work from yesterday. Still going in flashback and here are some new things which I had learnt.’

Firstly today I changed Rich format text to Plain by clicking on COMPOSE in Gmail and then more options. Under that check whether plain text is checked or not.

I also got to know about some more transitions related to reveal-md, which I had added in this

I had given presentation on Octave yesterday. Also I got to know about many new things like Tile server or OSM server. Open-Scad, How search engine works, MongoDB, BaKaPlan, Webpages etc.

“Learn Something new everyday” 🙂

Party Time!!

Today I want to free my port no. which I had assigned using tmux as I want to assign that port to a different presentation. So I got to know about tmux attach

first

Firstly give command tmux list-sessions //To check active sessions

Then give command

tmux attach-session -t 20 //Here 20 is session id. Give your preffered id.

Then it will redirect you under tmux
second

Here give command tmux attach

Done 🙂

I also got to know about some UI editors like glade,pinegrow.

I created one more UI design from mockflow

Wireframe

You may visit over here

I also got to know some interesting things about Octave which I am gonna share through my next blog.

After this there was a Welcome party.

Cheers 😉

“Do more of what makes you happy” 🙂

Step by Step

Today I used dashboard of WordPress and added Calendar and slide show of images in my blog site. Apart from this searched a bit more about Octave. I join amisha in helping mandeep about inline posting and adding link. I also told about setting default category to amisha.

I also got to know about Phonegap.

PhoneGap is a software development framework by Adobe System, which is used to develop mobile applications. To develop apps using PhoneGap, the developer does not require to have knowledge of mobile programming language but only web-development languages like, HTML, CSS, and JScript.

Apart from this I had pushed my Weboctave directory in github. I pasted weboctave folder in my local gittest. Then I gave command

git add Weboctave/.

After that simple steps to commit, git remote. Then I gave a command

git pull

“git pull basically does work of both git fetch and merge”

After that a page opens up in nano text editor. I had merged my Weboctave directory in it. Then saving and exit.

After that I gave command of push.

do

Its Done 🙂

I also got to know about some new commands related to git.

git status  //The git status command is a relatively straightforward command. It simply shows you what’s been going on  with git add and git commit

git branch //It tells about the branches and active branch of github

INSTALLATION OF LATEX

Firstly give this command in ubuntu terminal:

sudo apt-get install texlive

The above command will install a basic TeX Live functionality. To install all the packages in the LaTeX, you have to run the following command.

sudo apt-get install texlive-full

Now to Install OTHER LaTeX Packages:

  • latex-beamer – Beamer package is used to create presentations. It is an excellent LaTeX class that supports dynamic effects.
  • Prosper – A LaTeX class for writing transparencies.
  • texlive-pictures – This is a LaTeX package for drawing graphics.