1
vote
1answer
34 views

Error using inline preview in texstudio

I use texstudio as my editor and on one of my computers (the other one works fine) I get the following error message when doing inline preview (by highlighting text, right clicking and pressing ...
4
votes
2answers
3k views

pdfpages doesn't center pdf on page, using Thesis.cls

I am using the Thesis-template from http://www.latextemplates.com/template/masters-doctoral-thesis. I have several LaTeX-documents to include in the Appendix. The best solution seems to be compiling ...
43
votes
7answers
32k views

How can I crop included PDF documents?

I've got a PDF that is automatically generated from a certain piece of software, that I want to include in the report I'm writing. I'm using pdfpages which gets the job done elegantly, but the problem ...
2
votes
1answer
60 views

Header and text overlapping

How to avoid overlapping of the header and text? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \usepackage{multirow,tabularx} ...
5
votes
1answer
70 views

XeLaTeX can't turn off small caps

I found a weird issue when using the free typeface Fontin. \documentclass{article} % Default font size and paper size \usepackage{fontspec} % For loading fonts \setmainfont{Fontin} ...
1
vote
1answer
62 views

Failing to import into JabRef 3.0

I am not able to import RIS and also BIB files into my JabRef database or a new database. When I try to import an RIS-file I get the message "Wrong file format". If I try to do so with drag and drop I ...
2
votes
1answer
37 views

Extending/modifying commands from cool package

I started to use the cool package for my maths, especially for integrals, but also for trigonometric functions. I would like to get things like a sine-square function, for example, using a code like ...
-1
votes
0answers
83 views

Change color in Latex

How can I change the color of a sentence in latex ? I also want to write my university seat number and name at the bottom of my page. How do I do that? P.S. : Noob at Latex.
2
votes
1answer
21 views

Customising Syntax Highlighting in TeXmaker

I'm wondering if there is any way to add new syntax highlighting patterns to TeXmaker. I've been using TeXworks for years and I love that special characters $ & { [ etc. are highlighted ...
6
votes
1answer
41 views

l3doc adds unwanted backslash in margin box of {function}

I'm using l3doc for documenting some packages (I know it is not officially stable, but I like it …). I came to the problem that {function}{<list>} adds a backslash for every item in <list> ...
1
vote
1answer
435 views

MiKTeX Setup on Windows - Error 404

I'm trying to install MiKTeX on Windows 7 (32 bits) and I get this error message: http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/win32/miktex/tm/packages/miktex-urct-bin-x64.tar.lzma (expecting ...
2
votes
0answers
11 views

Numerals to ordinals in JabRef jstyle layout file

I have created a .jstyle layout file for JabRef (I am using JabRef version 2.11.1) for formatting citations for the journal, Florida Entomologist (FL_Ent). Although the current (25 March 2015) ...
1
vote
2answers
35 views

How would I get custom-colored equation numbers as simply as possible?

In a continuation of efforts to create a complete SAE technical paper class file, I need a little help finding the easiest way to create colored equation numbers. In my class file, I already define ...
3
votes
1answer
29 views

How do I improve the quality of png images when converting to html using htlatex?

I have tried to convert my LaTeX document into xhtml running the following commands (found here): htlatex source.tex tidy -asxhtml -output seconddraft.xhtml firstdraft.html Everything displays ...
1
vote
0answers
27 views

LaTeXIt Image Width

I'm not much of a LaTeX jockey, but I use it to typeset equations via LaTeXIt. I'm noticing that LaTeXIt will cut off the typeset image if it exceeds a certain width - I've looked for a document ...
2
votes
0answers
63 views

Reference in Latex

For my thesis references, When I run latex, in pdf appear like below Aliabadi, M. H. The Boundary Element Method, Applications in Solids and Structures, Vol. 2, J. Wiley, New York, 2002. 4 ...
2
votes
2answers
66 views

Centering a enumerate list label

In this code as here: \begin{enumerate}[label=\bfseries Exercise \arabic*:] \item 5 + 7 = 12 \item 9 + 1 = 10 \item 2 * 2 = 4 \end{enumerate} I want the text Exercise (with its number) ...
0
votes
1answer
31 views

stfloats, twocolumn, figure* broken with late pdfTeX 1.40.16

I tried to build some older document with a new pdfTeX version and encountered very strange errors of figures getting lost. I was able to produce the following minimal example: ...
18
votes
1answer
151 views

Summary of TeX Capacity Limits

I seem to often run into capacity issues and have been upping the limits each time. There are several question on this site pertaining to these. However, there seems to be some conflicting information ...
1
vote
0answers
29 views

Does a Latex to Kramdown converter exist?

I'm building a blog using Jekyll and hosting on Github Pages. I have a bunch of LaTeX documents that I'd like to upload as blog posts, but they contain a good deal of formatting that I'd have to go in ...
1
vote
1answer
100 views

Part of a chessboard - tikz

I'm a real beginner in using tikz and I would like to create something like this: Is there a fancy/easy way to create something like this?
3
votes
2answers
85 views

Package forest: align all leaves at same level, coloring a path from root to leaf

I have a dense tree. I drew it using the forest package. The code is given below. It may be inefficient, but I am looking to move forward with the minimum code disruption possible. The questions I ...
1
vote
1answer
17 views

Intext citation in IEEE format

I am trying to cite my bibliography in IEEE format using the \cite command. However, the generated output appears like (1) rather than [1]. Here is a snippet of my file: \usepackage[]{natbib} ...
0
votes
1answer
49 views

Displaying theorems from external document

I created another thread asking two questions. I can't edit that thread, accept the answer, or respond to thank the person. Sorry about this. I want to be able to display theorems from another .tex ...
2
votes
2answers
29 views

tree (sequence) diagram in Asymptote

I want to draw tree diagram with Asymptote. But have some problems. I searched and found 2 hints on the web. http://asymptote.sourceforge.net/FAQ/section4.html ...
204
votes
20answers
105k views

Is there any way to do a correct word count of a LaTeX document?

Often assignments (or even papers) have a word count limit. That is not a big deal when using Word, but I don't know how to do that using LaTeX. My solution has been so far to compile the document and ...
2
votes
1answer
24 views

Two list of figures

I'm trying to get two separate lists of figures. Ones are the figures containing some plots created using tikzpicture like: \begin{figure} \begin{tikzpicture} \begin{axis} ... ...
4
votes
1answer
69 views

Selecting a subset of questions among a long TeX file

I have a big list of questions and solutions and I want to select a subset of them to use in exams. I am using documentclass exam. See the following example \documentclass[12pt]{exam} ...
2
votes
0answers
41 views

Filling an area between curves [duplicate]

I've recently started to write a Calculus material, topic "Area Between Curves". I'm trying to fill the area between those graphs as shown in the picture, but I haven't had success: ...
6
votes
1answer
151 views

I want to reset the question numbering under each section?

I am using exsheets to type questions and answers. When I start a new section, the question number continues from the previous one. How do I reset it it and make it start from number 1 again? Here is ...
5
votes
2answers
234 views

LaTeX symbol for gas station pump?

I may be able to use this Unicode character for gas pumps with XeLaTeX, but I am looking for a package that provides such a symbol. Or any other native LaTeX approach?
2
votes
2answers
41 views

Change the color of the chapter number (Oxford Thesis Template)

I'm writing my PhD thesis and I am using the Oxford Thesis Template. I would like to change the color of the chapter number (which is grey) in the beginning of this chapter. You can find the Oxford ...
2
votes
0answers
37 views

How to let minted break across pages but keep the caption together with the end of listing?

I want to create a listing using minted that has background colour and can be split across pages. The usual advice in that case is to use the mdframed environment and I have written a command that ...
1
vote
1answer
28 views

How to avoid ltablex from splitting a table?

I'm using the ltablex package because I have some large tables which have to splitted on multiple pages. But I have much more small tables (with tabularx), which don't need to be splitted. But they ...
1
vote
1answer
70 views

Error when adding xmp metadata with xelatex and pdfx

I want to create a pdf according to the PDF/A-1b standard with xelatex and pdfx but I get an error message now when I add my metadata. Using XMP template file: pdfa.xmp ! Argument of " has an extra ...
6
votes
2answers
82 views

TikZ custom “to path” with curved edges

I am trying to define a style that sets to path such that a “curvy rectangle” (manifold representation) is drawn when I put \draw (0,0) to[manifold] (5,3). I have manually made the shape by ...
0
votes
0answers
29 views

A problem with google web font in MathJax [on hold]

I am using MathJax on my website and it renders too much vertical space between lines with inline equations. I found out that is it the web font fault. When the page body is set to google web font ...
2
votes
2answers
320 views

listings - highlighting additional keywords inside own delimiters (like Doxygen annotations)

According to listings - use different style for normal comments /* and doxygen comments /** I used listings package to set style for /** Doxygen comments */ as user defined delimiter moredelim = ...
2
votes
1answer
47 views

How to wrap lines in a bulleted list correctly

I am new to all this. I am sure there is a solution.
5
votes
2answers
78 views

Tikz node does not appear in forest

I have a command for putting a text in a rounded corner box with bg-color. It uses tikz node: \newcommand\mybox[1]{\tikz[overlay]\node[fill=blue!20, rectangle, rounded corners=2pt]{#1};} When I use ...
2
votes
1answer
105 views

Recreate Kanye's new album cover in TeX

Kanye West just published the cover for his new album. To me, it looks like a figure with captions that went horribly wrong. Can somebody recreate this image in TeX?
1
vote
0answers
31 views

How to define a \widebreve command?

I would like to define a \widebreve command to employ with large symbols (such as $M$, or letter combinations such as $AB$) in math mode. Does someone know how to do it?
2
votes
1answer
83 views

How to snap a float to grid

I have a two-column document with some column-spanning floats. The problem is that floats essentially reduce the page size when present, and the remaining page size does not necessarily correspond to ...
3
votes
2answers
55 views

equations automatically aligning to the left, how do I centre them?

I was under the impression that equations align to the centre. I'm using a pack \documentclass [twocolumn, final] {svjour3} which I am guessing is changing that. So for example this: ...
2
votes
0answers
21 views

Add custom page number when citing bibliography entry

Suppose I have the following bibliography set up in my LaTeX document. \begin{thebibliography}{9} \bibitem{Cite1} Peter Jackson \textit{Some random article name}. Journal name,\textbf{29}, p339-349, ...
3
votes
2answers
60 views

Conflict between tex4ht and biblatex-chicago

I cannot get tex4ht to work with biblatex-chicago. Compile the MWE below with pdflatex generates the following errors: (/usr/local/texlive/2015/texmf-dist/tex/latex/biblatex/lbx/english.lbx))) ...
1
vote
1answer
29 views

Drawing a table using multirow and multicolumn

I would really like to draw a table like on the photo. Everything I have tried does not work. Maybe I do something wrong right at the beginning. I only got the table you can see in the code below. ...
2
votes
1answer
53 views

Problem with pgfplots and histograms

I just played with @Jakes pgfplots binomial examples from http://tex.stackexchange.com/a/198575/4011, however the histogram seems to be shifted to the left or to the right depending on the whole plot ...
27
votes
4answers
4k views

How can I have two or more distinct indexes?

I often want to have more than one index in a longer LaTeX document. For instance, I might want a general concept index, an index of named persons, and an index of symbolism. How can I have two or ...
5
votes
2answers
128 views

How I can decorate LaTeX wedding card with colors and watermark images?

I am creating a wedding card using LaTeX. But my card only have text, just like wedding card. Its very simple. How I can give nice look to this wedding card? How I can add colors and watermark image ...

15 30 50 per page