4
votes
1answer
173 views

Trying to create a shopping list template, need guidance adjusting line spacing

I'm trying to get in the habit of planning out my meals more, and was looking for a template I could use to do so in LaTeX, but I couldn't find anything. What I did find was an already-created pdf ...
0
votes
0answers
47 views

Navigation Bar in Beamer not working using ps2pdf

Using the minimal example below, the navigation bar works fine when i use LaTeX=>PDF but not when LaTeX=>PS=>PDF. Any ideas why that is so? I use ghostscript 9.14 (windows 64 bit) to convert from ps ...
6
votes
1answer
176 views

Drawback of using a using a new command instead of \begin{something}?

Is there a drawback of defining and using a \newcommand instead of \begin{something}. e.g. if I use \newcommand{btkz}{\begin{tikzpicture}} \newcommand{etkz}{\end{tikzpicture}} \btkz \node{Hello ...
10
votes
3answers
793 views

Drawing a isosceles triangle on Cartesian plane

An isosceles triangle is to be drawn on the Cartesian plane. The two legs of equal length are to be in the first and second quadrants. (The code that I have gives angles of the two legs as 41 degrees ...
7
votes
1answer
192 views

How should I create complex objects using xtemplate?

Consider the following trivial example: \documentclass{article} \usepackage{xtemplate} \ExplSyntaxOn \DeclareObjectType { test } { 10 } \ExplSyntaxOff \begin{document} oh, nose! \end{document} ...
1
vote
1answer
93 views

Remove numbers in bibliography

I want to remove the numbers in the bibliography. For example: FERREIRA, L. P. (Org.). O fonoaudiólogo e a escola. São Paulo: Summus, 1991. without number. I am trying \bibitem [] {Askey}, but ...
3
votes
2answers
109 views

Master label and sublabels for an equation with multiple lines?

Is it possible to label an optimization problem with a master label, as well as to label each line with a sublabel? For example, I want to label the optimization problem as (AP), but I also want to ...
4
votes
2answers
2k views

Making MiKteX pdflatex on Windows available to cygwin

I currently have a project with a workflow that uses pandoc in its Makefile to convert text from Markdown to LaTeX to PDF. This requires that a LaTeX engine be present in my path, or specified with ...
1
vote
0answers
46 views

How can insert a full-width listing in a two-column document? [duplicate]

I'm new to LaTeX; I'm using IEEE format. How can I effectively add Java code snippets in one full-width column?
1
vote
1answer
99 views

Variable length blocks and long itemize

I have defined two block environments, one with fixed width, the other with variable length (the second based on a definition here). Generally things work. However, when I have a long line in an ...
2
votes
0answers
63 views

key [turn] doesn't [closed]

According to the manual (http://www.ctan.org/pkg/pgf p. 142) the following code is sound \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) -- (1,1) -- ...
3
votes
1answer
170 views

Sidecaption figure caption placement

I have some L shaped SCfigure. Is there a way to optimize the figure caption position? The space where the caption could extend is marked with a star in the example below. Here's the relevant MWE ...
0
votes
1answer
155 views

Problem, header location and different page in one page

My code is this \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{showframe} \usepackage{multicol} ...
2
votes
1answer
162 views

how to ensure no overlap between arrows and text in a commutative diagram?

Consider the figure below \documentclass{article} \usepackage{amsmath} \usepackage{tikz-cd} ...
1
vote
1answer
194 views

Need help formatting moderncv \cventry

I am working on a CV in latex and for the most part I have achieved what I am trying to accomplish but for the life of me I cant figure out how to correctly format what I am going after. Specifically, ...
8
votes
5answers
677 views

Draw a vertical line over the entries of a column in an array

I'd like to draw vertical/horizontal lines over the entries of a column/row in an array. I find the method to draw horizontal lines at Draw a horizonal line over the entries of a row in an array. But ...
1
vote
1answer
198 views

alignment problem with multicolumn in table (with dcolumn)

According to this question One header for all subtables: Correct arranging of Columns I am creating a table. Everything works fine except of two things: 1) When I use multicolumn over multiple columns ...
2
votes
2answers
249 views

Is there an Elsevier LaTeX2e book class?

I am interested in evaluating LaTeX2e book classes used by specific book publishers. I would like to lay my hands on the LaTeX2e book class, if it exists, for preparing book manuscripts for ...
2
votes
1answer
43 views

need help splitting enumerated lists across columns to denote different execution paths.

I would like to be able to split lists such that there may be multiple paths that get to multiple ends, like the example below. Is there a clean way to do this or something similar? 1. i have a ...
6
votes
2answers
235 views

text in commutative diagrams

How can I replace letters with text or say a text box. Consider the following example. As you might notice in the output, the text is not quite okay. Is there a way to correct it please? ...
4
votes
1answer
377 views

Lstlisting: width of background box

I'm trying to modify my listing environment in a way that the background color for the listing is expanded over the whole width of the page. So no white border left. Is this possible? I tried doing ...
1
vote
1answer
117 views

Citing multiple chapters in the same book under the same reference number

I'm using bibtex and [super,comma,numbers,square]natbib to manage my bibliography at the moment. I've got a single book from which I'd like to cite multiple shorter passages, but I'd prefer to not ...
8
votes
1answer
173 views

When author field is empty, do not put colon after prenote in authortitle-comp

Preemptive note: This is not a duplicate of Empty author field in BibTeX. I am experiencing a weird thing with the authortitle-comp citation style where, if the author field is empty in a ...
4
votes
1answer
144 views

a column is composed of three parts

I needed to do a table with 4 columns.The first has 2 cells. the second has 4 cells. The third is split into three different things. And, the fourth is split into 3 different things. I know how to do ...
2
votes
0answers
280 views

Is there a current bibtex file for CSE citation style?

The journal article should look like this: Pensole G, Gissi C, Lanave C, Saccone C. 1995. Glutamine synthetase gene evolution in bacteria. Mol Biol Evol. 12:189-197 Longer journal titles ...
2
votes
1answer
81 views

\newenvironment does not work

I have created a new environment using this commands: \newenvironment{eqs} {\begin{subequations}\begin{align}} {\end{align}\end{subequations} } I would like to combine subequations and ...
8
votes
1answer
92 views

Adding color package destroys listing centering

I am using @egreg's answer to make listings centered: \documentclass[a4paper]{book} \usepackage[T1]{fontenc} \usepackage[ hang, small, it, hypcap=true ]{caption} \usepackage{fancyvrb} ...
2
votes
1answer
133 views

Customize Bibliography layout with biblatex

I'm in the final stages of formatting my dissertation, and I'm having some trouble meeting the picky formatting requirements with biblatex. I'm required to have a cover page before the bib, with the ...
5
votes
2answers
293 views

Matrix is too small, how to make it bigger?

I am trying to make the following matrix bigger since the elements do not fit quite well inside of it. I don't know why.. \documentclass[11pt,a4paper,oneside]{report} % KOMA-Script book ...
4
votes
1answer
169 views

What exactly do the parameters in tikz' \draw-command mean and how do I draw a “T”?

I have a serious problem right now understanding what the parameters of the draw command mean. For a document about neural networks I want to make an example of a system detecting different simple ...
1
vote
0answers
97 views

How can $if$ and $else$ both be true? [closed]

I am looping through authors from YAML, but allowing for a standard block in my template. My author block looks like this: \author{ $for(author)$ $if(author.name)$ ...
1
vote
0answers
330 views

Latex distribution new installed, error undefined control sequence always occurs when moderncv is used [closed]

I installed protext distribution on another pc and tried to edit my cv. Unfortunately this error message does appear and I do not know why? *geometry* driver: auto-detecting *geometry* detected ...
0
votes
1answer
82 views

Menu Selection in LaTeX [closed]

I want to create a menu selection for different documents, what I mean for example is to run latex over the terminal, and the terminal prompt you if you want to create a diploma, a letter, a book, ...
2
votes
1answer
153 views

MiKTeX Options submenu is greyed out in WinEdt 6.0

I have included the package mtpro2 in my latex document using \usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} as recommended here. The main reason is that I need very wide ...
4
votes
2answers
139 views

Chapter Roman in tableofcontents

I try to change number of chapter to CHAPTER I,II,III in contents and it is done. \documentclass{report} \usepackage{tocloft} \addtocontents{toc}{~\hfill{\small Page}\par} \AtBeginDocument{% ...
3
votes
1answer
52 views

Extra space not wanted at the end of a title page

I did a title page using the titlepage environment and used \vfill between the entries (for instance name, title, date, etc.) so that they would be equally spaced and the whole title page would fill ...
4
votes
1answer
222 views

Curved text within a curved arrow

I am trying to get the text that I place inside a curved arrow to curve with the arrow. I have the following code that generates that given picture, but I wonder how I can get the text to curve with ...
4
votes
1answer
81 views

Remove lettering for references with same first author, different second author, and same year

I have 2 references with same first author but different other authors and same year (2006). Currently, these entries are appearing as 2006a and 2006b in my bibliography and in-text citations. I ...
4
votes
1answer
103 views

\setlength not working

I am having trouble with setting space before and after a table. Here is my code for a ten-column table: \begin{tabular}{cccccccccc} \toprule .. .. \bottomrule \end{tabular} As you can see, it ...
4
votes
1answer
174 views

3d plot of a surface with nonrectangular domain

I need to make a 3D plot of a step function For example, suppose that I want to plot the function f:[0,1]x[0,1]->[0,1] given by: f(x,y) = 1 if x < y^2 and f(x,y) = 0 otherwise I would like to ...
4
votes
1answer
181 views

Exercise list using enumitem: how control indentation and labeling of sublists?

For a book project, I want to define exercises in each chapter, having printed labels like Exercise 1.1 and TeX labels like lab:1.1 that can be referenced as "see Exercise \ref{lab:1.1}". [I've read ...
4
votes
1answer
1k views

Setting background color of minipage without overflow

I would like to set a color to the leftmost minipage in the following code: \usepackage{xcolor} \fcolorbox{red}{gray}{ \begin{minipage}{0.33\textwidth} some text \end{minipage} } ...
4
votes
1answer
104 views

Page number shifted to the left

I am writing a report with different geometry settings for the title page, so after finishing the latter with \end{titlepage}, I specified the new settings for the rest of the document using ...
0
votes
0answers
42 views

Calculus on Manifolds font [duplicate]

What is the font used in Calculus on Manifolds (Spivak)? This question has already been asked, but not answered. Also, where can I get it (including summation symbols, parentheses, etc.)?
0
votes
0answers
37 views

fancyhdr clearing first page of a chapter [duplicate]

Hi have already a working fancyheader, but it is also showing on the chapter beginning which I want to avoid (see attachment). \pagestyle{plain} % reset page numbering to 1,2,3,.. ...
0
votes
0answers
36 views

Creating self notes while preparing a manuscript (Yellow block of text in between the normal text) [duplicate]

I am writing a pretty long report (more than 100 pages) and at times I need to keep track of several things to do in a particular page, or section, or chapter. What I currently do is that I keep a ...
7
votes
4answers
380 views

Why do my arcs end at the wrong node positions?

I am trying to plot some arcs using tikz and the package tkz-euclide. However, it seems that the arcs do not end at the points where I want them to end. For example, consider the following code: ...
0
votes
1answer
252 views

bibtex file exported by Zotero contains bad character

I use biblatex with biber. My bibliography is automatically exported by Zotero. My editor is texmaker on debian. Unfortunately characters are included into the bib file latex is unable to decode. I ...
8
votes
1answer
229 views

Use non-breaking space after name initials with biblatex macros

I want to enforce biber/biblatex to place non-breaking spaces between initials and last names of authors. Example: \documentclass{article} \usepackage[backend=biber,natbib=true]{biblatex} ...
0
votes
0answers
56 views

MacTeX 2014 update changes gap between paragraphs in output

I updated my MacTeX to the 2014 version. If I now compile the same .tex file, it gives me a different output, in specific, it reduces the gap between two paragraphs (see the added picture). How can I ...

15 30 50 per page