2
votes
2answers
44 views

Linguistics with straight lines

I know that syntax analysis can be done in Latex using using TikZ, but the tree-structure that produces isn't really used in my country. Here, we mostly use straight lines instead of hierarchy trees. ...
1
vote
1answer
18 views

Reliance on “default” ligatures (!`, two hyphens, two straight apostrophes, etc.)

A number of symbols seem to be normally invoked through ligature mechanisms. (Correct me if I'm wrong.) Let's have a look at which ligatures normally exist in encodings/fonts: true ligatures (for ...
0
votes
0answers
4 views

Tikz plot polar equation with foreach

Im trying to animate a polar equation using beamer, i couldnt find anything related to my problem here or on Google so my last chance is to request some help. I tried to take out the domain command ...
0
votes
0answers
3 views

Which math font is this?

I'm trying to find out what font this is. It seems to have support for math mode.
2
votes
1answer
15 views
2
votes
2answers
34 views

Drawing vertical hierarchical n-ary tree in tikz

I am trying to draw a simple vertical tree to represent a hierarchical partition of a graph in communities. I have written some code to draw it in tikz, but I am not very satisfied of the result. My ...
4
votes
0answers
66 views
+50

Is there a smart solution to fix the precision issue for atan?

\documentclass[pstricks,border=12pt]{standalone} \SpecialCoor \psset{unit=.25} \def\Atom#1{% \begin{pspicture}[dimen=m](-12,-12)(12,12) \pstVerb{/AA 1 5 atan def /RR 26 sqrt def} ...
36
votes
3answers
4k views

How to create Highlight Boxes in LaTeX?

I am writing an Article in LaTeX. Please suggest me how to create a highlight boxes like the ones shown below in LaTeX:
0
votes
0answers
6 views

Suppress month and day for journal articles and maintain for a newspaper articles

I haven't found a solution yet for this problem. I want to suppress month and day (if present) from all journal articles in bibliography but I at the same time I want to indicate year, month and day ...
0
votes
2answers
33 views

bibliography style file for Audio Engineering Society (AES) convention

EDITED: Is there a bibliography style file for Audio Engineering Society (AES) conventions (like a .dtx or a .bst file or something)? Or alternatively, is there a way I can create my own that takes ...
2
votes
1answer
11 views

How to change the size and type of font of \replacecmpd in chemnum 1.0

First of all I am new to asking questions here. Second, I am writing a document where I need to import an .eps file to have my scheme. My document is set to use Times New Roman at 12pt, but I want ...
2
votes
0answers
27 views

Help creating 3D solids of revolution in pgfplots?

I have done a lot of plotting in 2D using pgfplots but I am new to the 3D portion. I am attempting to illustrate a solid of revolution. For example, I have the area under the curve y = x^2 + 1 on the ...
1
vote
0answers
11 views

How to include the title of the website in bibliography

I want to include the website title in my bibliography. In the bibtex file (created by Zotero) the website title is stored as journal. \RequirePackage{filecontents} \begin{filecontents*}{mybib.bib} ...
3
votes
0answers
16 views

Does \\* within footnotes have any effect?

One is taught that \\* is an alternative to the line-breaking \\ that tries (often unsuccessfully) to inhibit a page break. Normally \\* would be used in ordinary ("body") text. (And I hereby ...
15
votes
2answers
232 views
+50

Why does PGF/TikZ 3.0 draw my simple layered graph as non-planar by default?

I have two questions: If I’m reading §30.4 “Crossing Minimization” of the PGF/TikZ 3.0 manual correctly, the layered graph drawing algorithm should have crossing minimization enabled by default. So ...
0
votes
0answers
32 views

Is there a way to compare the specific features of table packages? [duplicate]

I'm trying to figure out the strengths/weaknesses and benefits/drawbacks of the various table packages available. I very much like threeparttable, but I need to have at least one multi-page, 90° ...
3
votes
1answer
22 views

Biblatex and ACM Proceedings bibligraphy style

I would like to use biblatex in order to control for the amount of information which is outputed in the bibliography (e.g., doi, issn, urls) but the problem is that the original ACM Proceedings format ...
1
vote
1answer
4 views

Koma script captionbeside topbeside bug?

Code based on the example of scrguien 3.12 (2013-12-19) page 122 gives bad result. Code: \documentclass[captions=topbeside]{scrbook} \usepackage[english]{babel} \begin{document} \begin{figure} ...
5
votes
3answers
17k views

Caption on tabular environment

I have got codes like the following (generated by Kile). How can I add a caption. I guess I should have used the table environment. Is there any solution now? ...
3
votes
1answer
25 views

How to include un-numbered sections in additional ToC?

This is a follow-up question to: Contents page in two different languages Now with a working second language table of contents I have tried including parts of the article such as the table of ...
6
votes
1answer
32 views

Two identical diagrams inserted with subcaption box come out at different scales

I have two diagrams that are 100% identical except for a red line in the other one. However, when they are included in a figure as two subfigures with subcapionbox, the one with the red line is ...
6
votes
1answer
73 views
+50

Are the TikZ libraries cd and external incompatible with one another?

Is there a way to use the TikZ libraries cd and external together? This does not work: \documentclass{article} \usepackage{tikz} \usetikzlibrary{cd, external} \tikzexternalize \begin{document} ...
2
votes
2answers
21 views

tabular & multirow: taking a multirow back to a single

I have a table that I needed multirow for say column 2, but for column 3, I am putting the best result from column 2. \documentclass{article} \usepackage{tabu} \usepackage{multirow} \begin{document} ...
0
votes
0answers
5 views

using Lyx template problem

I am using lyx with one of the springer template called svjour3, I have a problem here, with that template, as i wanna use two columns except the abstract part, meaning that i want putting the ...
0
votes
1answer
31 views

How to Left-align first line in a paragraph, right-align others

I'm trying to typeset a song and for cases where one verse is longer than a line, I'd like to have the first line left-aligned and the second one right-aligned. Is there any way to achieve this ...
2
votes
1answer
27 views

Error when trying to typeset resistances in circuitkz

I get an error called \ProcessOptions\relax. I don't have any idea what could it be. I guess that maybe spanish babel gives problems. \documentclass[letterpaper,11pt]{article} ...
6
votes
1answer
19 views

Collecting environment content with support for xparse arguments

I'm trying to create an environment which uses xparse style arguments but I have to be able to use the whole environment content in the environment definition, e.g. as an argument. Ideally I'd like ...
2
votes
0answers
22 views

alternate lefthand/righthand whidth and check odd page in tcolorbox

I am creating a new environment using the tcolorbox package in the define options pos=t,b,r,l and lwidth and rwidth for margins, using the scheme key=value of pgfkeys. My idea is to create two new ...
3
votes
2answers
62 views

How to easily use UTF-8 with LaTeX?

It's probably a stupid question, but I cannot find any easy answers online, and the answers are sometimes contradictory. I am writing a document that uses a few strange alphabets. I want to use some ...
4
votes
2answers
221 views

Modifying (i.e., partially overriding) microtype's character protrusion settings for specific characters

I would like to disable or modify character protrusion (enabled by microtype) for specific characters. Let me illustrate the issue with the en-dash, which protrudes far too wide for my taste: ...
4
votes
1answer
56 views

Feynman diagrams with feynmf/feynmp - edges of diagram cropped off?

I am trying to create Feynman diagrams with LaTeX/MetaPost and feynmp seems like the perfect package to do so. I had no problems with the tutorial and can generate the diagram itself in .eps without ...
0
votes
1answer
61 views

Change to two columns

I have a paper written in LNCS style. Is there any easy way to convert it to a two-column style? Simply using /two-column doesn't work as the columns are narrow, lines overflow, and it looks terrible ...
7
votes
2answers
78 views

Intelligently Numbering “remarks” only when multiple are made

Problem. I am using the amsthm package, and have remarks after theorems. If there is only one remark between two theorems, the remark should not be numbered. If there are multiple remarks between ...
0
votes
0answers
29 views

Latex chapter numbering [on hold]

I have a thesis with 5 chapters. Latex has suddently started ignoring the chapter command after the second chapter. For all subsequent chapters only the \section counter is incremented. Any ...
0
votes
0answers
38 views

LaTeX - Letter 'f' being swapped with theta symbol

I am rewriting a thesis paper of mine in LaTeX and have been looking around for some good templates. I'm an experienced developer, but have little experience with Tex. Sample Template: ...
2
votes
0answers
8 views

Combined entry column Journaltitle/Booktitle in JabRef

In the JabRef entry table, I’d like to have a column that displays the journaltitle for an @article entry and the booktitle for an @incollection (etc.) entry, rather than having a separate column for ...
6
votes
2answers
60 views

Solution environment via true/false switch

I would like to create a solution environment that prints a solution in the case where an optional argument is set to true (the default) and hides the solution in the case that the argument is false. ...
1
vote
1answer
48 views

What's the better way to include a Tikz sheme into a beamer presentation

I have this Tikz schem Code \documentclass[border=10pt]{standalone} %\usepackage[margin=1cm]{geometry} \usepackage{tikz,xcolor} \usetikzlibrary{shapes.geometric,arrows,positioning,fit,calc,} ...
3
votes
1answer
54 views

How to write sentences in an algorithm in latex?

Hi I am trying to write an algorithm which looks something like the image below: I was wondering how to write the "Step 1 (Update)" and also the rest of the line which says "When an edge e...." ...
1
vote
0answers
50 views

Is LaTeX a context-free grammar? [duplicate]

How can you tell if something is a CFG or not? I am wondering if you could create a math/LaTeX parser using a parsing expression grammar (PEG), or not. Is this possible, and how can you tell?
0
votes
0answers
17 views

write latex code in Lyx for tables

I found this template for a table on TeX.SX: Beautiful table samples The table I would like to reproduce is \documentclass[12pt, oneside, landscape]{memoir} \newif\ifblackandwhite % ...
4
votes
0answers
45 views

Neatly aligning the bib entries by equal signs

Every time someone post biblatex bib-file entries, the various fields (author, title, year, journaltitle, etc) are all neatly aligned with an equal sign-column in the middle. I would like my own ...
1
vote
0answers
36 views

How to add and align figure and texts like that [duplicate]

Please show me how I can do that. And I want to use many times. Help me write a macro so that I can use every time I need. For example, \begin{question} Texts in the question field. ...
1
vote
1answer
46 views

Online journal pages field that is compatible with natbib+bibtex and biblatex+biber?

I want to know how I should properly use the provided page field of an article published in an online journal (such as PLoS Computational Biology). Even though articles published in online journals ...
12
votes
3answers
224 views

Force latex to show a square matrix as square

How can i force latex to print out square matrix as a square matrix with equal width and height in math-mode? I also read amsmath documentation, but don't found any useful help on it. For example ...
2
votes
1answer
43 views

moderncv's casual CV template with oldstyle cover letter

I want to use moderncv's casual CV template with oldstyle cover letter. How can I do this?
7
votes
3answers
4k views

beamer's \only command, equation counter increment does not get retained outside of \only

I've got a problem where I am using beamer's \only command, but within \only, the equation number incrementation doesn't survive. I.e., I'd like to do \only<1>{ \begin{align} equation 1 ...
2
votes
1answer
33 views

Latex longtable not working?

I have some data I have put in Latex in order to make a table for a report. The table would extend over two pages but my longtable code seems not to make it to the second page. The code I am using is ...
3
votes
2answers
60 views

Trying to embed mp4 in a Beamer presentation

Sample document \documentclass{beamer} \usetheme{Amsterdam} \usepackage{media9} \title{TITLE} \author{AUTHOR} \institute{INSTITUTE} \date{DATE} \begin{document} \addtocounter{framenumber}{1} ...
1
vote
1answer
38 views

Change separator of multiple authors in references using BibTeX

I am working on my master thesis and I have problem with citing multiple authors. The separator in pdf is "and", but this is not correct in my language. Is there a simple solution to change this ...

15 30 50 per page