FAQ Database Discussion Community

## improper matrix print out latex

matrix,printing,latex

## How to search and replace from the last match of a until b?

regex,vim,latex
I have a latex file in which I want to get rid of the last \\ before a \end{quoting}. The section of the file I'm working on looks similar to this: \myverse{some text \\ some more text \\}% % \myverse{again some text \\ this is my last line \\}% \footnote{possibly...

## How to make internal links work in Sphinx output (latexpdf)?

reference,latex,python-sphinx,restructuredtext
I insert links following this manual: http://sphinx-doc.org/markup/inline.html#ref-role However, while the internal links work perfectly in the HTML output, they don't work in PDF. The text supposed to be the clickable link only become italics. Here's my rst: This is my :ref:reference <file-table3>. .. _file-table3: .. container:: centeredtextbody .. table:: There...

## Concatenation of Matlab strings

matlab,latex,string-concatenation
I want to make a Matlab function that takes two matrices A and B (of the same size) and combines them in a certain way to give an output that can be used in Latex - table. I want the first row of the output matrix to consist of the...

## Using Vim + latex-suite + knitr

r,vim,latex,knitr
(summary at the bottom) I have set up Vim and R using the Vim-R-plugin and it works flawless. I also use the Latex-suite in Vim and can create, compile and view .tex files without any problem. For knitr, I used to use Rstudio but I would really like to stay...

## In Emacs: how to reference latex equation in text by its number .dvi?

emacs,latex,equation
Suppose, I use Emacs to write a function in latex: $$\label{eq:myeq} x=2y$$ that gives me x = 2y (1) in a resulting .dvi. And suppose I have dozens of such equations. Here is the problem: if I have to reference this equation but don't remember its name I...

## Greek symbols in labels for bar chart in MATLAB

matlab,latex,bar-chart,matlab-figure
I would like to use greek symbols in the ylabels for my barh() chart. I tried the following but it didn't really work: tplot = barh(mdata, 'BarWidth', 0.3); set(gca,'xgrid','on') lbl = {'$\hat{\sigma}_1$', '$\hat{\sigma}_2$', '$\hat{\sigma}_3$'}; box off set(gca,'yticklabel',lbl) h=findobj(gca,'type','text'); set(h,'Interpreter','latex') I also tried: set(gca,'TicklLabelInterpreter', 'tex') When I do get(gca), the property...

## Latex Indentation

latex,indentation
I have a list which I want to indent from the section title. I have tried \indent and \hspace{1cm} without success. Here is my code \vspace{0.2in} \section{Affiliations} \vspace{0.1in} \indent The American Geophysical Union.\\ \hspace{1cm} The Seismological Society of America. ...

## How do I alias command mathbb?

latex
I would like to alias \mathbb as simply \bb. How do I define this new command? I know how to alias mathsymbols such as: \def\AND{\wedge} But I am not so sure about math commands that take parameters....

## How can I output this table with indexes in latex?

latex
How can I outputthis table exactly like that in LaTeX? I'm using the latest versions of WindEdt and LaTeX. Thank you....

## could not start the command pdflatex - synctex=1 -interaction=nonstopmode %.tex error

latex,pdflatex,texmaker
I'm very new to LaTeX and its distributions so this might be a very newbie question. I was following this tutorial and I'm not being able to compile the document. The code so far is very simple i don't think there are any typos and also I did not find...