I am using TexMaker of Karmic Ubuntu with Okular. I use pdfLatex to compile and I view the PDFs in Okular. How can I configure Okular to inverse search with TexMaker? I have tried the following code:
texmaker %f -line %l
but it does not work. I have tried double clicking, ctrl+click, shift+click, ctrl+shift+click, ctrl+alt+click, alt+s...
I am editing a LaTeX file with vim. When I am in the \begin{itemize} environment, is there any way to tell vim to autoinsert \item whenever I open a new line?
...
Say I have a list of words that need to retain their order, and need to be sorted into two columns.
I can do this rather well with a tabular:
\begin{tabular}{l l}
abc & def \\
ghi & jkl \\
\end{tabular}
But doing so makes it rather difficult and time consuming to reorder the list.
Is it possible to have an automatically wrapped two-...
I am not sure if this question is suitable for superuser instead, but I'll ask anyway.
Currently I'm writing on my documentation for my final project. I must append several other LaTeX documents as enclosure. They must be mentioned in the first Table of Contents as alphabetical appendix. I tried the package subfiles, but the subsequent ...
Sorry, this may or may not be a programming question directly, but I am trying to resize screenshots with Imagemagick and Gimp to include in a Beamer presentation, but it comes out even blurrier than the resizing done by LaTeX.
For instance, in Beamer I might have a command to rescale the image \includegraphics[width=.5\textwidth]{fig....
Why does the following command not produce a horizontal rule filling the space until the end of the line?
Hello \rule[0.5em]{\fill}{1pt}
It is my understanding that this should print the text “Hello” followed by a horizontal rule that extends until the end of the line, analogously to the macro \hfill which is effectively equivalent to...
I'm trying to set tab stops in latex in the tabbing environment. My problem is that I want to set a tab stop after a number of whitespaces. The problem is that latex of course ignores multiple whitespaces, and it seems to only support setting tab stops after actual text.
What I would like to be able to do is format the arrows below so t...
Hi,
I'd like to create a pdf/ps/eps that contains only one single formula.
I thought the easiest way would be to use latex.
Unfortunately, I found no option to specify, that the paper-size should automatically be set to fit the contents.
I found that dvipng has a "-T tight" option, that actually does the trick, but...
I want it in vect...
Hi,
I would like to use some iteration control flow to simplify the following latex code
\begin{sidewaystable}
\caption{A glance of images}
\centering
\begin{tabular}{| c ||c| c| c |c| c|| c |c| c|c|c| }
\hline
\backslashbox{Theme}{Class} &\multicolumn{5}{|c|}{Class 0} & \multicolumn{5}{|c|}{Class 1} \\ ...
Hi, I'm currently using the apalike style for my bibliography, using natbib for author-year, however when I generate the bibliography I lose the labels that normally precede the reference,
i.e. [S. Rostami, 2010] Shahin Rostami (2010) http://stackoverflow.com/questions/ask etc etc..
I read apalike.bst and it seems this is intended, my ...
I have a LaTeX table that looks like this:
\begin{table}[!ht]
\centering
\small
\caption{
\bf{Caption}}
\begin{tabular}{l|c|c|l|c|c|c|c|c}
field1 & field 2 & ... \\
\hline
...
the problem is that even with "\small" the table is too big, since I use:
\usepackage{setspace}
\doublespacing
in the header. How can I:
1) Make the table...
Hi,
I have a wide and long table. I am not sure how to put it in my thesis. Since it is wide, sidewaystable may be the choice. Meanwhile it is also to long to fit in one page, so longtable comes into my mind. However, I cannot make sideaystable and longtable working together for one table, e.g.
\begin{sidewaystable}
\begin{longt...
Hi,
I would like to put pictures into a supertabular table within lscape enviroment. The code is:
\newcounter{themenumber}
\newcounter{classnumber}
\newcounter{imagenumber}
\tablefirsthead{
\hline
\backslashbox{Concept}{Class} &\multicolumn{3}{|c|}{Class 0} & \multicolumn{3}{|c|}{Class 1} \\ %\textbf{A...
Hi,
Here is the latex code for my table:
\begin{table}{| c || c | c | c || c | c | c | }
\caption{Examples of the concepts. \label{tab:conceptsimgs}}\\
\hline
\backslashbox{Concept}{Class} &\multicolumn{3}{|c||}{Negative Class} & \multicolumn{3}{|c|}{Positive Class} \\
\hline
\forloop{themenumber}{1}{\value{the...
I am trying to write my thesis in latex... Cannot get the layout straight though :?
I'm using the following document class:
\documentclass[11pt,a4paper,twoside,openright]{book}
My problem is: on the odd numbered pages there is a big margin right, and a small margin left - it should be the other way round... (for binding & stuff)
I am ...
I'm typesetting in LaTeX, and I'd like to display a "variable" (in my case, a reference \ref{blah} to an item number in list) in roman rather than the default arabic. Is there an easy way to do this? Thanks for any pointers!
...
Hi, I'm looking to draw a tree where the root is on the left and each child node is drawn to the right.
It seems that the qtree package can't do this. Any one have any ideas?
I've found this document, which seems like it might help, but it's a bit obtuse.
...
I am learning latex right now as a hobby and was working on beamer classes. What I would like to know is how to create your own themes for beamer. Can you please point out some good resources which would help me do it..I googled but could not really find some
...
Hi: I use LaTeX listing package with \lstinputlisting to display text from an external file. The file contains a data format description with a blank line at the end. The package ignores the blank line. How can I show the blank line in a listing?
What it displays:
1 lorem ipsum...
2 more lorem ipsum
3 lorem lorem ipsum
What I want:
...
Hi,
I have translated a document from English to Norwegian in the LaTeX format, and while using norwegian special characters, I get an error using
\usepackage[utf8x]{inputenc}
to try and display the norwegian (scandinavian) special characters in PostScript/PDF/DVI format, saying
Package utf8x Error: MalformedUTF-8sequence.
So whi...