4
votes
1answer
77 views

smartref package conflicts with babel option frenchb

I've unsuccessfuly searched for an answer to this problem. I'd like to use the smartref package together with babel with option frenchb, but there seems to be a conflict : command \chapterref in the ...
2
votes
0answers
42 views

Font Info Program Name Clash Probem [closed]

I have had problems getting the autoinst program to install an OpenType font family in my TeX/LaTeX tree. After making desperate and frustratingly long efforts I discovered that my system had two ...
11
votes
2answers
520 views

Editing partly Beamer header (with existing theme content)

MWE : Considering the following minimal working example : \documentclass{beamer} \usetheme{CambridgeUS} \begin{document} \section{Section1} \subsection{Subsection1} \begin{frame} \end{frame} ...
5
votes
1answer
141 views

How to forward a command parameter?

I am defining a new command and a flag with: \newcommand{\setActorsStyle}[1][1]{ \ifnum#1=1 \setActorsStyleColor{} \else \setActorsStyleBW{} \fi } \newcommand{\flag}{0} Calling the ...
2
votes
1answer
330 views

Problem in Algorithm Code [closed]

I am trying to complete my research paper in LaTeX but getting following three errors. I have tried so many things from the internet but to no advantage. Could any one help me please? 1) File ...
3
votes
0answers
227 views

Tooltip with glossary items

I'm currently writting a big document including a glossary (\usepackage[toc,nomain,nonumberlist]{glossaries}) Is there an easy way to create automatically tooltips for the entries? So if you hower ...
12
votes
1answer
214 views

Misplaced Accents in Cyrillic Text

In educational material for the Russian language and linguistic literature the need to put accents on Cyrillic vowels often arises. However when I tried to do this with luaLaTeX the accents where ...
6
votes
3answers
205 views

What's the best way to provide a verbatim command for additional active characters?

I've noticed that the \verb command does not react well to addtional active characters. E.g. \documentclass{minimal} \begin{document} \catcode`\/=\active \verb§/§ \end{document} will fail. ...
0
votes
1answer
355 views

Authors on the same line, change after authblk is loaded

Without loading the authblk package, if a document has 2 authors they are put next to each other (unless wide) on a titlepage. After loading the authblk package, the 2 authors are above each other. Is ...
4
votes
1answer
108 views

How to get \part and paragraphs (text) on the same page (memoir class)?

Does someone know how to prevent the "\cleardoublepage" after each part in a memoir class document ? I don't have the slightets idea how to do it. \documentclass[a4paper,12pt]{memoir} ...
3
votes
1answer
834 views

Non numbered chapter* header issue

I have a problem with the headers on the second page of my non-numbered chapter. Below is my minimal working example. Everything works but in my Introduction chapter (if I put it without a number as ...
5
votes
3answers
340 views

tikzpicture: “rounded corners” and “west arc=none”

here's my MWE: \documentclass[a5paper]{book} \usepackage{tikz} \usetikzlibrary{positioning,shapes.misc,calc} \begin{document} \begin{tikzpicture}[overlay,remember picture] \node[ ...
0
votes
1answer
79 views

Apply macro to .tex file and get a new .tex file

Are there a preprocessor for TeX, like for C/C++? Are there a way to apply a macro to .tex file in order to generate new file? For example, I have macro: \renewcommand{asd}{some phrase here} I ...
6
votes
2answers
1k views

Tikz-Connecting nodes with multiple lines

I am trying to reproduce the following image I made in "Power point". Although, there is no difficulty in designing the boxes, I find it rather hard to properly position the red and black lines. ...
1
vote
2answers
218 views

biblatex custom reference

I've been searching for a way to create "Custom References" with biblatex, but haven't found a solution to my problem. Among "normal sources" like Journal Articles, I need other references where I can ...
3
votes
2answers
131 views

How to put a margin in a page?

Today I am willing to know how to put a border in a page? \documentclass[10pt, twoside]{book} \usepackage{amsmath,amsfonts,amssymb} \setlength{\topmargin}{-.3in} \setlength{\headsep}{0in} ...
4
votes
1answer
644 views

Problems with XML Syntax Highlighting

I want to highlight syntax in XML files. I found a nice definition from krlmlr which I changed to my needs. It works fine for Android's xml files: But the result of a xml file with values in ...
5
votes
1answer
157 views

How can I use \SI from siunitx inside \replaced from changes?

I'm trying to rceord some changes using the changes package - I've already done a lot of the text, and had to work around display maths but I've got a simply value typeset using siunitx, and changing ...
1
vote
1answer
129 views

Why can't I vertically align these two matrices?

Why won't these matrices become left-aligned? \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
15
votes
2answers
465 views

Ideas for transposing/splitting a TIKZ figure from A4 article to beamer presentation

Context. I am having this kind of tikzpicture in my article which I would like to include in a beamer presentation : Please note that the figure was simplified, since groupI represents a group of ...
1
vote
1answer
105 views

natbib problem with Inspire bibitem

Hi I go a bit of a problem (I'm helping a friend in writing her thesis). I'm almost there, only that it's not compiling here's the (example) code \documentclass[11pt]{book} \usepackage{geometry} ...
2
votes
0answers
377 views

Best practice for ggplot transparency in pdf figures

I lost a couple of hours because of few transparent figures which Adobe Professional couldn't flatten to print (it crashed in the process). I wonder if there's any trick to produce PDF figures with ...
1
vote
0answers
51 views

Beautiful Font - identification [duplicate]

Does anyone know what this font name is? I am trying to create something similar in latex
4
votes
2answers
347 views

Double tagged equations?

In the following example the inequality (2.26) is obtained in the environment equation, but the equations (2.27) and (2.28) by dirty tricks, destroying the structure of the document. This is because ...
9
votes
7answers
789 views

How can I draw circled integers with the same size by TikZ?

I used the statement \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=2pt] (char) {#1};} } to draw some circled integers. Ex. \circled{$X'$} \circled{$1'$} ...
0
votes
1answer
193 views

Font Issue — Times and Computer Modern work but nothing else

This code seems to work: \documentclass{article} \usepackage{times} \begin{document} This is a test. \end{document} %End of document. But, I have had no luck with any fonts other than Times ...
1
vote
1answer
55 views

fitting a wide table in centre of a page

I want to fit this table in the centre of a page. I couldn't find any way to fit this table on the page. Can anyone suggest a solution? \documentclass{article} \usepackage{booktabs} ...
1
vote
1answer
133 views

Section referencing disabled by \renewcommand

The sections in my article have to be re-styled as follows : \renewcommand{\section}[1]{\medskip \addtocounter{section}{1}\flushleft \textbf{\Roman{section}. \ #1}\medskip \setcounter{subsection}{0} ...
3
votes
1answer
206 views

Problem with option “noclearpage” of \indexsetup, imakeidx

I'm using the package imakeidx in order to generate the indexes for my document, but i get an issue when i use the option noclearpage being that the index is not printed (or it don't print all entries ...
6
votes
2answers
492 views

Why do I have to fake Texlive package in Ubuntu?

I followed this answer like a parrot and installed Texlive on my Ubuntu. However, I don't understand why I have to create a fake package to trick Ubuntu into thinking that texlive is installed. What ...
1
vote
1answer
106 views

Tabs Affecting Compilation of SWeave Code

The following SWeave code, compiled using WinEdt 8.1 with the Sweave plugin produces a nice R image: \begin{figure} <<fig=TRUE, echo=FALSE>>= set.seed(123) x <- 1:10 y <- rnorm(10) ...
1
vote
1answer
152 views

Colored mark in margin notes in the middle of the \marginparsep

It's code, thanks for @Harish Kumar, \documentclass{book} \usepackage{mathtools} \usepackage{xcolor} \definecolor{background}{RGB}{255,255,170} \usepackage{empheq} \newcommand*\mybox[1]{% ...
2
votes
1answer
195 views

Get the current citation counter value

I'm working on a paper where the default citation style is a super script. But in some parts of my text i like to put something like this: ....then more info see Ref[23]..... so in my doc with the ...
2
votes
0answers
29 views

Looking for explanation of pstricks measurement units [duplicate]

I am looking for explanation of how pstricks deals with measurement units. I am trying to write my custom postscript-only drawing commands, to be used within the \pspicture environment. For ...
6
votes
1answer
513 views

listings line numbers work with one lstlisting but not another

The first listing has its line numbers ignoring the stepnumber while the second is just fine. Guess it might have to do with using math mode but mathescape applies to both, so if that is the case it ...
0
votes
0answers
16 views

TeXshop Won't Compile My Indices [duplicate]

I am using multind. I am typing a large set of notes. I want to have two indices, one called "Index" the other "Notation". The .idx files exist for both of them after compiling. My problem is that ...
3
votes
2answers
173 views

Line breaks for cases environment in two column

I have case environments that breaks into the other column when used in two column. How can I break the cases to prevent the intrusion? This is the source code. \documentclass[11pt, ...
3
votes
1answer
324 views

openright sections in article class

Is there a way to achieve something like openright, but for sections in the article class? The MWE would be somthing like this, real simple: \documentclass{article} \begin{document} ...
4
votes
1answer
5k views

pgfplots: two y-axis with three plots and one legend

After googling about my problem, I came up with this two year old question here on TeX.SX. I adopted the example from there having two plots in the first axis-environment and one plot in the second ...
4
votes
1answer
87 views

How can the last updated packages get propagated earlier than the first updated packages

I often experience the following phenomenon. For example, from texnik.dante.de/tex/generic I noticed that pst-plot gets updated on August 24, 2014 pst-poly gets updated on August 28, 2014 and ...
2
votes
1answer
59 views

Using skip (glue) with pgfmath (truncating plus/minus parts from a glue length)?

Consider the following MWE: \documentclass{article} \usepackage{tikz} \newlength{\tlen} \newlength{\tlenB} \begin{document} \setlength{\tlen}{2cm} \typeout{check 1, tlen is: \the\tlen} ...
0
votes
0answers
230 views

How do put keywords in Texmaker with MikTex

How do put keywords in Texmaker with MikTex. \documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}
3
votes
1answer
66 views

Different fnmark style in footer and text

I'm using the memoir document class and redefining fnmark like this in my preamble: \documentclass{memoir} \usepackage{footnote} \usepackage[bottom,hang]{footmisc} \usepackage{xcolor} ...
0
votes
2answers
462 views

hyperref and \renewcommand\appendix

hyperref messes up with \renewcommand\appendix. This even tho \appendix is renewed exactly as it is defined in report.cls (and works with hyperref !) The problem: .toc file 4th entry of \contentsline ...
1
vote
0answers
35 views

LyX 2.1 Report Class Changing Part to Other Text When Using non-TeX fonts (via XeTeX/LuaTeX) [duplicate]

I am using LyX 2.1 with the document class "Report". I am writing my thesis, which consists of three essays. How do I change word "Part" for each section to "Essay"? I have not been able to find an ...
0
votes
0answers
190 views

Indentation in latex - beamer

I'm making some slides where I also show some sample code. I'm using lstlisting to format the code, but it seems it is not doing the required indentation. What am I doing wrong here? I have a minimal ...
6
votes
1answer
325 views

How to draw cubes in PSTricks with dashed hidden lines?

I'd like to draw cubes with PSTricks (pst-3dplot) as shown in the related question Draw a prism in TikZ or PSTricks like these two with correct hidden lines, but with the code given there (Simple ...
3
votes
2answers
441 views

Change edge color of pgfplots patches

I am plotting patches and do not want them to be colored according to their z-values. Instead, I want to define the colors by myself. Here is an example: \addplot3[area legend,patch,forget ...
2
votes
1answer
65 views

Constrain a float to be positioned on right page only?

How can I constrain a float to be positioned only on a new right (recto) page and never on a verso page? I'd like behaviour similar to \begin{figure}[p] But as if there were a positioning option ...
2
votes
3answers
255 views

Linking the section titles to toc using only hyperref

How to link section titles back to toc? I want to use only hyperref and not any toc related packages (answer with titlesec can be found here) I can do the hypertarget to toc sections (answer provided ...

15 30 50 per page