# All Questions

7 views

### Always creating a second document with slightly different configuration

I work on a document, and I would like to create, simultaneously, another document which has the 'doublespacing' tag on. Until now, every time I needed it, I just copied the TEX file to a ...
2 views

### Emacs “built-in output viewer”

I'm learning Emacs and I was reading the mighty LaTeX Editors/IDEs, where it says that Emacs has a "built-in output viewer". However I can't seem to find it. According to my understanding, a ...
11 views

### List and link all citation locations in bibliography

I'm using BibTeX to create a rather long bibliography. Is it possible to direct LaTeX or BibTeX to list after each bibliographic item the pages where it was \cited?
17 views

### Is there a semantic definition command?

Every time I want to emphasize a definition word in a paragraph I need to explicitly state the formatting with \mathbf{<word(s)>}. But I'd like to use a semantic command like ...
23 views

### How do you add a newline between section number and section title?

Basically I want something to look like: 1 Section title I'm using the titlesec package. Also on another note, I managed to get my subsubsections to not show without any numbering as 1.1.2 (as is ...
48 views

### How can I draw Indian horoscope charts?

I was wondering if Indian horoscope charts can be drawn in LaTeX. Here is one example: It has 12 divisions. And in each of the divisions there may be one or multiple Grahas with their corresponding ...
21 views

### Handling numbers and calculations [duplicate]

I have to deal with a lot of numbers in my latex documents. So far, I have been using a rudimentary \newcommand{\VarOne}{1000} to define \VarOne and then use it as it is using \VarOne{} in the ...
29 views

### How to make a function inside the tikzpicture behave like outside

I have a makro which generates a structure(rule) and a reference to that structure. It does not behave when inside a tikzpicture. How to make the function robust to reference the structure even when ...
24 views

### Difference between luatex and lualatex binaries

I installed MacTeX Basic on my laptop (OS X 10.10), and I got 2 binaries, luatex and lualatex. Those 2 binaries behave totally differently (lualatex is able to parse \documentclass, the other is not), ...
21 views

### Decipher a code for an array environment

I saw on this web site two codes to get vertical alignment at the equals signs in consecutive systems of equations. One of them uses the systeme package and the \mathrlap command for the quantity on ...
14 views

### How can I indent paragraphs within an itemize environment?

I'm sorry to ask such a simple question, but I've been searching around without finding a simple way to make each new paragraph indent when I'm in the \itemize environment. Number 6 on this document ...
29 views

### Texmaker 4.4 on Mac OS X Yosemite [on hold]

Texmaker 4.4 which is the latest version, doesn't work on Mac OS X Yosemite? How could I do it?
30 views

### LaTeX Figures in Scientific Workplace

I'm trying to use Scientific Workplace to compile a document that was written in LaTeX. Everything is fine but the figures. In the LaTeX file I wrote \documentclass[10pt,a4paper]{article} ...
12 views

### Fontspec can't find italic font (installed later) but will use condensed (installed first) on OSX

I installed a bunch of Myriad Pro variants in Font Book and was using LuaLateX to set the section headers to this font: \newfontfamily{\headingfont}{Myriad Pro} ...
43 views

### How to change the colour of a tag in align?

I'm having the following article: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} d(x, y) &= d(y, x) \tag{symmetry} \\ &\leq d(y, z) + d(z,x) ...
42 views

### Expansion of verbatim material

I am passing a file name in the command line which contains underscores and would like to print the name of the file in the resulting PDF. So, need some expansion magic so that the output is: The ...
18 views

### different line space for thesis

I am writing my thesis using KOMA-script in LyX. I have followed the guide from this link http://fkurth.de/uwest/LyX/ThesisTemplate/Diss-Template.zip However, I have a issue related to the line ...
44 views

### Latex Bussproofs Package Prooftrees on Same Line

I'd like to know how to put two prooftrees on the same line rather than under/ontop of one another. Is that possible? \documentclass{article} \usepackage{bussproofs} \begin{document} ...
22 views

as in the title, I'm looking for a menu button (or similar) for notepad++ that shows (mathematical) symbols to insert them (such as \Rightarrow, integration symbol, greek letters ...) into the .tex ...
69 views

### Homework Problem Sheet Template

Could someone make this picture of Homework Problem Sheet Template in sample code in LaTeX with the same font size by the way i already add tow pictures in the front of document to make it more cute ...
21 views

### Reducing spacing between section headings and text in resume

I want to reduce vertical spacing between end of text in education section and the title of the following section , i.e. ACADEMIC APPOINTMENT. Also, the space between PUBLICATION and Economics ...
35 views

### Self-Referencing Relationship: TikZ Crow's Foot ERD

I saw posting "Drawing a complete ER Diagram in Crow's foot style by TikZ" and answer. But, using the codes, I was not able to add any proper self-referencing relationship. E.g., an Employee ...
21 views

### How to eleminate the space between bibitems using memoir?

I am trying to change the font size and the spacing of bibitems using the memoir class. As the following command (for what ever reason) did not work \usepackage{biblatex} ...
24 views

### Align text in equation

\begin{align*} \text{min } \mu \ \\ \text{s.t. } P^t(X) &\le y_t,\ (\forall t \in T)\\ \sum_{t \in M_k} y_t &\le \mu , \ 0 \leq k \leq k_{max}\ & \\ ...
22 views

### algorithm2e, caption space

I am using the package algorithm2e within the IEEEtran class. I need to provide a space between the caption and the Algoritm. Currently, the caption is very close to the algorithm. Is there any ...
39 views

### How to trim the white space before figure caption?

I'm using \documentclass[journal,transmag]{IEEEtran} \usepackage[pdftex]{graphicx} \begin{document} % \setlength{\textfloatsep}{0pt} \begin{figure*}[!t] \centering ...
14 views

### Biblatex abbrevation for no author/editor/year/etc. in alphabetic style

I use an alphabetic citestyle with biblatex. Sometimes I have entries where no author or editor or year is given. For example there is often no editor for a proceeding. At the moment I leave the entry ...
24 views

### How to include, in beamer handout, a slide exactly as it appears in presentation mode on a particular transition?

I have a beamer presentation where I do something like in the following MWE: \documentclass[handout]{beamer} \include{tikz}% To get \foreach \begin{document} \begin{frame} These I want to ...
19 views

### Package Keyval Error: allcolors undefined

I am using the following template for writing a document in Latex but i am getting an error Package Keyval Error: allcolors undefined.. ...
38 views

### Calculate image sizing factor

How can I multiply a length e.g. \textwidth with two factors? Other way to express what I want to do is, How can I apply more than one mathematical expression within \includegraphics command? ...
24 views

### Longtable Long Word wrapping issue

Im trying to wrap long words in a longtable and its not quite working right. some of the words spill over to the next cell. any help would be great thanks! \documentclass{report} ...
26 views

### myheadings in memoir - chapter title verso and recto page

I wrote a book with memoir. My last problem is, that I have a chapter, which is so short, that it has no sections. This leads to the fact that on the recto page there is an empty header. How can I ...
60 views

### New/blank line in itemize

I have an itemize area with several point inside it. I want to have the following result: - one - two - three Is there is an appropitate way to do so? As a workaround I used the following code to ...
27 views

### Too Many Blank Lines between sections

I'm writing in a TexMaker, between the sections and the subsections, there are two much unwanted blank lines, how can I limit the amount of blank lines inserted by TexMaker between subsections and ...
9 views

### subfigure crop figures at the end of page

I'm trying to include a set of 8 figures into a single figure with subfigure, but all together a re too big to fit in one page and they get cropped. I want to keep them all in the same figure ...
16 views

### Disable automatic subticks on semilogyaxis plot with pgfplots

I found many questions regarding why subtics do not appear on a semilogyaxis plot. But I actually would like to not have those subticks as this adds too many ticks so that my plot looks pretty full. ...
40 views

### Drawing Vertical Plots

is there any quick way to draw vertical plots with pgf-plots? I need to draw successive vertical lines for the plot below: \begin{center} \begin{tikzpicture} \begin{axis}[ clip=false, ylabel={}, ...
13 views

### How to change the format of the “and” bibstring using xpatch?

When using biblatex's textcite command with a two-authored reference I want the "and" between them to be in italics. I managed to get the same for the "et al." \bibstring using the following code ...
17 views

### Using the mhchem and chemfig packages in conjunction

I am trying to write a chemical reaction in which I want to include a chemical structure. I am having some trouble regarding alignment and bond length. Here is a minimal working example: ...
22 views

### Showing formulas in the text editor - Texstudio

Is there an option to show the formulas in the text editor (not the PDF on the side) so that the text can be edited while the compiled formulas appear. This option exists in emax-auctex. Does it exist ...
27 views

### Adjust edge endpoints depending on node label

I would like to draw a tree where the position of edge endpoints relative to the node depends on contents of the node, and may change between the parent edge and the child edges, to point out a ...
24 views

### How to group nodes of an automaton with tikzpicture

I want to obtain this result: and so far I've written this code: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{automata,positioning} \begin{document} \begin{tikzpicture}[% ...
20 views

### Font installation - mktexmf cannot find newtxbttsla.mf file

OS: Windows 7. TexLive: pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/W32TeX), kpathsea version 6.1.1 I was following rules https://www.tug.org/fonts/fontinstall.html I've updated my TexLive ...
64 views

### What's wrong with this attempt to keep the baselinegrid?

I have the following code; it is a fairly, but not completely minimal setup for use with XeLaTeX that approaches my real-world scenario (the somewhat weird specific numbers come from the design ...
19 views

### CV / Resume class with good accompanying letter and document classes [on hold]

I am refreshing my résumé and would like to use a class that works well stylistically with other classes for cover letters, research statements, and other documents. Quite often these documents have ...
41 views

### Latex software and guidelines [duplicate]

I need to write a document with Latex and I installed TexMaker. Does anyone suggest any easier tool? And a good documentation since I am finding loads but I need to learn it as quickly as possible.
239 views

### How to replace text

I'd like to write something like this: \replace{Text should be replaced here, here and here}{here}{Latex} It should outpout Text should be replaced Latex, Latex and Latex How can this be ...
28 views

### Latex document contains only \section{}?

I want to typeset a document with desired output such as: 1. blah blah ... blah blah .... 2. blah blah ... blah blah .... 3. blah blah ... blah blah .... That is simply numbered ...