# All Questions

5 views

### How to put citations in footnote using square bracket style?

I would like the simple command \cite produces an entry in the bibliography (at the end of the doc) and in the footnote, using the format: bla bla bla~\cite{myref} bla bla. whose result is: bla ...
6 views

### citing with natbib problems

You guys have been so helpful, so I would like to run just 1 last thing by you and then I will be out of your hair. I'm trying to cite using the natbib package and chicago bib style. I keep getting ...
10 views

### Modifications for labeling a triangle

I have a diagram that needs some modifications. The mark for the right angle and the label of $\theta$ are not in the right places. The arc indicating $\angle ACB$ is not in the place. The lengths ...
8 views

### Infinite canvas

It seems that all LaTeX formatting assumes we will ultimately print the document but if the goal is to publish online - under some circumstances, we might desire to have all the document in one ...
7 views

I'm just writing my thesis in Latex and I am having a problem with the pagenumber display. I want the headline to contain chapternumber, chaptername and pagenumber. The footline should be empty. An ...
9 views

### Should the date of the newspaper I mention be emphasized as the name of newspaper?

Maybe this question is off-topic but I really don't know which SE site I should choose to post it. Sorry about that. The question is that, when I mention the origin of an article in the footnote: ...
8 views

### Title page with the author name on the top left corner

I'm having difficulties to create a page title for my research paper which require this format: The first page (the top left corner) should contain the full name of the author(s). In the center of ...
9 views

### Prevent Texmaker from stealing focus after compiling a LaTeX document?

Each time I compiled a LaTeX document with Texmaker, the latter steals the focus. Is there any way to avoid that? I have several monitors: when Texmaker compiles a document on one monitor, I often ...
9 views

### convert gnuplot script to pgfplots using “raw gnuplot” option

I'm trying to rebuild a plot from "standalone" gnuplot with pgfplots using the raw gnuplot option. This is the gnuplot code which generates the desired graph: #!/usr/bin/env gnuplot set xlabel "Time ...
25 views

### vertical line in tabular and size

In the code below, how do I add a vertical line to separate the second column from everything to the right of it? Also, the content of the table is too wide horizontally. I can see though that if ...
41 views

### Tikz-picture - Fill area

I'm struggling drawing this picture: I used \documentclass[10pt]{article} \usepackage{ngerman, longtable} \usepackage{amsmath} \usepackage{amssymb} \usepackage{fancyhdr} \usepackage{pdflscape} ...
23 views

### How to put some commands written by a software's codes into Latex beamer?

I prepared a program written in GAP's envirounment. I'd like to put them all in one of my beamer pages exactly as follows: gap> z:=CyclicGroup(IsPermGroup,10);; n:=CyclicGroup(IsPermGroup,15);; ...
16 views

### Use of parenthesis/curly bracket in split environment: Error for curly bracket on opposite sides of \\ [duplicate]

Any help is most appreciated. Thanks! \documentclass{article} \usepackage{amsmath} \usepackage{mathtool} \begin{document} \begin{align} \begin{split} & v \cdot \left\{ Ax + b \\ & Cx - d ...
10 views

I'm using LuaLaTeX of latest TexLive 2014 on Windows 7. I want to overlap headers (page numbers) and documents. My code is as below: \documentclass[a4, 10pt]{article} \usepackage{fancyhdr} ...
17 views

### Latex Bibliography style and citation callout style

I'm currently busy writing my masters thesis with latex and I need a certain citation style. Therefore, I used an already existing default bibliography style provided by my university. However, the ...
36 views

### Tikz- complicated shapes as nodes

I am trying to reproduce the following picture In this picture, there are some shapes that are repeated. For instance 5, 6, 8, 10 and 11. My idea is to use ./style in order to define these shapes ...
31 views

### Not showing a and b for subfigures

I know there was a previous post about this but no matter the changes I make as shown in various posts, I can not get the caption to show a or b like it is suppose to. Instead I get Figure 1.1, Figure ...
23 views

### Trying to adjust margins and csquote is not working

I am trying to use wuthesis template to write my dissertation, but I am having trouble with the margins. The top margins are very large and the bottom margins are cutting off the page numbers. Also, I ...
30 views

### Labeling a line segment which indicates it is the sum of two smaller line segments

TikZ compiles the following code and renders a line segment with endpoints $A$ and $C$ and with a point $B$ between these endpoints. It also marks the length of $\overline{AB}$ as $x$ and the length ...
38 views

### What do \@mkboth and \markboth do?

What do the toc related commands \@mkboth and \markboth do?
21 views

### Can I create a zoomed-in rectangle between two seperate tikzpictures without the spy-function (<— actually, same function, different contents)?

I'd like to have the smaller rectangle on the right put as the magnifypoint. Explanation: The magnified part on the right essentially shows a magnification of the contents on the left, except not ...
21 views

### luatex and starting TeX macros which handle new line characters

This here is actually some kind of isolated follow-up question to Workaround for open lualatex bug in \scantokens? . I tried to use tex.print("<some tex macro>{<something with a newline ...
7 views

### Automated end-of-lecture Biblatex bibliographies in Beamer?

Problem description For a multi-lecture Beamer+Biblatex setup, I would like to automate the process of generating per-lecture bibliographies. I would like to achieve this by having the following code ...
10 views

### Odd italic format in beamer presentation slide

I am using the following code to produce my persian beamer presentation file. My problem is that, the formulas are printed italic but I don't want them to be like this. How should I correct them? ...
23 views

### Left alignment of a system of equations and extra vertical space between them

I am trying to obtain something like this \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
10 views

### Prevent Beamer from printing frame for empty Biblatex bibliography

Problem description In standard document classes such as article, Biblatex's \printbibliography conveniently does not create any output if there are no cited items, i.e., if the bibliography would be ...
11 views

### TikZ-UML Error When Creating Component Diagram

I use the latest version tikzuml-HEAD-2013-03-19.tbz of TikZ-UML from http://perso.ensta-paristech.fr/~kielbasi/tikzuml/src/. I try to create a component diagram like that: \documentclass{article} ...
28 views

### eco package causing illegal hyphenation

I'm using the LaTeX eco package to default to text figures/\oldstylenums throughout my document. However, for some strange reason it seems to be causing TeX to think it's okay to hyphenate within ...
26 views

### Nodes inside nodes and connect them

I am trying to draw multiple nodes inside nodes and connect the outer ones to create a flowchart. Since Im new to Tikz I used examples and tried to manipulate them for my issue. If there is a way to ...
36 views

### accuratelly place a node above and left of another node

I am trying to draw a box which is defined as a node, next to another node. My code is \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \tikzset{ pipe/.style = { ...
49 views

### design a style using tikz package

How can I use latex tikz package to design the style that is seen in the picture?
60 views

### Circled equal with same size as \oplus/\otimes with pdflatex

I am trying to make an equal circled of the same size as \oplus or \otimes, etc. I tried to use the solution provided here : How do I put a circle around an operator? However, the size of the ...
100 views

### can't understand why this simple macro causes complex error

I've written a book, and now I'm trying to produce the e-book using tex4ht. Adapting this post, I introduced the following macro: \newcommand{\gpifpdf}[2]{\ifx\HCode\UnDef{#1}\else{#2}\fi} Which ...
28 views

### Errors in table, missing \endgroup inserted <inserted text> \endgroup

Below is the latex example i am working on, it should generate two tables. One table with two columns, the other table is just one column. And i have a software program it makes any word in the table ...
72 views

### Cannot properly define an rgb color

I am trying to define an rgb color. More specifically I want to create this color which in rgb mode it's (98,190,177). I tried to define this color using the following code ...
42 views

### Short line in math expression?

I have a mathematical terminology, and I can not do it correctly using LaTex. The origin form is in picture below: My version is: The main problem is the line between a number and the word ...
26 views

### Best subfigure placement wrt length of subcaptions

My Problem is twofold: First i'm not sure what the established/best way is to place the captions in question. Secondly i don't know how to do implement my ideas with Latex. My supervisor ...
20 views

### How to set one move on one line in e.g. texmate?

A document set by using TextMatelooks good but quite dense. I would like to have only one move on one line, as you get in the older chess package by e.g.: \move e2e4 e7e5 \move g1f3 b8c6 Is there ...
51 views

### Using urw-garamond fonts in plain TeX

I am struggling with a font problem that I can't solve by myself. I almost always write my files with pdfLaTeX and the urw-garamond fonts from mathdesign. However I would like to produce the same ...
33 views

### Combining lmodern, charter and sourcecodepro fonts [on hold]

I know, usually you should avoid many different fonts but I'd be happy with the following configuration: Title, Chapter, Section, ... and Description labels should use bold Latin Modern Sans Serif ...
24 views

### How can I import matrix data (2d function) from matlab into pgfplots?

This question arised in Spectrum colormap for multiple curves, but since it is of general interest, I add a separate question and my answer here. Suppose you have a matlab figure which needs to be ...
19 views

### eledpar optional arguments in \pend

Currently I'm typesetting a document with facing pages. From time to time the text includes some figures, that need to be shown between the numbered paragraphs. In order to the fact that it would not ...
213 views

### Is it possible to compile hidden files?

(This question may make sense only in Linux.) I have the following simple file called .main.tex. Note that it is a "hidden" file because of its name. \documentclass[]{article} \begin{document} ...
71 views

### how to pass the content of the TeX variable to Lua

How can I pass the content of the TeX variable \jobname to a Lua variable? (I am using LuaLaTeX with the luacode package.)
19 views

### Changing the section and subsection font color in contents page in beamer

I want to change the section and subsection names in my contents page on beamer. Plz help me. Thanx in advance
57 views

### Compile Error: lualatex with PSTricks

I compile the file below with lualatex --shell-escape but I get the error : ! Undefined control sequence. l.14 \savedata ...
41 views

### Bibtex Won't Show the Author

My code goes like this: \documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in]{geometry} \usepackage{titlesec} ...
35 views

### Sorting references alphabetically

I am trying to use a modified (German) bibstyle from the American Economic Review (The original version can be downloaded from http://mirrors.ctan.org/biblio/bibtex/contrib/economic/aer.bst. I have ...
How to define a step function using Latex ? For example, The Dirichlet function: f(x)=1 if $x\in \mathbb{Q}$ and 0 if {x\in \mathbb{R}\\mathbb{Q}}.