General ⇒ Use LaTeX without learning it
-
- Posts: 29
- Joined: Wed Jul 18, 2012 4:55 pm
Use LaTeX without learning it
Anki (flashcard program) has a built in LaTeX support. Would it be possible to use a program such as LyX to generate LaTeX code and put it in Anki, that way I can postpone/avoid learning LaTeX?
MiKTex 2.9, Texmaker 3.5 on Windows 7
Learning LaTeX for Finance and Actuarial Studies.
Learning LaTeX for Finance and Actuarial Studies.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10347
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Use LaTeX without learning it
Yes, that's possible. You could use LyX as a WYSIWYM tool, export the document as LaTeX code, and copy the relevant LaTeX lines into Anki.
However, I recommend to learn a bit LaTeX. The basic LaTeX, which you would use for short texts on flashcards, is not very hard. You don't need to learn about macro definitions, packages, and classes. I even think, once you have gone the way via export and copy, you have seen and learnt the used LaTeX syntax.
Stefan
However, I recommend to learn a bit LaTeX. The basic LaTeX, which you would use for short texts on flashcards, is not very hard. You don't need to learn about macro definitions, packages, and classes. I even think, once you have gone the way via export and copy, you have seen and learnt the used LaTeX syntax.
Stefan
LaTeX.org admin
-
- Posts: 29
- Joined: Wed Jul 18, 2012 4:55 pm
Use LaTeX without learning it
I have been trying to figure out how to export what I have done in LyX's tutorial so far to Anki, I first exported it has plain LaTeX file. The full code is
If I put the full code in Anki it will give me error, I figure that Anki will only aloud me to use
Is there a way to get font information into Anki because everything look so large.
Code: Select all
%% LyX 2.0.4 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,english]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{amsthm}
\usepackage{amsmath}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
\numberwithin{equation}{section}
\numberwithin{figure}{section}
\makeatother
\usepackage{babel}
\begin{document}
This is my first Lyx document!
\section{This is an introduction to my first Lyx document.}
\section{About This Document.}
Sections and subsections are described below.
\subsection{Section Description }
Sections are bigger than subsections.
\subsection{Subsection description }
Subsections are smaller than sections.
\section{More Stuff.}
Lyx is better than other word processors because
\begin{enumerate}
\item Tysetting is done for you.
\item Math is WYSIWYG
\item Lists are very easy to create!\end{enumerate}
\end{document}
Code: Select all
This is my first Lyx document!
\section{This is an introduction to my first Lyx document.}
\section{About This Document.}
Sections and subsections are described below.
\subsection{Section Description }
Sections are bigger than subsections.
\subsection{Subsection description }
Subsections are smaller than sections.
\section{More Stuff.}
Lyx is better than other word processors because
\begin{enumerate}
\item Tysetting is done for you.
\item Math is WYSIWYG
\item Lists are very easy to create!\end{enumerate}
MiKTex 2.9, Texmaker 3.5 on Windows 7
Learning LaTeX for Finance and Actuarial Studies.
Learning LaTeX for Finance and Actuarial Studies.