All Questions

32 views

MiKTex on Windows 10

I have just downloaded and installed MiKTeX. When I tried to update from nearest package repository I get "Sorry, but something went wrong: The remote package repository is not online. You have to ...
158 views

Beamer: Prevent/disable appearing individual subsection titles before actual content

Recently I started to question my decision to enable the appearance of individual subsection titles before actual content. I still want to show the outline of the upcoming section once before the ...
17 views

2 MetaPost questions

This is my MetaPost input file: prologues := 3 ; outputformat := "%j-%c.eps" ; input piechartmp; beginfig(1); SetupColors((0.7, 0.7), this, this) ; SetupPercent(this, "%") ; Segment(64, ...
80 views

LaTeX can not find pdfTeX

After updating system operation my LaTeX file gave me this error You need a TeX distribution like MacTeX installed on your system to typeset your document. When a TeX distribution is installed you ...
6 views

How do I insert a \in cross reference across components?

I am using ConTeXts project format, with each chapter using its own .tex file. In chapter 6, I want to refer to [fig05] in chapter 9. Looking at the wiki for \in there's no discussion of this. But ...
22 views

How to define a command for putting periods in abbreviations (initialisms)?

Is there an easy way to define a command that takes a word (an initialism) and inserts a period after every character? That is, I would like to define a command \init{abc} that outputs "A.B.C." ...
12 views

Persistent Underfull \hbox Warning

I can't fix this no matter how I set the parameters \pretolerance, \tolerance, and \emergencystretch. Minimum Working Example with downloadable font using xelatex: \documentclass[10pt,twoside]{book} ...
31 views

Draw a class diagramm in black and white

I want to draw a class diagramm (and later on other diagramms) in black and white using LaTeX and Tikz-uml as the default color is a kind of yellow. Is there an easy parameter to attach to the ...
34 views

Macro for creating trees for B-series as math symbols

I am writing a paper on numerical solutions for ODEs. For the representations of B-series I want to use binary tree-like symbols. I know how to produce them with TiKZ; however, just as in the given ...
51 views

Using Lyx on Fedora 20: what does this error mean?

I get this error when trying to compile a pdf with Lyx 2.1: This is pdfTeX, Version 3.1415926-2.6-1.40.14 (TeX Live 2014/dev) (format=latex 2015.4.2) 28 JUL 2015 12:45 entering extended mode ...
425 views

Fake small caps with UTF-8 on pdfTeX

I am using arev package for a scientific LaTeX article (compiling using pfdlatex) and would like to use small caps for certrain proper names. On the internet I found a code ...
2k views

“%” symbol in BibTex - Latex

I want to refer an url which contains % symbols, using BibTex. If I just write %, the rest of the line becomes a comment. If I write \%, then the slash also appears. @MISC{ref, ...
1k views

Draw a turkey, a pumpkin pie, or any other object traditionally associated with Thanksgiving

Using TeX- and LaTeX-related tools and packages, how would you draw a turkey, a pumpkin pie, a pecan pie, a gravy boat, or any other object(s) traditionally associated with Thanksgiving?
22 views

Pgfplot Legend Type

I need a legend type given below. I want to write parameter values just once. How can i get this type legend. code example \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} ...
71 views

Adjusting space when using the “lettre” class

I am quite new in writing letters with LaTeX, and I am wondering whether there is a way to adjust the space between the end of the sender's e-mail address and the subject of the letter (see picture ...
21 views

\appendix command adds a period after section number before it was called

I am using the scrartcl class. To make an appendix with tables and figures I am using the command \appendix. After it, I simply continue using \section to make sections. I noticed that if I use ...
22 views

BibTeX error when trying to compile an entry

@ELECTRONIC{ios9, author = {{Apple Inc.}, month = {September}, year = {2015}, title = {iOS Security}, url = {https://ssl.apple.com/business/docs/iOS_Security_Guide.pdf/}, timestamp = ...
9 views

Algorithm2e writing simple pseudocode with multiple functions

I am new at algorithm2e and I'm really struggling with the most simple things. I would like to write an algorithm (pseudocode) with a few functions that call each other. For now, I have this minimal ...
125 views

GNU Readline- like history, for the latex terminal shell?

I find myself more than often willing to use the (pdf)latex shell, and \typeout commands there directly - unfortunately, there is one deal breaker: there is no command line history. I think that in ...
43 views

Option clash for package hyperref

I am trying to use hyperref in my tex file.. here is a minimal working example.. which gives me the option clash error \documentclass[12pt]{report} \usepackage{hyperref} \hypersetup{ ...
34 views

Center last line of the paragraph; but I don't like small lines

Attention: This is an advanced TeX problem. I usually dislike lines that are too small, and so I tend to add \parfilskip=2em plus 0.6\textwidth to my documents (apart from small lines, this also ...
55 views

I'm using the 'xgreek' package and compiling the document with XeLaTeX (xetex); I can't find out why toc, date etc. seems corrupted (should be in greek) ...
23 views

Get rid of Page number in “minipage”

I need help, i'm writing my thesis and i can't eliminate the page number in the "front page". Here is the code: \documentclass[a4paper,12pt,operight,oneside]{book} ...
22 views

Of course, one can include individual elements into a table of contents by inclusion of addcontentsline at the element to be included. I'm seeking the opposite: I want to prevent selected individual ...
8 views

29 views

change formatting of the index

I am formatting a book which has a fairly extensive index and I am trying to figure out how to change the amount of indent that long lines wrap to. The author wants to cite entire book titles which ...
110 views

I have some (probably) really simple questions about a few adjustments in a scrbook-documents. Let's take the following minimum-example as the basis for my questions. Working minimum-example: ...
194 views

scrbook - How to add one horizontal line above and one below the chapter-entry without (!) using titlesec?

I want to add one horizontal line above and one below the chapter-entry as well. Before using the scrbook-class, I used this simple solution made by titlesec-package: \newpagestyle{headrules}{ ...
39 views

framebox and margins

I have 2 minipages, the second of which is \frameboxed. The \framebox command seems to push the minipage out into the right margin, as you can see. [This is not the same as a previous question: ...
62 views

Koma script line above and below chapter title

I'm using koma script and I want to add a line above and below the chapter title. So the upper line should be between the Chapter and the title. I did this with \documentclass{scrbook} ...
222 views

Beamer Presentation References slide can't allowframebreaks and have \frametitle

I am writing a Beamer presentation and my references are too long for one frame. So I tried to use [allowframebreaks], but then I get the TeX capacity exceeded error if I have a \frametitle. I can ...
73 views

Chapter style for a book of complied articles

Say each chapter is an article (manually copying or typesetting the article). Naturally, article title will be used as chapter title. How do I define sections for subtitle, author, date, and source ...
16 views

Define Assumption/Theorem… “numbering text” in Lyx

Is there any way to redefine Assumption numbering in Lyx? For example, in the following example, the Assumption numbering is "2*". Can I do this just for once instead of redefining it globally over ...
13 views

Restart footnote counter with apa6

I would like to reset the footnote counter to 1 after using some footnotes in the title page. I though the solution would be to simply \setcounter{footnote}{0} but it does not work. MWE below. ...
20 views

Variable in Barcode

I would like to include a barcode in my TeX document. Therefore I chose the answer to Is there a good LaTeX package for generating barcodes? Since I want to use random numbers, I need to put them into ...
51 views

I am using latex to hyperlink my citations in an article. The problem is that it links figures, equations and sections numbers but not citation links. Here's a MWE, \documentclass[letterpaper, 10 pt, ...
14 views

How to make numbered and ordered references for a paper to be submitted to a Springer journal?

I have a bibtex file like following: @inproceedings{NWS-2003, Author = {W.Nejdl and M.Wolpers and W.Siberski and C.Schmitz and M.Schlosse and I.Brunkhorst and A.Loser}, ...
63 views

PDFlatex not converting eps to pdf ANYMORE

I observe a very strange behaviour with PDFlatex. I have recently used the beamer to create a presentation. The last compilation (with PDFlatex) was done on the 9th of April 2015. Today (July 2015), ...
349 views

cite references in the text by superscript numbers and listed at the end in order they are cited in the text

How I can cite references in the text by superscript numbers and listed at the end of the paper in the order in which they appear in the text e.g Engel KH, Heidlas J, Tressl R. Food is wonderful, I ...
343 views

Problems with mixing Icelandic and German with LuaLaTex

So what I am trying to do is to use the letter-classic class with LuaLaTeX (This is LuaTeX, Version beta-0.80.0 (MiKTeX 2.9) (rev 5238) (format=lualatex 2015.11.10) 25 NOV 2015 09:30) as included in ...
960 views

Draw tally marks using PSTricks

Inspired by Paulo Cereda's question here, I would like to draw tally marks using PSTricks (or TikZ, if no one can help with PSTricks). I have no idea how to start, so I cannot even present a try ...
7 views

Lists with multiline elements to iterate with foreach

I want to have a list of elements that may contain new lines on them. For example, \def\mylist{ test, test with enter, end } However, if I try to iterate over that list with \foreach i get a ! ...
6 views

EPS images are not placed in the correct position when one converts dvi to pdf

I compile a document in latex with WinEdt 5 and MikTeX 2.9. I have already read eps images turned out to be shifted in pdf file So I checked several things: 1.- The bounding box. I used epstool with ...
47 views

Kile project setup bug

I tried to make a project setup in Kile, making the XeLaTeX command output directory ../output as an experiment. It 1) didn't work and 2) can't be changed back. Now whenever I try to run the command, ...
7k views

How should one maintain and update a MiKTeX installation?

Every once in a while after updating MiKTeX, the installation gets into an inconsistent state. This might be a problem with the packages (an example is described in this question), but sometimes ...
33 views

Unable to insert PNG file

I'm trying to insert an imagine into my text document. What I've got so far is: \graphicspath{C:/Users/James/Documents/LaTeX} \begin{figure}[p] \includegraphics{Coil} \end{figure} But I can't ...
15 views

Picture wrapped using minipage affects next page text

I am new to LaTeX, with help of some other. I found the following LaTeX code to wrap a figure into a paragraph. \pichskip{15pt}% Horizontal gap between picture and text \parpic[l][b]{% ...
27 views

Center first line of a table

I'm working with \begin{tabular}{lll} \textbf{text} & \textbf{text} & \textbf{text}\\ &&\\ . . . &&\\ \end{tabular} Since lll puts everything at the left. What's the way to ...