# All Questions

3k views

### How to create simple graph in latex

How to create simple graph in latex. x,y axis with straight line drawn at (0,0) at 45 degress through the x,y axis. The graphs here are excellent but just too complicated for newcommers. here is ...
491 views

### Compiling a 870 mb latex file

I have a tikz file that is 870 mb and I want to compile it using some latex. How can I achieve this? I have tried increasing the amount of main memory to latex to the maximum and it still doesn't ...
927 views

### Fix the height of a column

I have several similar slides in beamer. Each slide has 2 parts side by side. On the left hand, there is a tikzpicture in a minipage, it is same for all the slides; On the right hand, there are ...
270 views

### \lstinputlisting of a whole java project

I'd like to print the complete source code of my java project, which has multiple .java files in several packages (i.e. folders), many .properties files and many .xml files, and others. I want to use ...
234 views

### Creating a box framework for inside the formula enviroment

For a list of things to be used inside the formula enviroment, I want to create boxes stacked over each other. I basically want to write  A := "Box with lines like 'A is a number', 'A is bigger ...
661 views

### Subscript of bigcap in Beamer [duplicate]

Possible Duplicate: Show inline math as if it were display math I write \bigcap_{0 \leq k \leq n} in Beamer, the subscript 0 \leq k \leq n is shown on the right side of the \bigcap. Does ...
392 views

### Correct use of sub-entries with glossaries package

I am writing my thesis and I am including a glossary. I am trying to nest some definitions under a "parent" definition. For example, I first define a mass and then define categorical mass whose parent ...
156 views

### Example of the use of :: in XY-pic [closed]

Could someone please provide an example of the use of ::, using sample code and coordinates and showing step-by step the changed content of p, c, origin, xbase, ybase, and any other pertinent ...
1k views

### Change colour of boxes surrounding links in hyperref

How can I achieve in the following MWE that the box surrounding the link gets coloured in blue? \documentclass{article} \usepackage{color} \usepackage[linkcolor=blue]{hyperref} \begin{document} ...
156 views

### Glossary and picture?

Here my question: what would be the best in order to make a sort of glossary, with picture ? In fact, I've got make tools description, in one hand with text (nothing hard here), and, in the other ...
734 views

### DOI in IEEEtran bibliography

The IEEE Citation Reference specifies that a DOI should be provided for electronic articles without page numbers. However, IEEEtran.bst appears to provide no such functionality. What is the best way ...
263 views

### LaTeX like Math.SE

I quite like how the Mathematics Stackexchange site's LaTeX looks, and I know that they have a LaTeX functionality by running MathJax on the site. What fonts/packages are available to achieve this ...
373 views

### Similar header format for my company

I need to reproduce the following header format: Please help; I'm a completely starter at LaTeX or TeX. I work with LyX and this is included in the document's preamble: \usepackage{fancyhdr} ...
3k views

### Break an inline math formula

I have a theorem that looks like this: Now I would like to break the (A....D) math expression. The problem is, that nothing I did from the solution of this answer helped (since probably people will ...
186 views

### Manually copy older TeXLive2011 from one Mac to a new Mac

From an earlier question of mine, it was determined that one can not obtain the latest version of older releases (ex. TeXLive2010, TeXLive2011). I am upgrading my Mac and would like to know the ...
543 views

### vim type Display for C Code in Latex

Target Display: My Latex Code: % xxxxxxxxxxxxxxxxxxxxxxxxx Code Snippet STARTS xxxxxxxxxxxxxxxxxxxxxx \lstset{ language=C, % choose the language of the code stepnumber=1, ...
185 views

### How can I find out how this thesis was TeXed?

This is the thesis in question. I have never seen this style, both with the transparent large numbering in the top right of the page, and the style of \mathbb{}. So I'm wondering how to find this out. ...
1k views

### redefine \includegraphics for beamer

I'm using Pandoc to convert from markdown to LaTeX or Beamer. The LaTeX template of Pandoc has nice command so that images are resized to fit the text width but the Beamer output is not. ...
4k views

### Bib file does not update in TexMakerX when I build the file

I am using Bib.bib file for all the references. When I use \cite{someref} it works fine for the first time but when I update the Bib.bib file it does not get the updated information, it just show the ...
2k views

### Literature in ModernCV

I currently write my CV and I want to include a Bibliography. The following is my header: \documentclass[11pt,a4paper,sans]{moderncv} \usepackage[latin1]{inputenc} \usepackage[ngerman]{babel} ...
970 views

### How to force hyperref to reference only \cite and not \citeauthor or \citeyear?

I would like hyperref to make links only when I use \cite and not with \citeyear and \citeauthor. Here is an example : \documentclass{article} \usepackage[numbers]{natbib} \usepackage{hyperref} ...
192 views

### Where can I find the official version of MiKTeX to download safely?

I just tried downloading a newer version of MiKTeX from the MiKTeX site and a huge amount of sketchy junk, including shop to win and blekko seemed to come with it, scaring me off. Is this safe? And ...
579 views

### Overwriting environment style

How can I change the style of an element in LaTeX ? I would like to do some basic modifications on some environments. For example changing the text size in quotation, margins in verbatim or the line ...
652 views

### Center parts in toc with tocloft

I'm trying to create a toc in a large Latex document which uses the KOMA script. In the toc I would like to center the parts and remove all other components (pagenumber, partnumber). I use tocloft (a ...
54 views

### How to compose and compile separate .tex files into a single article/book? [duplicate]

Possible Duplicate: How can I divide my book into different project without repeating myself? I want to compose and compile separate .tex files without repeat the preamble in every source ...
170 views

### Newenvironment not cursive

I created a new envrionment and it looks good, but I want to distinguish between normalfont and cursive font, so here is my code: \newshadetheorem{beispiele}{Beispiel} ...
807 views

### Equations in fancy boxes

I've checked the post here, where the package empheq is used for embedding equations into coloured boxes. With that idea, I wrote in my file the following: % in the preambule \usepackage{empheq} ...
767 views

### Is it possible to fill the complement of (A union B union C) with a solid color but the remaining regions remain transparent?

Please ignore the binary numbers. Without finding the intersection points in advance, is it possible to fill the complement of (A union B union C) with a solid color but the remaining regions ...
501 views

### \overleftarrow in subfigure caption

This compiles fine. \documentclass{article} \usepackage{subfig} \begin{document} test: $\overleftarrow{a}$ \begin{figure} %\subfloat[Subcaption $\overleftarrow{a}$]{\framebox[3cm]{First}} ...
213 views

### Is there a way to manually set the height of a bracket?

I am aware one can change the size of a single bracket to be slightly bigger than the object attached to it using \left\{<object>\right. What I would really like to do though, is to manually ...
290 views

### Probem with Bookmarks and Linking and page numbering

I have several problems with my latex book: I want the appendix bookmark as an extra bookmark on part level, now it is under my second part. In the table of content its is right, but not on the pdf ...
2k views

### How to generate all possible Venn diagrams (with the case below) efficiently?

I can draw Venn diagrams but now my question is more complicated than just drawing Venn diagrams one by one. I need to draw all possible Venn diagrams efficiently. I need a combinatorical approach ...
897 views

### Perpendicular line to two-points-line given the length

I have two points A and B, I call the line consisting of A and B as LAB:ax+by+c=0, I would like to draw a line segment starting from the point B perpendicular to LAB and with length len such that the ...
2k views

### Change equation font to Times New Roman?

How would I change equation font in the environment to Times? For instance, I use this code in LaTeX: \begin{split} {L_{CML}}\left( \theta \right) ...
692 views

### Problems with theorem/definition/statement numbering

I have theorems, definitions, statements, that look like as follows \section{1} \subsection{1} Theorem 1.1.1 .... Statement 1.1.2 .... Definition 1.1.3.... \subsection{2} Theorem 1.2.1 .... ...
519 views

### How to Format C Program Code Block Nicely

I am using the following settings to format my code blocks: % xxxxxxxxxxxxxxxxxxxxxxxxx Code Snippet STARTS xxxxxxxxxxxxxxxxxxxxxx \lstset{ language=C, % choose the language of ...
3k views

### In LyX, how do I indent the paragraph right after an itemize/enumerate environment

See the example above, I want to indent the second paragraph. The generated .tex file is %% LyX 2.0.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really ...
233 views

I would like to have the following (it's a part of a large code block): \def\C{foobar} \def\A{} \g@addto@macro\A{\B{\C}} Now \show\A outputs \B{\C} I would like to modify the 3rd line so that ...
513 views

### More fine grained syntax highlighting in Emacs/AUCTeX

I'm using Emacs with AUCTeX to do all my LaTeX. When it comes to syntax highlighting it seems that all mathematics is by default just orange. Do you know of a mode or package that adds some more fine ...
1k views

### Passing argument to \ifnum

\ifnum works fine it it's got two straight numbers. However, when calculation is involved, I get bunch of ! Missing = inserted for \ifnum. errors. Is there any way to solve that problem? ...
355 views

### How to vertically center included pdfs?

when I'm trying to fill a poster with multiple (landscape) slides, like this: \documentclass[a0]{sciposter} % Support for PDF inclusion \usepackage[final]{pdfpages} \begin{document} ...
244 views

### how to make the line between two tuples longer?

I drawed a picture like a process flow, However, I found the line between two tuples is too short as seen in the following image. How to make the line longer? Here is the code: ...
785 views

### references not printing to pdf properly

I've struggled with a new computer and miktex for sometime. I asked this question before and thought I had it resolved (saw a green hyper link box in the pdf and assumed all was good) but did not. ...