# All Questions

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 ...
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 ...
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} ...
141 views

### How to forward a command parameter?

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 ...
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 ...
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 ...
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. ...
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 ...
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} ...
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 ...
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[ ...
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 ...
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. ...
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 ...
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} ...
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 ...
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 ...
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} ...
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 ...
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} ...
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 ...
51 views

### Beautiful Font - identification [duplicate]

Does anyone know what this font name is? I am trying to create something similar in latex
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 ...
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'$} ...
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 ...
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} ...
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} ...
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 ...
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 ...
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) ...
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]{% ...
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 ...
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 ...
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 ...
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 ...
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, ...
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} ...
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 ...
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 ...
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} ...
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}
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} ...
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 ...
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 ...
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 ...
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 ...
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 ...