# All Questions

44 views

### Arrows in picture environment

i constructed using the picture environment a simple Dynkin diagram of type A_n, which looks like : o---o---o ... o---o---o I would like to connect the first and last vertices of this diagrame with ...
11 views

### Problem with Dense distribution

What is poisson.sty? and how can i fix this problem because I want to run the below code but there is an error ( poisson.sty not found) \documentclass{article} \usepackage{tikz} \usepackage{poisson} ...
55 views

### “Bitcoin accepted here”

\bitcoinacceptedhere Is there something like what appears above that causes a logo like this to appear in a document?
43 views

### octopus-graph tikz/pgfplots

i'm trying to get something like this: I have small dots and big dots, and some small dots are connected to one big dot. I can "plot" all points with pgfplots: \addplot[scatter, only marks, ...
2 views

### Modifying Part Style and Page Header in Memoir Class

I'm using memoir class and \chapterstyle{dash}. I want to modify page headers that show: Chapter title in the odd page header, page number on the right. Book title in the even page header, page ...
13 views

### Persistent draw color when using \def

Consider the following MWE: \documentclass[tikz]{standalone} \usepackage{tikz} \usetikzlibrary{arrows} \def\mwe(#1)(#2);{ \begin{scope}[shift={(#1)},rotate={#2}] \draw[fill=white] ...
421 views

### How to use special colour in LaTeX

I am trying to code the above picture, especially the dots inside the rectangle. This is my current code, but it does not look like the intended figure. How can I change my code to obtain the ...
60 views

### Graphing a sinusoidal function

I would like to plot the graph for y = |sin(pi*x)| on the interval -2.5 and 2.5. (The graph is on or above the x-axis, and both ends are at height 1.) TikZ plots a line through the origin. The label ...
50 views

### Typesetting hashtags with natural syntax

I'm using an online conversation in my document and I've made an environment to use for it. The thing is, there are many #hashtags in each post (that I'd like to color appropriately). To make it ...
26 views

### failed to find file .pdf perhaps it has been deleted

i'm looking for a solution to this the whole day and i couldn't find. When i "Build and View" my document, in the view i recieve the message failed to find file Thesis.pdf perhaps it has been ...
22 views

### Character with two colors

I realise that this is somewhat of a special question, but is it possible to have regular characters in formulas, where the left half is colored e.g. in red and the right half is colored in blue, ...
95 views

### Using pstricks, I need to created the following grid sheet, which fits well with A4 paper

Distance between any adjacent horizontal lines or adjacent vertical lines is 10 mm. The 2 vertical border lines are 1.0pt thick. The 18 vertical lines are 0.1pt thick. The 2 horizontal border ...
25 views

### How can I use this math mode pictogram (tree + leaf)?

In this document, right on the first page, there is an equation with a very nice pictogram where one might typically find a Latin letter. How did they do it? How can I replicate this equation in my ...
36 views

### Typing the Pinyin third tone accent for character that denotes “woman”

Who knows how to type 女 in Pinyin, utilizing a LaTeX command? That is curve tone and the two dots.
82 views
+50

### Miktex 2.9 pgfplots, circuitikz library collision problem

In my book, I use both libraries. After Miktex update yesterday evening (circuitikz ver 0.3 pgfplots 1.11), I have problem with compiling following code: \documentclass{article} \usepackage{tikz} ...
11 views

### Accented letters with IM FELL fonts

I am having an error compiling the following code with xelatex and lualatex: ** WARNING ** "seac" character deprecated in Type 2 charstring. ** ERROR ** Type2 Charstring Parser: Parsing charstring ...
57 views

### Beamer bug? Description with item width and overlay in beamerarticle

This MWE is really minimal. We make use of the {description} environment which in beamer takes two optional arguments: overlay specification, and item width. \documentclass{beamer} ...
16 views

### Weird symbol in white spaces inside listings environment

I get that symbol inside quotes in listings environment. It seems to appear only inside quotes.Outside of them it seems that is not happenning the same thing. Why do I have that problem and how can I ...
54 views

### Formula with numerator and denominator of a fraction in display mode [duplicate]

I have the following formula and I want the nominator and the denominator to appear in display style. I use \everymath{\displaystyle} so I don't understand why they are not in display mode. How can I ...
151 views
+50

### How to change the text font without changing the font for equations

How to change the text font in a document to "Times" and keep the font for equations unchanged (i.e Computer Modern)?
22 views

### How can I change the Hebrew font in cjhebrew?

The answer to be found at the fontspec link seems to me less than useful. Could you please write a snippet showing how to change the Hebrew (but not the English) font when I use the cjhebrew package? ...
20 views

### How to update \sectiontitle and \chaptertitle with \putbib and \bibliography?

Pagestyles are defined with titlesec. A two-sided template is used, and in the main pagestyle \chaptertitle is shown in the header of even pages and \sectiontitle in the odd ones. natbib is used to ...
15 views

### How to properly create an item in a .bib file for a press bulletin?

I'm working with WriteLatex and want to create an item in my .bib file; so I add the following to the file @misc{boletinDane2010, title ={Boletin de Prensa} author ={Departamento ...
7 views

### natbib, IEEEtran and alphanumeric citation: is there an IEEEtranSAN style available?

The natbib package provides three versions of the standard BibTeX bibliography styles compatible with author-year citations (\citet, \citeauthor, \citeyear): plainnat abbrvnat unsrtnat The ...
112 views

### Hebrew in lyx 2.1 (using MiKTeX 2.9)

Recently I've upgraded my OS to windows 8.1 and I had to reintsall lyx and LaTeX. After finished the installation, I ran the culmus-miktex-0.2.1 file but when I want to compile my document I get the ...
54 views

### I'm looking for a compact style for the whole document

I'm writing a summary of Russian grammar, just for myself. But the sections are short, so a large percent of the space is just headings and stuff. I'm looking for a compact style that will give me a ...
38 views

I have this array which is perfect, but i need to add some additional content to it, but i'm extremely uncertain about how to approach this addon. Here is my working code: \[ \begin{array}{c| ...
2k views

### Comparison: Sharelatex vs Writelatex

So far I didn't have the chance to use neither of these services. Before starting, I would like to hear your opinions. What are the advantages and disadvantages? Why should I choose one and not the ...
35 views

### How can I quote (small) parts of my document in itself?

In my research I have large pieces of text of which I like to quote some parts of it, without having to copy/paste and have duplicate pieces. I know I can do that with \include, but the need to have ...
53 views

### Bibliography: group references with same title; do not print title field if repeated (or empty)

I have the following MWE with my custom bibliography, but I find myself with many talks with the same title (and author) that I want to group together... I guess I would need to use \iffieldundef ...
12 views

### subcaption package changing algorithm2e caption position

I have a project which makes use of the subcaption and algorithm2e packages. For whatever reason, the subcaption package is causing the captions in the algorithms to be misplaced. Here we have a MWE ...
115 views

### Change to two columns

I have a paper written in LNCS style. Is there any easy way to convert it to a two-column style? Simply using /two-column doesn't work as the columns are narrow, lines overflow, and it looks terrible ...
109 views

### Huge Fraction that doesn't fit in page

I have a huge fraction that doesn't fit the page. I searched this forum and found only \begin{split}, or align*, etc but I don't think these are what I want. They split equations at signs, but in my ...
24 views

### Footnote after equation

Imagine I have an equation $$x=1+3$$ \footnote{Hello World!} How can I put the number of the footnote right beside the equation? I've tried doing just $x=1+3$ \footnote{Hello World!}, but then the ...
20 views

### ConTeXt: Macro within macro for URLs

Background Would like to define a base URL that can be reused by other macros. Problem Using the \goto macro requires a fully expanded URL. Minimum Working Example Here's code that illustrates ...
43 views

### Page numbers of included pdf

Is it possible to display the page numbers of included pdf file? Currently I have the following footer/header definition using fancyhdr %------------------------------------------------- % Header ...
32 views

### Windows Miktex can't find mathtools.sty

When I try to compile my paper I get the error: ! LaTeX Error: File mathtools.sty' not found. Other packages are successfully found and automatically installed, but mathtools.sty is not. I just ...
24 views

### In a package or parasitic class, when is it better to redefine a command and when is it better to define a new one?

When I'm working on a document for which I need special layout, I tend initially to accumulate a very long preamble. At some point, if I need to reuse similar layout regularly, I decide that I really ...
7 views

### Increasing the list of authors in the bibliography using Vancouver style

I'm using the vancouver style with Bibtex4word and for a journal we're submitting to they want 12 authors listed for each citation in the bibliography before using et. al if there are more. Currently ...
35 views

### How to get the active left and right margins to use them in a tikzpicture?

I'm trying to use the margins defined when geometry is loaded to draw several fancy section titles using tikz. In order to make \Gm@lmargin and \Gm@rmargin usable, I have to do ...
1k views

### Put parentheses around year in citation

I have the following Latex code, where I use biber and chicago style for citations: \documentclass[12pt,a4paper]{article} \usepackage[english,ngerman]{babel} \usepackage[utf8]{inputenc} ...
100 views

### How to produce dot between quantifiers

My professor uses dots between quantifiers, e.g., And my textbook has them like this: I tried Detexify on this, but it didn't work... does anyone know how to produce either of these bold dots?
29 views

### Using a switch to pass an option

I created a switch which is defined iff a new geometry should be twosided. Currently, my code looks like this: \ifdefined\@TwosideSwitch% \typeout{SwitchGiven!}% \newgeometry{twoside=true, ...}% ...
28 views

### consistent spacing using tabular/ minipage/ parbox

Even though I've read numerous threads on how to achieve consistent spacing, I still cannot figure out, why it doesn't work when using any of the macros \testD to \testG in the following example. ...
20 views

### scrbook class leads to bitmap font but bookclss doesn't

I'd like to use the scrbook class and included the Gyre Heros font but for some reason does it not lead to the desired output (i.e. it quite different from the output that created by the book class) ...
25 views

### Generate rows in table using \multido (or something similar)

Consider the following example: \documentclass{article} \usepackage{booktabs} \usepackage[locale = DE]{siunitx} %\usepackage{multido} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
17 views

### forbid page break after the title

I use mdframed for my theorems like this \mdfdefinestyle{theoremstyle}{% %adjustable lengths %inner margins innertopmargin=\topskip, % outter margins skipabove= 0.1in, skipbelow= 0.1in, ...
15 views

### How to have TOC line point to existing section

I'm in the process of developing a program that basically compiles a bunch of PDF files into 1 book and generates a TOC. Periodically, there are items that they want to appear in the TOC that point ...