0
votes
0answers
5 views

Place Logo Properly in BeamerPlace Logo Properly in Beamer with pgf

I try to custom my beamer presentation and I want place my logo in left in the frametitle. The best solution i found is here. Others solution are very complicate for a simple task (more and more code ...
3
votes
1answer
8 views

Can't escape curly braces in \lstinline

Upon trying to typeset the following TeX I get the error: Too many }'s. ...handleClick } >Button component} TeX: \lstinline{<Button onClick=\{this.handleClick\}>Button ...
1
vote
0answers
14 views

At the output the bibliography isn't displayed. Why?

I want to add the bibliography at the end of this article so I wrote the following code: \documentclass[chapterprefix=true]{scrreprt} \usepackage[utf8]{inputenc} \usepackage[english,greek]{babel} ...
3
votes
0answers
13 views

Why \moveleft does not contribute to width and \moveright does?

Consider example1: \setbox1=\vbox{ \moveleft 1pt \vbox{\hrule width 4pt height 10pt depth 0pt} \hrule width 4pt height 10pt depth 0pt } \showbox1 The output: \vbox(20.0+0.0)x4.0 ...
3
votes
1answer
8 views

problem with the cite at the bottom of the page

I am using Tufte-style template. When use a citation at the bottom of page, the cited text crosses the margin of the page. Here is the MWE: \documentclass[a4paper,nohyper]{tufte-book} %abstracton ...
1
vote
0answers
27 views

While downloading I get an error

While downloading MiKTeX downloading was not achieved and I get: "C:\Program Files (x86)\New folder (2)\miktex/bin\initexmf.exe" --update-fndb --admin --log-file="C:\Program Files (x86)\New folder ...
4
votes
2answers
46 views

Why is text being positioned above the table?

%---------------------------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS ...
3
votes
1answer
16 views

How to perform correct manipulation of child?

MWE: \documentclass[onecolumn]{IEEEtran} \usepackage{tikz} \usetikzlibrary{mindmap} \pagestyle{empty} \begin{document} \begin{figure}[H] \centering \begin{tikzpicture}[mindmap, grow cyclic, every ...
5
votes
3answers
57 views

Color merge from RGB specification

With the xcolor package one can define colors in many ways for example, using standard names, \colorbox{red}{...} Merging colors \colorbox{red!25}{...} \colorbox{red!25!blue}{...} Or from the ...
1
vote
1answer
27 views

Switching Chapter and Section titles

I am somewhat new to TEX and I am writing a book using a publishing framework which uses Xelatex and polyglossia. My book is divided into three major sections or sub-books and each sub-book is ...
2
votes
1answer
18 views

Defining subfamilies for a font

I wish to import from files a font family, which comes in extra light, light, regular, medium, bold and black. Instead of defining several different font names and choosing them as I need, it would be ...
3
votes
0answers
15 views

Unicode-math no bold math or greek letters [duplicate]

What could be causing this? I'm on Ubuntu 14.04 I've uninstalled the Ubuntu TexLive packages and installed TexLive 2015 directly, and just updated today with tlmgr I've tried a few different ...
6
votes
1answer
107 views

Matrix product illustration

I would like to write the presentation of the matrix product by putting the two matrices in diagonal, giving an easy-to-remember method to compute the coefficients. Wikipedia has the following ...
2
votes
1answer
16 views

Embed Latex equation in LyX

I would like to transfer the LaTeX: \begin{equation} W(\mathbf{F},\lambda_{\chi})=\min_{\textbf{R}\epsilon S^{2}} \end{equation} which gives the subscript {\textbf{R}\epsilon S^{2}} right under ...
3
votes
1answer
11 views

Repeat block without until (or blank line) using algorithm2e

I'm trying to format a "repeat forever" block using algorithm2e. I've found the \Repeat command but this prints an until at the end of my block. I can hide the word until using: ...
3
votes
1answer
91 views

What is wrong with this description list?

The below snippet is supposed to show a list of items and some associated values which I've stored as new commands. Unfortunately, what happens instead is a mess. I've included everything I think ...
1
vote
1answer
22 views

Highlight asterisk in lstlisting

I would like to emphasise the asterisk used in \begin{equation*} in lstlisting, and have tried using emph, also including the alsoletter makro. Why doesn't it work? \documentclass{article} ...
6
votes
1answer
28 views

Cannot declare molar units

I am trying to overwrite the small cap on \Molar to be a normal cap M and I cannot seem to change it. I have tried: \documentclass[12pt]{article} \usepackage{chemmacros} \usepackage{siunitx} ...
3
votes
1answer
37 views

`:` is set to `\colon`, but the spacing is still wrong

This question explains how to make : behave as \colon. Except that the solution in the most upvoted answer doesn't work 100%. That solution says to make : behave in such a way, one has to use the ...
2
votes
1answer
18 views

Spacing between custom verbatim environments

I have a document that uses multiple custom verbatim environments, created using the fancyvrb package. Spacing around these is controlled by my own code; I have disabled the spacing added by fancyvrb ...
3
votes
3answers
21 views

Specify distance from page margin to header with geometry

With geometry, the placement of the header is set by specifying the distance from the text body below to the header above with headsep: \documentclass{article} \usepackage[showframe, headsep = ...
4
votes
3answers
33 views

How to add \part only to TOC?

I wonder how I can add a \part entry to the TOC without any output in the the document itself. I actually got a nearly working version: \begin{filecontents}{chap1.tex} \chapter{Chapter} This is a ...
2
votes
1answer
32 views

Create sequence of dates in a table

I would like to create a sequence of dates with weekly increments, which should be shown in a table environment. I've been fiddling around with a code snippet posted in this forum (Generate a ...
3
votes
0answers
21 views

Navigation Tree: Subsections

Problem Good evening everybody. Calling the beamer-class. I'm using the Singapore theme. Is it possible to display not only the section but also the subsections within the navigation tree and ...
1
vote
1answer
11 views

multind.sty not found

I am on a Lubuntu 15.04 pc, texlive-full installed. I can't compile my file with \usepackage{multind} because multind.sty is not found. Does anyone know if it's possible to manually install this ...
1
vote
0answers
20 views

Pandoc breaks hyperlinks in LaTeX file conversion

I want to convert a (quite complex) LaTeX file to epub using pandoc with: pandoc -S file.tex -o file.epub I have not used markdown in the creation of the tex file, however. When I, now, check the ...
8
votes
3answers
97 views

Increase word space between words in small caps

With tracking activated for small caps, it can be a little bit hard to detect interword spaces. Cf. below. \documentclass{article} \usepackage{fontspec} \setmainfont{Libertine Serif}[ ...
3
votes
0answers
14 views

Is there a way to automatically force xticks on first and last data point in pgfplots?

I have created a custom pgfplot style which allows me to create line plots with the x axis being a time in hh:mm format. The data is loaded from .csv files. The automatic tick placement on the x axis ...
1
vote
1answer
30 views

Double positive x-axes plot

I'd like to draw a plot in which the coordinate system is split in two: the y-axis in the middle running from 1e0 (it's a loglog plot) and two x-axes running from the same 1e0 to positive values 1e3. ...
1
vote
0answers
25 views

Latex Tables with linear and non linear combination of coefficients

I am calculating some coefficients combination in Stata and I am trying to report them on LaTeX. As you will know, when you perform a linear (or a non linear) coefficients combination on Stata it is ...
5
votes
1answer
39 views

Changing the hyphenation style

I saw in an article (here on page 43, note 2, in french) an intersting way to hyphenate words. I thought it would be intersting, as an exercise, to try and reproduce it using XeTeX. It looks like ...
2
votes
1answer
14 views

How can I add table of contents, list of figures and tables in LYX file in order to get in PDF file

How can I add table of contents, list of figures and tables in LYX file in order to be shown in PDF file of my thesis.
3
votes
2answers
24 views

Right align footnote section rule

Here is my MWE: \documentclass[a4paper]{article} \usepackage{a4wide} \usepackage{xecolor} \usepackage{polyglossia} \usepackage{fontspec} \definergbcolor{titlecolor}{750000} \setmainlanguage{arabic} ...
4
votes
1answer
16 views

Can't get oldstyle figures in url with lualatex

The following works with xelatex: \documentclass{article} \usepackage{url} \urlstyle{same} \usepackage{fontspec} \setmainfont{Libertine Serif}[Numbers = {OldStyle, Proportional}] ...
2
votes
0answers
18 views

Biblatex linebreaks inside \cite

I'm currently confronted with some problems regarding linebreaks inside citations. I'm using biblatex with a biber backend. config: \usepackage[hidelinks,breaklinks]{hyperref} \usepackage{csquotes} ...
0
votes
0answers
13 views

How to get Unicode in code listings? [duplicate]

I want to use Unicode text (a mixture of cyrillic and japanese characters) in a code listing that uses default LaTeX fonts (in other words, source code fonts are left to default). However, for all ...
1
vote
0answers
20 views

Compile filename.tex file to pdf on terminal

I use a windows computer at school and I'm able to do it. Here's what I do there: type in Z: then type in cd myclasscode then i can finally put in latex filename.tex and so on and so on IT WORKS ...
3
votes
3answers
63 views

macros with multiple arguments in absence of some arguments

I would like to define a command with two arguments, say \mycommand{arg1}{arg2} in such a way that if the second argument is absent, then it takes the first argument in place of the second one, in ...
2
votes
2answers
24 views

greek capital letters not displayed properly in PNAS style

when using PNAS LaTeX template (here), Greek capital letters get rendered incorrectly. for example, \Phi(\vect{x}, t | \vect{x}_0) gets rendered as . i am using the following in my TeX source ...
3
votes
0answers
14 views

Why does \IEEEPARstart have conflict with \textcolor?

MWE: \documentclass[journal,twoside]{IEEEtran} \usepackage{color} \usepackage{amsmath} \begin{document} \textcolor{red}{ \IEEEPARstart{L}orem ipsum dolor sit amet, consectetur adipiscing elit. ...
1
vote
1answer
41 views

How can I make duplicate of the book? [on hold]

I am trying to make a duplicate of this book for personal reasons. Can anyone suggest what packages, style files (and any technical thing required) should I use?
5
votes
1answer
13 views

How to replace brackets with quotation marks in titles

I am working on a paper using biblatex-chicago and I get the titles of both article and inbook entries framed in those brackets: «» . The journal requires doble inverted commas in both cases. I ...
4
votes
1answer
63 views

Spiral on a truncated cone

I need to plot a spiral around an inverted truncated cone, starting and ending at the centre of both bases. Something like this: I've searched and found a similar solution, but for cylinders only: ...
1
vote
0answers
17 views

Package grffile not working consistently across machines

I have some latex code that uses includepdf and the grffile package. I use the grffile package to allow spaces in the file path of a PDF I reference. The code works on a desktop I have (i.e. the ...
2
votes
1answer
25 views

How to make xkeyval accept a value containing both \par and a comma

I am writing a package and I would ideally like to save long stretches of code using the key-value mechanism of xkeyval. That is, I want to be able to say something like \setkeys{foo}{mytext={This ...
0
votes
0answers
7 views

lstlisting indentation versus editor-formatting [duplicate]

Whenever I use the listings package to typeset code, I encounter the problem that the way lstlistings work collides with the formatting my editor likes (I use vim). For instance, see this code: ...
5
votes
3answers
87 views

Drawing a really large binary matrix as colored grid

I have a 50x300 binary marix, which I want to display as a colored grid. I tried the approaches of drawing a large binary matrix as colored grid which I like, but the approach using pgfplots table ...
3
votes
2answers
45 views

Interletter spacing in plain TeX

Is it possible globally to change the interletter spacing in plain TeX? (For some reason, the above is said not to meet some quality standard. Perhaps this helps.)
2
votes
0answers
21 views

Retaining chapter page headers with chapter*{}

My question is essentially a duplicate of this but for the book class (for which the solution does not work), namely: If I have an un-numbered front-matter chapter (i.e. \chapter*{A chapter}), how ...
2
votes
0answers
24 views

\include'ing a remote file

I am creating a small header file for students that they need to include in the preamble of their document. The changes are minor enough to not need a class file. However, I do not want them to ...

15 30 50 per page