4
votes
3answers
129 views

Symbol for not conditionally independent

I have previously used some code from here to produce a symbol to represent the conditionally independence of some variables. Does anyone know a method for generating a symbol for not conditionally ...
3
votes
1answer
58 views

User-Defined Document Templates

When writing homework sheets, I make use of a template whose preamble incorporates all of the LaTeX goodies that I typically require: packages, page parameters, user-defined commands and environments, ...
1
vote
0answers
18 views

How to suppress multiple authors harvard style

I writing an entry for a journal publication that has its own documentclass. I am using the package: \usepackage{harvard} And style: \bibliographystyle{dcu} When I cite an author: blah blah ...
1
vote
0answers
21 views

pst-solides3d Installation/Use Isuues

first time user, having trouble getting pst-solides3d to work, hoping somebody has some easy advice. I use TeXShop and my package is installed through MacTex. I've installed the pst-solides3d package ...
4
votes
4answers
87 views

Hiding description part of item in description environment

How can one hide/display all descriptions in a description environment at the same time. \documentclass[]{article} \begin{document} \begin{description} \item[Keep This] Discard This \item[Keep ...
1
vote
0answers
19 views

Stretchable \leadsto [duplicate]

I'd like something similar to \xrightarrow and \xleftarrow but for squigy arrows \leadsto in LaTeX. I need to do this because I sometimes have to overset the \leadsto with some equation/label that can ...
3
votes
0answers
19 views

post-process cell content in one column based on another column

I am trying to do something quite similar to this post: pgfplotstable: Conditional post-processing of cell content on a per-column basis However, I'd like to post-process the column based on the ...
1
vote
1answer
20 views

Making the subscript under the summation [duplicate]

I'm writing some formulas inside a tabular. My formulas have summation but the subscript is showing next to the summation not under it! How can I make it under it? Example (j is next to summation!): ...
5
votes
2answers
55 views

Multiline regression equation in Latex

Noob here. I'm trying to put together a multiline multivariate regression equation in Latex and am having some issues. $ {Unit.Sales_t} = \alpha + \beta_{1} Date_{t} + \beta_{2} Cable.TV_{t} + ...
4
votes
3answers
42 views

Figures on two pages next to each other

I have a number of figures that I want to have next to each other. Since they do not fit well on one page, I placed them on two pages. Is there a way to make sure that the figures are next to each ...
2
votes
1answer
23 views

Moving arrows and nodes in tikzcd for Mayer-Vietors sequence

I encountered the problem, that for the direct sum, I want the arrow to go down, starting from the first summand, and not from the middle. No Problem, I can xshift the arrow. But what about the target ...
3
votes
0answers
35 views

What is the correct load order for hyperref

I got an error with egreg's solution when loading hyperref and could produce the following MWE to demonstrate it: \documentclass{article} \AtBeginDocument{\bgroup} \AtEndDocument{\egroup} ...
1
vote
1answer
31 views

Unable To Display Image using Fly-Latex

I have setup a Fly Latex server which is running perfect. Now, I want to add images to it and whenever I add the image name using proper syntax, I always end up getting a box with the image name ...
2
votes
2answers
57 views

“Runaway argument?” error with \NewEnviron

I have two files. Basically, the main file just loads the environ package and inputs the secondary file. The secondary file creates an environment that basically does nothing, and creates one instance ...
4
votes
1answer
29 views

How to set one header for each page using multicols

I want to use multicols in my document and also having a small box on each page (upper left) to be drawn automatically. I already tried \AtBeginPage hooks but the box didn't print at proper ...
3
votes
0answers
28 views

\SplitArgument with underscore [duplicate]

Is there a way to use \SplitArgument macro with the _ sign? The following example don't works. \documentclass{article} \usepackage{expl3,xparse} \ExplSyntaxOn \NewDocumentCommand{ \testone }{ ...
0
votes
1answer
28 views

Metapost won't compile from the command line

I just downloaded MiKTeX and started to learn Metapost. I created the text file example.mp and went to cmd with command "mpost example" and it says: "I can't open file 'example' " I know that it ...
2
votes
1answer
27 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
1answer
56 views

TikZ: ordinary arrow tip on double line

I like the ordinary arrow tip that you get in TikZ from \draw [->] (a) to (b);. In my document I have lots of ordinary lines like this, and also lots of doubled lines like \draw [double,->] (c) ...
0
votes
0answers
12 views

How to prevent font size in condition equation from getting changed [duplicate]

Below is a snippet of my latex source that prints an equation. In the attached image output, I see a significant decrease in font size in the part of the equation that is represented as in the ...
5
votes
3answers
111 views

Define stretchable shading

I would like to define horizontal shading, that could be stretched depending on needs. What I did to far is this \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...
47
votes
18answers
3k views

LaTeX vs Word; improvements of LaTeX over the years [on hold]

When comparing MS Word vs LaTeX the proponents of Word often say that many advantages of LaTeX over Word from say 1997 disappeared over the years as Word evolved to the current 2013 version. For ...
1
vote
0answers
19 views

LaTeX/MathJax in Google sites help [on hold]

Could someone provide me step by step procedure on how to include TeX equation in my Google site? I am not familiar with the technicalities of HTML or web-browsers and so on. I found this website with ...
0
votes
0answers
30 views

How to correct figure placement? [duplicate]

I've placed two figures in the same heading Specification and Design but when I compile the document in TexStudio, the second graphic Proposed physio application prototype system architecture is shown ...
0
votes
0answers
30 views

How to disable showing log on terminal in latex [duplicate]

How do I disable showing all information to the terminal? Is possible to only show errors not log,warnings etc.?
0
votes
0answers
22 views

Table error: Not in outer par mode

I'm using Latex and Sweave. The example below is a MWE of my .Snw file. \usepackage[utf8]{inputenc} \usepackage[portuguese]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{colortbl} ...
2
votes
1answer
25 views

Style Pygments at PythonTeX

Can I use style pygmentize with Pygments at PythonTeX. Let MWE like this : \documentclass{article} \usepackage{pythontex} \begin{document} \begin{pygments}[style= murphy]{python} % murpyhy is style ...
3
votes
1answer
32 views

Set PGFplots coordinate label using ifnum

I can't overcome this little nasty issue. Using \ifnum I set labels position around the coordinates in my pgfplot. This works fine but : I am only able to test if variable \coordindex is greater or ...
0
votes
0answers
37 views

custom table of contents using tikz and tocloft

I have using tocloft and tikz for creating custom table of contents. Please find the my MWE below: \documentclass{book} \usepackage{tocloft,refcount} \usepackage[colorlinks,linkcolor=black]{hyperref} ...
2
votes
1answer
53 views

Floating text in XELaTeX

I have the following section header which uses two different font sizes. I'd like to add a series of 2-3 vertical lines of text off to the far right, anchored to the top of the section's bounding ...
4
votes
1answer
32 views

Remove leading and trailing whitespace on Chapters in memoir

I am pretty new to Latex so apologies if this is a simple question. I would like to reduce the amount of whitespace that surrounds a chapter title. Here is the chapter section (please note it is a ...
3
votes
1answer
95 views

Arithmetic in tikz coordinates (parentheses)

I want to use parentheses in coordinate calculation in tikz. There should be a simple way, but I couldn't find it. For example, \def\x{10}; \draw (0,0) -- (1+1/\x,0); this works fine. But, ...
0
votes
0answers
32 views

Latex code for polynomial spaces used in finite element methods [duplicate]

What is the latex code for the space Pk, I mean with a double vertical bar ?
6
votes
1answer
169 views

Is it possible to test whether small caps are available with the current font?

Is it possible to test, in the document body, whether small caps are available with the current font (both for pdf(la)tex and xe(la)tex)? What I'd like to do is something like: \usepackage{xifthen} ...
1
vote
0answers
34 views

\.{I} in springer gets mangled in when bbl is produced [duplicate]

I have cited authors whose first or last names start with the capital i in Turkish \.{I}in the BibTeX file. I am using spbasic.bst and natbib BibTeX produced .bbl file with \{I} instead of \.{I}. ...
1
vote
1answer
23 views

Minitoc top align

When I apply minitoc and the table of contents spill over to the next page, it automatically fills the entire page instead of being aligned to the top. \documentclass[12pt]{book} ...
0
votes
0answers
18 views

How to write citation in Harvard style and numbered referencing sorted in alphabetical order? [duplicate]

I want to write journal article which requires Harvard style citation but numbered referencing sorted out in alphabetical order. MWE is \documentclass[a4paper,times,12pt]{article} ...
2
votes
1answer
37 views

Aligning header to the right in ConTeXt

I am typesetting a novel in ConTeXt and one of the things I was in need was a way of typesetting headers for scenes. A scene as I understand it, is simply a couple of lines which separate paragraphs, ...
0
votes
0answers
10 views

lhs2tex include file extension

We are using lhs2TeX in a big project. Thus we have many (executable) documents. We have a common .sty file and we also have a common file in which we keep all the often used lhs2TeX directives e.g. ...
1
vote
1answer
31 views

How to put a full citation in the text *without* adding an entry to the bibliography

I'd like to include some full citations in the text of my document, using BibTeX. The bibentry package provides this. However, I would like not to have these items also appear in the bibliography. ...
1
vote
1answer
18 views

Biblatex error can't use file + pdf

For my bibliography, I'm often getting an error message like: Package biblatex Warning: BibTeX reported the following issues (biblatex) with 'Olevsky2000': (biblatex) - ...
3
votes
1answer
41 views

Checking the mainmatter

I need to check where the text (from package .sty), if it is in the mainmatter section, then include some headers \pagestyle{LL}, if the other then \pagestyle{plain} or some other. Construction ...
1
vote
0answers
22 views

natbib=true with Biblatex gives brackets when command \citetext{\citealp{}} is used

I'm using biblatex with natbib enabled. I would like to insert some text into multiple citations using \citetext as: \citetext{\citep{Ginsburg:1988ie}; but see \citep{Allik:1991ft}} which gives ...
1
vote
1answer
22 views

Extra horizontal lines in tabularx package

When I use the tabularx package to generate a table, this happens: \documentclass [12pt]{book} \usepackage{tabularx} % for stretching tables to page width \usepackage{multirow} % for multiple ...
1
vote
1answer
53 views

examination paper keeps answer's space white

I make an examination paper template, the paper contains the questions and answers, a switcher is defined for showing on/off answers. it gives all when switcher is on, otherwise only the questions ...
7
votes
3answers
169 views

How can I format the formula

Hi I need to give the syntax of a formula as a figure. How can I format it \begin{figure}[h] Formula $\to$ PrimitiveFormula $\vert$ (Formula Connective Formula) $\vert \neg$ Sentence $\vert$ ...
-1
votes
0answers
93 views

How to create this type of logo in latex? [on hold]

Dear friends, How to create this type of logo in latex kindly help me. (Inside hexagons put images or letters)
3
votes
2answers
89 views

Align Multiple Equations with multiple expressions

Here what i have done so far. I want the middle space to reduce a bit. \documentclass[10pt]{article} \usepackage{amsmath, amsthm, amssymb} \begin{document} \begin{align} \Vert\mathbf{R}\Vert_F^2 ...
2
votes
1answer
104 views

Is LaTeX commercial free? [on hold]

I'm writing some PDF for a commercial company. I use XeLaTeX to produce the PDF. Currently they ask me to change to MS Word because they have buy the licence. Does the LaTeX have commercial ...
0
votes
0answers
30 views

Change Bibliography Title using Natbib, Polyglossia, BibTeX, and XeLaTeX

I'm writing a document in Hebrew, but my references are entirely in English. Because of issues with text alignment in RTL languages, the bibliography is contained in an English block: ...

15 30 50 per page