Hi guys,
To write small letters like トゥ simply type an 'x' before you type the 'u'
That's it.
Cheers!
Monday, September 30, 2013
Wednesday, September 25, 2013
MS Visio Drawings to PDF -> Latex
Hey,
If you want your MS Visio drawings exported as PDF so that you can include them in your .Tex files (with metadata) here is what you have to do.
If you want your MS Visio drawings exported as PDF so that you can include them in your .Tex files (with metadata) here is what you have to do.
- First, change the page size
- In MS Visio 2007: File->Page Setup->Page Size: Size to fit drawing contents
- Next, export
- File->publish as PDF or XPS
- And play around with the Options
- current page
- include background or not etc.
The exported pdfs are good in quality and you can select text fields.
Cheers!
Wednesday, September 11, 2013
Variables in LaTeX
Hello,
To use variables:
To use variables:
% Set the new variable called "\MyVariable" with the value 0.5
\newcommand{\MyVariable}{0.5}
% To use the variable.
\MyVariable
e.g. includegraphics[width=\MyVariable
\columnwidth]{img/img.pdf}
Ubuntu LibreOffice Calc graphs to LateX
Here is how it is done!
- The first thing to do is to get the graph's size
- selce your graph, right click on it and choose "Position and Size"
- Get a printscreen or memorize the size values
- Copy the graph and open LibreOffice Draw and paste the graph there.
- Go to Format->Page and change the Width and Height using the above graph sizes
- Move the graph so that it fits perfectly on to the page.
- Finally, go to File->Export as PDF
- Better to choose lossless compression
- Now you can use this pdf file in your .tex document
If you want to use grayscale pdf in your latex document there are some ways to convert the pdf into grayscale.
I use http://greyscalepdf.com/ (or http://online.puzzleflow.com/process/all2gray) to get the job done easily.
cheers!
MATLAB figures in LaTeX
Hey,
Here is how it is done.
Here is how it is done.
- Open you figure file in MATLAB
- Goto File->Export Setup...->
- Apply you modifications like converting to grayscale etc. (Rendering->Colorspace)
- Choose "Export"
- In "Save as type" choose EPS
- Now you can use this EPS file in you .tex file:
\begin{figure}[t]
\begin{center}
\includegraphics[width=\columnwidth]{figure.eps}
\caption{my caption}
\label{fig:system}
\end{center}
\end{figure}
and choose latex->ps->pdf in your project builder (e.g. in TeXnicCenter)
Or if you want to convert this to pdf use the epstopdf utility that comes with MikTeX in the command prompt:
epstopdf figure.eps
and use it like this:
\begin{figure}[t]
\centering
\includegraphics[width=columnwidth]{figure.pdf}
\caption{my caption}
\label{fig:system}
\end{center}
\end{figure}
Note:
For some reason, direct export to pdf does not preserve the figure size.
Note:
For some reason, direct export to pdf does not preserve the figure size.
Subscribe to:
Posts (Atom)